tdd-red-green-refactor - TDD Red/Green/Refactor Skill for Test-Driven Code Changes
Enforce TDD workflow (red → green → refactor) for any testable code change
Tags
Updated: 2026-02-13Typical Inputs
Typical Outputs
What this skill does
- read code files
- grep for patterns
- glob find files
- edit code files
- write code files
- run bash commands
Inputs
- code repository
- testable code change
- test files
- package.json scripts
Outputs
- test commands executed
- test results
- refactored code
- failing tests
- passing tests
Requirements
- Vitest test framework
- Node.js environment
- Bun runtime
- test dependencies installed
