design-patterns
Recognizes, chooses, applies and removes design patterns and anti-patterns in any language, using Head First Design Patterns, Applying UML and Patterns (GRASP) and Agile Principles, Patterns, and Practices. Use whenever someone asks which pattern fits, whether one is overkill, which class should own a responsibility, or how to explain one, or when growing conditionals, object creation or notification logic might call for one, even if they never name a pattern. Covers Strategy, Factory, Observer, Decorator, Adapter, Command, State, Repository, functional equivalents, and "qué patrón uso", "explicame Observer", "quién debería hacer esto" and "es sobreingeniería este patrón". For system-level structure use the architect agent. Not a reason to add a pattern if plain code is enough.
Pinned to revision 15e0e74e186c, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/design-patterns/SKILL.md
- skills/design-patterns/evals/pattern-for-two-rules/case.yaml
- skills/design-patterns/evals/pattern-for-two-rules/files/shipping.py
- skills/design-patterns/evals/pattern-for-two-rules/graders/01-critical-proportion.md
- skills/design-patterns/evals/pattern-for-two-rules/graders/02-signal.md
- skills/design-patterns/evals/pattern-for-two-rules/graders/03-cost.md
- skills/design-patterns/evals/pattern-for-two-rules/graders/04-pattern-accurate.md
- skills/design-patterns/evals/pattern-for-two-rules/graders/05-respect.md
- skills/design-patterns/evals/pattern-for-two-rules/prompt.md
- skills/design-patterns/references/behavioral.md
- skills/design-patterns/references/beyond-gof.md
- skills/design-patterns/references/compound.md
- skills/design-patterns/references/creational.md
- skills/design-patterns/references/principles.md
- skills/design-patterns/references/structural.md
Every link opens the file at its source, pinned to the revision this page describes.