Part 8
Template Library
Nine templates in three categories: spec-writing (PRD, feature spec, CLAUDE.md), project types (small business site, internal dashboard, API skeleton), and agent crews (Gmail+Calendar, customer scheduling, inventory and reorder). Copy one, adapt it, ship the thing; if the right template doesn't exist yet, see section 9.2.
Start with section 8.1 →- 8.1
Product Requirements Document (prd) Template
TEMPLATEThe one-page brief that tells you and your agent what you're building. Now with the AFD considerations checklist.
- 8.2
Feature Specification Template
TEMPLATEA spec for one feature, written tightly enough for an agent to build it. Now with the AFD check.
- 8.3
Claude.md Template (project Context For Coding Agents)
TEMPLATEThe project-context file every coding-agent project needs on day one. Section 2.6.1 covers what goes in and what stays out.
- 8.4
Small Business Website (one-shot)
TEMPLATEFive pages, a contact form, a domain. Live by Sunday. The full project spec for the agent to build it.
- 8.5
Internal Dashboard (svelte Or React)
TEMPLATEA single-page app for the metrics, reports, or tools your team checks daily. Spec includes the layout, the components, and the API calls.
- 8.6
Rest/graphql Api Project Skeleton
TEMPLATEA backend skeleton for builders who already know which stack they want. FastAPI, JWT auth, money in cents, soft-delete via deleted_at.
- 8.7
Gmail + Calendar Agent (crewai)
TEMPLATEAn agent that reads your inbox, drafts replies, and books meetings on your calendar. Python file, Google auth setup included, human-in-the-loop by default.
- 8.8
Customer Scheduling Agent (small Business)
TEMPLATECustomers book themselves; the agent confirms, reschedules, and reminds. Python file with stub tools you wire to your actual Gmail and calendar.
- 8.9
Inventory And Reorder Agent (restaurant)
TEMPLATEWatches your stock, flags what's running low, and drafts the reorder for you. Python file with sales-to-recipe-to-inventory math built in.