// Guide AI agents through Specification-Driven Development (SDD) + Test-Driven Development (TDD) integrated workflow. Use when implementing complex features, making architectural decisions, or conducting large-scale refactoring that requires clear specifications and test-first development.
| name | sdd-tdd-workflow |
| description | Guide AI agents through Specification-Driven Development (SDD) + Test-Driven Development (TDD) integrated workflow. Use when implementing complex features, making architectural decisions, or conducting large-scale refactoring that requires clear specifications and test-first development. |
This skill guides AI agents through a comprehensive Specification-Driven Development (SDD) and Test-Driven Development (TDD) integrated workflow: Spec → Test → Code (STC).
The workflow ensures:
Apply this workflow based on task complexity:
| Task Type | Apply Workflow |
|---|---|
| Complex new features | ✅ Full SDD+TDD |
| Simple new features | ⚠️ TDD only (skip RFC) |
| Technical decisions | ✅ ADR + TDD |
| Bug fixes | ⚠️ TDD only |
| Large-scale refactoring | ✅ RFC + TDD |
| Small-scale refactoring | ⚠️ TDD only |
Use this skill when:
Spec → Design Review → Test → Code → Verify → Iterate
Goal: Define what to build and why.
Choose document type:
Key sections to complete:
Location: docs/specs/rfcs/ or docs/specs/adrs/
Goal: Analyze spec and create implementation plan.
Key Activities:
Outputs:
Goal: Derive test cases from specifications to define success criteria.
Steps:
Format: Given-When-Then structure
Goal: Implement using Red-Green-Refactor cycle.
TDD Cycle:
Repeat for each function/feature.
Goal: Ensure implementation meets spec and quality standards.
Checklist:
Goal: Incorporate feedback and update specs as needed.
Steps:
Example prompts:
"Implement the sync command using SDD+TDD workflow from RFC-0001"
"Create an ADR for choosing the configuration format, then implement with TDD"
"Follow SDD+TDD workflow to add user authentication feature"
full_workflow.md - Comprehensive workflow documentation including:
When to load: When detailed guidance is needed for a specific phase, when implementing a complex feature for the first time, or when teaching the workflow to new team members.
Quick Reference:
| Need | Action |
|---|---|
| Start new feature | RFC → Design Review → Tests → TDD implement |
| Make tech decision | ADR → Design Review → Tests → TDD implement |
| Understand phases | Read references/full_workflow.md |
| Get examples | See "실전 예제" section in full_workflow.md |
| Use checklist | Find phase checklists in full_workflow.md |