Agent skill
spec-driven-tdd-workflow
A workflow that drives development from requirements refined into observable behaviors (AC/EC) through requirement definition → design → implementation planning → TDD (Red/Green/Refactor) implementation → reporting → commit. Apply to tasks that execute based on `.spec-dock/current/*.md`.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/spec-driven-tdd-workflow
SKILL.md
Spec-driven TDD Workflow
- Open
.spec-dock/docs/spec-dock-guide.mdfirst, and follow it for the rest of the workflow. - Create/update
.spec-dock/current/requirement.md,.spec-dock/current/design.md,.spec-dock/current/plan.md, and.spec-dock/current/report.mdto maintain traceability from requirements → design → plan → implementation. - Put investigation/interview materials in
.spec-dock/current/discussions/(prefer Markdown; embed diagrams with PlantUML; organize freely). - Keep user interviews/questions short and prioritized. For each question, include answer candidates (options) and your recommended choice based on analysis/simulation to reduce cognitive load.
- Implement each step in
.spec-dock/current/plan.mdas one observable behavior via TDD (Red → Green → Refactor). - Record commands/results/changes/decisions in
.spec-dock/current/report.mdper session, andgit commitat the end of the phase.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?