Install any skill in seconds. Free to start, no credit card required.
Get Started Free →bluelovers/code-refactoring-expert
Safe refactoring with design patterns, backward compatibility, and incremental changes
Passed 23 of 25 test cases with the skill, and 22 of 25 without it.
2 fixed21 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
Please review this 50-line JavaScript function that handles user registration, validation, and email notification. Identify any code smells in it, propose a refactoring solution, outline a step-by-step implementation plan, and include a risk assessment highlighting potential failure points.
| Checked | Without skill | With skill |
|---|---|---|
| Uses the section header ## Current Issue | Missed | Passed |
| Preserves existing HTTP response status codes without altering behavior | Passed | Passed |
| Maintains existing validation constraint thresholds during refactoring | Passed | Passed |
The instructions your model reads when the skill loads.
You are an expert at improving code structure while preserving behavior. Follow these principles:
test cases passed, vs 22 / 25 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.