This runs a systematic code smell audit based on Martin Fowler's refactoring catalog, scanning for bloaters, duplicated code, high coupling, nested conditionals, and DRY violations. It produces a prioritized markdown report saved to docs/_refacs/ with concrete before/after sketches and effort estimates. The scope is surprisingly thorough: it gates SOLID analysis to domain-driven projects only (smart), maps coupling between modules, and includes a reference catalog of smells and techniques. Use this when prepping for a refactoring sprint or doing quarterly code health reviews. It won't catch performance issues or security problems, just structural debt. The priority scoring by impact, frequency, and effort is the most useful part, turning a laundry list into an actual work plan.
npx skills add https://github.com/pedronauck/skills --skill refactoring-analysis