test-driven-refactoring
Installation
SKILL.md
Test-Driven Refactoring
Safely refactor code by establishing test coverage first, making incremental changes, and continuously verifying behavior is preserved.
When to Use This Skill
- Refactoring legacy code without adequate tests
- Improving code structure while preserving behavior
- Adding tests to existing code before modification
- Migrating or rewriting systems incrementally
- Reducing risk when changing critical code paths