tdd-workflow - Enforce test-driven development with coverage evidence
Guides feature work, bug fixes, and refactoring through user journeys, tests-first implementation, validation, coverage checks, and evidence reporting.
Tags
Updated: 2026-10-04test-driven developmentsoftware testingcode coverageunit testingintegration testingend-to-end testingGit workflow
Capabilities
Typical Outputs
What this skill does
- Define user journeys
- Generate comprehensive test cases
- Validate RED test state
- Implement minimal fixes
- Validate GREEN test state
- Refactor tested code
- Verify test coverage
- Write TDD evidence reports
Inputs
- Source code repository
- Feature or bug requirements
- Implementation plan path
- Project test commands
- Project validation conventions
Outputs
- Production code changes
- Unit tests
- Integration tests
- End-to-end tests
- Coverage results
- Git checkpoint commits
- TDD evidence report
Requirements
- A runnable project test environment
- Permission to modify project files
- Permission to run approved validation commands
- Git repository for checkpoint commits
- Playwright support for E2E tests
