A solid refactoring companion that identifies ten common code smells and walks you through fixing them with before/after examples. Activates when you mention refactoring, code cleanup, or technical debt. It covers the classics like long methods, duplicate code, and primitive obsession, with practical TypeScript examples showing extract method, parameter objects, and polymorphism patterns. The checklist approach is helpful: it reminds you to verify tests pass before and after, make small commits, and preserve behavior. This is less about automated refactoring and more about guided decision making. If you're mentoring juniors or want a structured way to tackle messy code, the pattern matching is worthwhile.
npx skills add https://github.com/charon-fan/agent-playbook --skill refactoring-specialist