design-patterns
Installation
SKILL.md
Design Patterns
Use this skill when
- Choosing patterns to solve common design problems
- Refactoring toward proven structures
- Explaining the trade-offs of patterns
Do not use this skill when
- A simpler idiomatic solution exists
- You are teaching (refer to authoritative sources)
Instructions
- Identify the problem before choosing a pattern.
- Match the pattern to the problem: creation, structure, behavior.
- Note the pattern trade-offs and alternatives.
- Ensure the pattern earns its complexity.
- Prefer language-idiomatic solutions where they replace a pattern.
- Implement with clear names that reveal pattern intent.