This is a comprehensive TDD refactoring workflow that uses Claude's Opus model as a subagent orchestrator to safely transform code while keeping tests green. It walks through the full refactor phase: detecting code smells, applying design patterns and SOLID principles, optimizing performance, and making incremental changes with test verification at each step. The skill includes specific techniques like extract method, introduce parameter objects, and advanced patterns like Strangler Fig for legacy code. What stands out is the safety focus: it requires a green baseline before starting, runs tests after every change, and includes a rollback protocol if anything breaks. Best used when you have solid test coverage and want to improve code quality without introducing regressions.
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill tdd-workflows-tdd-refactor