tdd-workflow
Installation
SKILL.md
Test-Driven Development Workflow
This skill ensures all code development follows TDD principles with comprehensive test coverage.
Agent counterpart: Use the
tdd-guideagent for interactive, step-by-step TDD guidance during feature development. This skill provides the reference patterns and examples; the agent enforces the workflow.
When to Activate
- Writing new features or functionality
- Fixing bugs or issues
- Refactoring existing code
- Adding API endpoints
- Creating new components
- Setting up coverage thresholds in CI to enforce the 80%+ minimum
- Reviewing a PR where tests were written after the implementation (anti-pattern)
- Onboarding a developer who is unfamiliar with the Red-Green-Refactor cycle