Harness Templates
7 built-in templates. Add during npx buildcrew setup or individually:
npx buildcrew add <name>| Template | Description | Key Agents |
|---|---|---|
erd | Database schema, relationships, indexes, RLS | developer, reviewer |
architecture | System overview, patterns, directory structure | developer, architect, investigator |
api-spec | Endpoints, contracts, auth, rate limits | developer, security-auditor |
design-system | Colors, typography, spacing, components, animation | designer, design-reviewer |
glossary | Domain terms, user roles, status flows | planner, designer, thinker |
user-flow | User journeys, page map, error paths, edge cases | planner, browser-qa, canary-monitor |
env-vars | Environment variables, server-only secrets, environments | developer, security-auditor |
Example: Adding ERD
npx buildcrew add erdCreates .claude/harness/erd.md with a template to fill in:
# ERD
## Tables
### users
| Column | Type | Constraints | Description |
|--------|------|-------------|-------------|
| id | uuid | PK | |
| email | text | unique | |
## Relationships
users 1──* ordersEdit the file to match your actual schema. Agents read it automatically.
Custom Files
Not limited to templates. Create any .md:
echo "# Tech Debt Backlog" > .claude/harness/tech-debt.mdAll agents (especially reviewer, security-auditor, thinker, and architect) will read it.