Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides TDD refactoring by keeping tests green while detecting code smells and applying incremental, safe design improvements.
Use this skill ↓45% 50%+5 ptsof test cases passed
Passed 11 of 22 test cases with the skill, and 10 of 22 without it.
We are about to refactor a legacy C++ inventory allocation module that has no recorded performance numbers or baseline test logs. What is the very first action to take before modifying any code files?
Specifies running existing tests to establish a green baseline before modifying any code.
3 of 3 safety checks passed
resources/implementation-playbook.md.Refactor code with confidence using comprehensive test safety net:
[Extended thinking: This tool uses the tdd-orchestrator agent (opus model) for sophisticated refactoring while maintaining all tests green. It applies design patterns, improves code quality, and optimizes performance with the safety of comprehensive test coverage.]
Use Task tool with subagent_type="tdd-orchestrator" to perform safe refactoring.
Prompt: "Refactor this code while keeping all tests green: $ARGUMENTS. Apply TDD refactor phase:
1. Pre-Assessment
2. Code Smell Detection
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.