📖 日本語ガイドはこちら: 仕様駆動開発ガイド (日本語)
This document explains how cc-sdd implements Spec-Driven Development (SDD) inside the AI-Driven Development Life Cycle (AI-DLC). Use it as a reference when deciding which slash command to run, what artifact to review, and how to adapt the workflow to your team.
- Steering (Context Capture) –
/kiro:steeringand/kiro:steering-customgather architecture, conventions, and domain knowledge into steering docs. - Spec Initiation –
/kiro:spec-init <feature>creates the feature workspace (.kiro/specs/<feature>/). - Requirements –
/kiro:spec-requirements <feature>collects clarifications and producesrequirements.md. - Design –
/kiro:spec-design <feature>first emits/updatesresearch.mdwith investigation notes (skipped when no research is needed), then yieldsdesign.mdfor human approval. - Task Planning –
/kiro:spec-tasks <feature>createstasks.md, mapping deliverables to implementable chunks and tagging each wave withP0,P1, etc. so teams know which tasks can run in parallel. - Implementation –
/kiro:spec-impl <feature> <task-ids>drives execution and validation. - Quality Gates – optional
/kiro:validate-gapand/kiro:validate-designcommands compare requirements/design against existing code before implementation. - Status Tracking –
/kiro:spec-status <feature>summarises progress and approvals.
Need everything in one pass?
/kiro:spec-quick <feature>orchestrates steps 2–5 with Subagent support, pausing for approval after each phase so you can refine the generated documents.
Each phase pauses for human review unless you explicitly bypass it (for example by passing -y or the CLI --auto flag). Because Spec-Driven Development relies on these gates for quality control, keep manual approvals in place for production work and only use auto-approval in tightly controlled experiments. Teams can embed their review checklists in the template files so that each gate reflects local quality standards.
| Command | Purpose | Primary Artefact(s) |
|---|---|---|
/kiro:steering |
Build / refresh project memory | .kiro/steering/*.md |
/kiro:steering-custom |
Add domain-specific steering | .kiro/steering/custom/*.md |
/kiro:spec-init <feature> |
Start a new feature | .kiro/specs/<feature>/ |
/kiro:spec-requirements <feature> |
Capture requirements & gaps | requirements.md |
/kiro:spec-design <feature> |
Produce investigation log + implementation design | research.md (when needed), design.md |
/kiro:spec-tasks <feature> |
Break design into tasks with parallel waves | tasks.md (with P-labels) |
/kiro:spec-impl <feature> <task-ids> |
Implement specific tasks | Code + task updates |
/kiro:validate-gap <feature> |
Optional gap analysis vs existing code | gap-report.md |
/kiro:validate-design <feature> |
Optional design validation | design-validation.md |
/kiro:spec-status <feature> |
See phase, approvals, open tasks | CLI summary |
- Templates – adjust
{{KIRO_DIR}}/settings/templates/{requirements,design,tasks}.mdto mirror your review process. cc-sdd copies these into every spec. - Approvals – embed checklists or required sign-offs in template headers. Agents will surface them during each phase.
- Artifacts – extend templates with additional sections (risk logs, test plans, etc.) to make the generated documents match company standards.
- Greenfield – if you already have project-wide guardrails, capture them via
/kiro:steering(and/kiro:steering-custom) first; otherwise start with/kiro:spec-initright away and let steering evolve as those rules become clear. - Brownfield – start with
/kiro:validate-gapand/kiro:validate-designto ensure new specs reconcile with the existing system before implementation.