Skip to content

Templates Folder

The templates/ folder contains document templates that give every project the same documentation shape. Templates shape output; they do not decide product or architecture by themselves.

Templates are the “what the output should look like” layer. They define the structure for PRDs, ADRs, tasks, reviews, migrations, and releases so agent output is consistent and reviewable.

Templates vs Prompts vs Skills vs Workflows

Section titled “Templates vs Prompts vs Skills vs Workflows”
ConceptWhat It IsExample
TemplatesDocument formats and structures.aios/templates/prd.template.md
PromptsNumbered workflow steps that route the agent.aios/prompts/01-generate-prd.md
SkillsFull operating procedures with detailed process.aios/skills/prd-generator/SKILL.md
WorkflowsMulti-step development sequences.aios/workflows/new-feature.workflow.md

Templates define the output shape. Prompts route the agent to the right template. Skills contain the detailed process. Workflows orchestrate the full sequence.

TemplatePurpose
README.mdOverview of available templates
vision.template.mdProduct vision from discovery
prd.template.mdProduct requirements document
design.template.mdUI/UX design document
architecture.template.mdArchitecture overview
adr.template.mdArchitecture decision record
task.template.mdImplementation task
implementation-plan.template.mdImplementation planning
review-report.template.mdCode review findings
test-plan.template.mdTest strategy and checklist
openapi.template.yamlAPI contract definition
migration-plan.template.mdDatabase migration plan
security-review-report.template.mdSecurity review findings
release-note.template.mdRelease notes
changelog.template.mdChangelog draft

Purpose: Lists available templates and explains their role in the workflow kit.

Generated location: None - informational only.

Related CLI command: None.

Related skill: None.

Review expectation: None - informational only.

Purpose: Structure for capturing the product vision from discovery interviews.

Generated location: <docsRoot>/product/vision.md

Related CLI command: None - filled by agent during product discovery.

Related skill: product-discovery

Review expectation: User must review and approve vision before PRD generation.

Purpose: Structure for product requirements, scope, non-goals, users, and acceptance criteria.

Generated location: <docsRoot>/product/features/<name>.prd.md (via CLI) or <docsRoot>/product/prd.md (via agent)

Related CLI command: aios create feature <name>

Related skill: prd-generator

Review expectation: User must review and approve PRD before architecture.

Purpose: Structure for UI/UX design including user flows, screens, interface states, and accessibility.

Generated location: <docsRoot>/design/<slug>-design.md (via CLI) or <docsRoot>/design/design.md (via agent)

Related CLI command: aios create design <name>

Related skill: ui-ux-design

Review expectation: User must review design before implementation tasks.

Purpose: Structure for architecture overview, constraints, components, and risks.

Generated location: <docsRoot>/architecture/architecture.md

Related CLI command: None - filled by agent during architecture design.

Related skill: architecture-design

Review expectation: User must review architecture before task breakdown.

Purpose: Structure for one architecture decision with context, alternatives, and consequences.

Generated location: <docsRoot>/adr/ADR-XXX-title.md

Related CLI command: aios create adr <name>

Related skill: adr-generator

Review expectation: Records a decision the user has already made.

Purpose: Structure for a small implementation task with acceptance criteria, affected files, and validation.

Generated location: <docsRoot>/tasks/TASK-NNN-<slug>.md

Related CLI command: aios create task <name>

Related skill: task-breakdown

Review expectation: User reviews task list before implementation begins.

Purpose: Structure for planning implementation before coding.

Generated location: Inline or <docsRoot>/tasks/ (associated with task)

Related CLI command: None - filled by agent before implementation.

Related skill: implementation-planner

Review expectation: Plan is reviewed as part of task implementation.

Purpose: Structure for code review findings, evidence, risks, and approval state.

Generated location: <docsRoot>/reviews/review-NNN-<slug>.md

Related CLI command: aios create review <name>

Related skill: code-review

Review expectation: Review findings inform user decision.

Purpose: Structure for test strategy, verification checklist, and validation evidence.

Generated location: <docsRoot>/reviews/ or inline with task

Related CLI command: None - filled by agent during testing.

Related skill: testing

Review expectation: Test evidence supports task completion.

Purpose: Structure for API contract definition with endpoints, schemas, and error handling.

Generated location: <docsRoot>/api/<slug>.openapi.yaml (via CLI) or <docsRoot>/api/<contract>.yaml (via agent)

Related CLI command: aios create openapi <name>

Related skill: api-contract-design

Review expectation: User must review API contract before implementation.

Purpose: Structure for database migration plan, rollback notes, and safety checks.

Generated location: <docsRoot>/database/migrations/

Related CLI command: aios create migration <name>

Related skill: database-migration

Review expectation: User must review migration plan before execution.

Purpose: Structure for security review findings and mitigations.

Generated location: <docsRoot>/security/

Related CLI command: aios create security <name>

Related skill: security-review

Review expectation: Security findings inform user decision.

Purpose: Structure for release summary, validation, rollout, and rollback notes.

Generated location: <docsRoot>/releases/<slug>-release.md (via CLI) or <docsRoot>/releases/release-NNN-<slug>.md (via agent)

Related CLI command: aios create release <name>

Related skill: release-management

Review expectation: User must review and approve before publishing.

Purpose: Structure for changelog draft tracking release history.

Generated location: <docsRoot>/releases/CHANGELOG.md

Related CLI command: aios create release <name>

Related skill: release-management

Review expectation: User reviews changelog as part of release process.