Install any skill in seconds. Free to start, no credit card required.
Get Started Free →fradser/refactor-project
Executes automated project-wide refactoring with a focus on cross-file optimization. This skill should be used when the user asks for project-wide refactoring, cross-file simplification, consistency standardization across the codebase, duplication reduction, or invokes "/refactor-project".
Passed 14 of 21 test cases with the skill, and 10 of 21 without it.
and 5 more in the full report
7 fixed9 passed either way6 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
What command should be provided in the final report if the developer wants to revert all worktree and staged modifications back to the recorded starting point?
| Checked | Without skill | With skill |
|---|---|---|
| Provides git restore --worktree --staged . rollback command | Missed | Passed |
The instructions your model reads when the skill loads.
Execute automated project-wide refactoring using refactor:code-simplifier agent with cross-file optimization focus.
Goal: Ensure project-wide execution is explicit and reproducible.
Actions:
git rev-parse --is-inside-work-tree; if false, inform user that project-wide mode requires a git workspacegit rev-parse --short HEAD and include it in final summary for rollback contextGoal: Discover all code files and display scope summary.
Actions:
node_modules/, .git/, dist/, build/, vendor/, .venv/See references/scope-analysis.md for exclusion patterns and edge cases.
Goal: Execute refactor:code-simplifier agent with project-wide scope and cross-file focus.
Actions:
refactor:code-simplifier agent with all discovered code filesrefactor:best-practices skill and applies language-specific patternsSee references/agent-configuration.md for detailed Task parameters.
Goal: Report comprehensive summary of project-wide changes.
Actions:
test cases passed, vs 10 / 21 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.