Refactor Design Patterns

Review existing code or architecture and decide whether a specific design pattern would improve it without overengineering. Use this whenever the user is asking whether a pattern is justified, comparing nearby patterns like Strategy vs State or Adapter vs Facade vs Proxy, or refactoring code with recurring branching, growing state logic, hard-to-extend construction, or inconsistent wrappers. Do not use this for broad system design unless the core question is pattern fit, refactoring shape, or whether a simpler non-pattern refactor is better.

joacod 5ccc023 31 files · 56.3 KB Updated

File contents

joacod/skills/tree/main/skills/refactor-design-patterns commit 5ccc023c26

Frequently asked questions

npx skillmds@latest add joacod/refactor-design-patterns