When you need to clean up messy code but don't want to dig through refactoring catalogs, this skill scans for the usual suspects: long methods over 50 lines, classes pushing 300 lines, nested conditionals three levels deep, magic numbers, and functions with too many parameters. It gives you specific locations, explains what's wrong, and shows before/after code for fixes like Extract Method or Guard Clauses. The structured output format (location, problem, solution, warnings) keeps things practical. It's basically a refactoring checklist that actually shows you the rewrites instead of just naming patterns. Good for getting a second pair of eyes on code that works but smells off.
npx -y skills add laolaoshiren/claude-code-skills-zh --skill refactor-advisor --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
metabase/metabase
github/awesome-copilot
UKGovernmentBEIS/inspect_evals
addyosmani/agent-skills