Design Patterns
Gang of Four patterns (Creational, Structural, Behavioral) and when to apply them.
Install
/plugin marketplace add sethdford/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add sethdford/claude-skills --skill design-patternsgit clone --depth 1 https://github.com/sethdford/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/engineer/implementation-patterns/skills/design-patterns ~/.claude/skills/design-patternsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Design Patterns Proven solutions to recurring design problems. ## Context You are selecting a design pattern for a problem. Understand the tradeoffs of each. ## Domain Context - **Creational**: How to create objects? (Singleton, Factory, Builder, Prototype) - **Structural**: How to compose objects? (Adapter, Bridge, Facade, Proxy, Decorator) - **Behavioral**: How do objects interact? (Observer, Strategy, State, Command, Iterator) ## Instructions 1. **Identify Problem**: What design issue are you facing? 2. **Map to Pattern**: Which pattern solves this? 3. **Understand Intent**: Why does this pattern work? 4. **Consider Tradeoffs**: Complexity, flexibility, testability? 5. **Implement**: Code the pattern; don't memorize, understand 6. **Refine**: Adapt the pattern to your context ## Anti-Patterns - Applying patterns everywhere (pattern obsession); YAGNI - Stacking patterns (Factory + Builder + Proxy); complexity without benefit - Not understanding the pattern before using it; cargo cult programming - Choosing pattern based on name not problem; same name, different intent - Over-engineering simple problems with patterns; sometimes direct code is clearer ## Further Reading - Gang of Four, _Design Patterns_ (the bible) - Eric Freeman & Elisabeth Freeman, _Head First Design Patterns_ - Refactoring.Guru Design Patterns online
Details
- Skill name
design-patterns- Repository
- sethdford/claude-skills
- Path
engineer/implementation-patterns/skills/design-patterns/SKILL.md- License
- MIT
- Repo updated
- 11 March 2026
FAQ
What does the Design Patterns skill do?
Gang of Four patterns (Creational, Structural, Behavioral) and when to apply them.
How do I install the Design Patterns skill?
Claude Code plugin: /plugin marketplace add sethdford/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Design Patterns popular?
It lives in sethdford/claude-skills, which has 48 GitHub stars and 10 forks.
Related skills
A B Test Design
48sethdford/claude-skills
Design rigorous A/B tests with hypotheses, variants, metrics, and sample size calculations.
A B Test Design Pm
48sethdford/claude-skills
Analytics and experimentation skill for product managers.
Abuse Case Design
48sethdford/claude-skills
Design abuse cases (negative use cases) showing how attackers misuse system features. Use when identifying attacks that exploit intended functionality or business logic flaws.
Design Token Audit
48sethdford/claude-skills
Audit design token usage across a product for consistency and coverage.
Defect Prevention
48sethdford/claude-skills
Expert approach to defect-prevention in quality measurement. Use when working with .
Error Handling Patterns
48sethdford/claude-skills
Strategies for handling errors: exceptions, error types, recovery strategies, and error propagation.
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.