# Templates

**Templates** are output artifact scaffolds and interaction contracts deployed to
user projects. They shape how agents and humans produce consistent output across
missions.

## Subdirectories

| Directory | Purpose |
|-----------|---------|
| `architecture/` | Architectural design document templates (ADRs, stakeholder personas, user journeys) |
| `command-templates/` | Prompt files for `/spec-kitty.*` slash commands |
| `sets/` | Named bundles grouping related templates for coordinated deployment |
| `structure/` | Structural mapping templates (REPO_MAP, SURFACES) for repository orientation |
| `triage/` | Issue triage interaction templates (agent briefs, out-of-scope records) |

## Top-Level Templates

| File | Purpose |
|------|---------|
| `AGENTS.md` | Agent behavioral rules (path references, encoding, git discipline) |
| `agent-file-template.md` | CLAUDE.md-style project guidelines scaffold |
| `checklist-template.md` | Review/acceptance checklist scaffold |

Mission content templates live under `src/doctrine/missions/<mission>/templates/`.

## Glossary Reference

See [Template Set](../../../glossary/contexts/doctrine.md#template-set) in the
doctrine glossary context.
