tdd-workflows-tdd-refactor - TDD Refactor Workflow
Refactor code while keeping tests green using the TDD refactor process and tdd-orchestrator subagent.
Tags
Updated: 2026-09-17What this skill does
- Detect code smells
- Apply design patterns
- Apply SOLID principles
- Optimize performance
- Verify test safety
- Revert failing changes
Inputs
- Code to refactor
- Existing test suite
- Implementation playbook resource
Outputs
- Refactored code
- Test results
- Before and after metrics comparison
- Applied refactoring techniques list
- Performance improvement measurements
- Technical debt assessment
Requirements
- Task tool
- tdd-orchestrator subagent
- Opus model
