Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ciembor/refactoring
Apply Martin Fowler-inspired refactoring rules when improving existing code structure while preserving observable behavior.
Passed 15 of 24 test cases with the skill, and 5 of 24 without it.
and 9 more in the full report
10 fixed5 passed either way9 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
We need to simplify a complex conditional ladder in a C balance calculation function. What file contains the mini rules for this refactoring?
| Checked | Without skill | With skill |
|---|---|---|
| Names refactoring.mini.md as the initial guidance source | Missed | Passed |
The instructions your model reads when the skill loads.
Use this skill when a task involves behavior-preserving code improvement, code smells, small refactoring steps, test-backed cleanup, or separating refactoring from feature changes.
Before making design or code decisions, read and apply refactoring.mini.md. Use refactoring.md only as a deeper reference when the mini rules are not enough for the current refactoring tradeoff.
test cases passed, vs 5 / 24 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.