pedronauck/skills
Refactoring Analysis
3 430e sur 4 265 skills du métier Développement, par installations. Dans l'annuaire depuis le 18 novembre 2026.
Description
Réalise un audit systématique des mauvaises pratiques de code d'après le catalogue de refactoring de Martin Fowler, en cherchant les blocs trop volumineux, le code dupliqué, le fort couplage, les conditions imbriquées et les violations de DRY. Produit un rapport markdown priorisé.
Voir la description originale (anglais)
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.
Installer le skill
- 1Copiez la commande d'installation (bouton Copier, en haut de la fiche).
- 2Lancez-la dans un terminal, sur la machine où vous utilisez Claude Code.
- 3Demandez la tâche à Claude comme d'habitude : il charge le skill quand la demande s'y prête.