This one walks you through systematic legacy code refactoring without breaking things. It covers the full workflow: assessing complexity hotspots, establishing a test safety net, making incremental changes, modernizing deprecated patterns, and reducing technical debt. The reference guides include practical examples for each phase. What I appreciate is the emphasis on atomic commits and frequent test runs rather than attempting risky big-bang rewrites. It won't magically fix your mess overnight, but if you're stuck maintaining a codebase that predates half your team, it gives you a structured approach to chip away at technical debt while keeping production stable.
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill refactor-legacy-code