tdd-red-green-refactor - Enforce TDD Red Green Refactor Workflow for Testable Code Changes
Enforces TDD workflow (red → green → refactor) for any code change that should be covered by tests
Tags
Updated: 2026-02-12Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Read source code
- Grep test files
- Glob find tests
- Edit test files
- Write new tests
- Run test commands
- Refactor code
- Report test results
Inputs
- Code changes
- Test framework
- Source code
- Test files
Outputs
- Failing test reports
- Passing test reports
- Refactored code
- Test command logs
Requirements
- Vitest test framework
- Turborepo environment
- Bun runtime
- Read access to codebase
- Write access to test files
- Bash execution capability
