refactor-design-patterns
Installation
SKILL.md
Refactor Design Patterns
Use this skill to make design-pattern suggestions practical, incremental, and grounded in the code that already exists.
Start with references/refactoring-workflow.md.
Use references/catalog.md to route by problem type:
references/creational/index.mdfor creation and configuration problemsreferences/structural/index.mdfor composition, wrapping, interoperability, or simplification problemsreferences/behavioral/index.mdfor control flow, runtime behavior, communication, or orchestration problems
Use references/agent-mappings.md only when an AI-agent analogy would clarify the recommendation.
Working style
Anchor every recommendation in the current codebase and the user's actual pain points.
Prefer the smallest useful refactor. The goal is not to force a pattern into the design; the goal is to decide whether a pattern makes the code easier to change, easier to test, or easier to understand.