tdd-workflows-tdd-refactor - Refactor code safely using TDD workflows
Refactors code while keeping tests green by utilizing the tdd-orchestrator subagent.
Tags
Updated: 2026-09-16Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Detect code smells
- Apply design patterns
- Apply SOLID principles
- Perform incremental refactoring
- Optimize code performance
- Verify test safety
Inputs
- Code to refactor
- Implementation playbook resource
Outputs
- Refactored code
- Test results
- Before and after metrics comparison
- Applied refactoring techniques list
- Performance improvement measurements
- Remaining technical debt assessment
Requirements
- Task tool
- tdd-orchestrator subagent with opus model
