Skip to main content

refactoring-pass

Applies Martin Fowler's Refactoring discipline when changing existing code: preserve observable behavior, work in small reversible steps, establish a safety net before risky changes, and remove real structural friction without turning cleanup into a rewrite. Use whenever the user asks to refactor, clean up, restructure, extract a method, split a class, reduce duplication, or prepare code for an upcoming feature — or before/after implementing a feature, when the existing structure makes the change awkward. Trigger on phrases like "refactor this", "clean this up", "this is hard to change", "break this apart", "reduce duplication", or "make this more maintainable". Distilled from Fowler's book via the agent-rules-books project (MIT licensed); references/full-reference.md carries the complete rule set, including the refactoring-move and code-smell catalog, for deep audits.

Aller à l'installation

Informations de source

Dépôt
infinyte/custom_claude_skills
Dernière activité de la source
24 juillet 2026 à 06:32
Langue détectée de SKILL.md
anglais
Étoiles
0
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.