Install any skill in seconds. Free to start, no credit card required.
Get Started Free →nwave-ai/nw-progressive-refactoring
Progressive L1-L6 refactoring hierarchy, 22 code smell taxonomy, atomic transformations, test code smells, and Fowler refactoring catalog
Passed 16 of 21 test cases with the skill, and 10 of 21 without it.
and 7 more in the full report
9 fixed8 passed either way3 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
We have a middle-man class in our service layer that simply delegates calls to a backend client without adding behavior. Which atomic refactoring technique eliminates this unnecessary middle-man delegation?
| Checked | Without skill | With skill |
|---|---|---|
| The response identifies Inline as the primary atomic transformation to eliminate middle man delegators. | Missed | Passed |
The instructions your model reads when the skill loads.
Based on the Refactoring Priority Premise (RPP) from the Alcor Academy curriculum.
Execute levels in mandatory sequence. Lower levels before higher.
Focus: eliminate clutter, improve naming, remove dead code. Smells: Dead Code | Comments (how-comments) | Speculative Generality | Lazy Class. Transformations: Rename | Extract (variables/constants) | Safe Delete. Impact: 80% of readability improvement value. Test smells: Obscure Test | Hard-Coded Test Data | Assertion Roulette.
Focus: method extraction, duplication elimination. Smells: Long Method | Duplicate Code | Complex Conditionals. Transformations: Extract (methods) | Move (common code). Impact: 20% additional readability improvement. Test smells: Eager Test | Test Code Duplication | Conditional Test Logic.
Focus: class responsibilities, coupling reduction. Smells: Large Class | Feature Envy | Inappropriate Intimacy | Data Class | Divergent Change | Shotgun Surgery. Transformations: Move | Extract (classes). Test smells: Test Class Bloat | Mystery Guest | General Fixture.
Focus: parameter objects, value objects, abstractions. Smells: Long Parameter List | Data Clumps | Primitive Obsession | Middle Man. Transformations: Extract (objects) | Inline | Move.
Focus: Strategy | State | Command patterns. Smells: Switch Statements | complex state-dependent behavior. Transformations: Extract (interfaces) | Move (to polymorphic structure).
Focus: SOLID principles, architectural patterns.
test cases passed, vs 10 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.