design-patterns

Installation
SKILL.md

Design Patterns

Overview

Design patterns are proven solutions to recurring software design problems. They provide a shared vocabulary for discussing design and capture collective wisdom refined through decades of real-world use.

Core Philosophy: Patterns are templates you adapt to your context, not blueprints to copy. Use the right pattern when it genuinely simplifies your design—not to impress or over-engineer.

Foundational Principles

These principles underpin all good design:

Principle Meaning Violation Symptom
Encapsulate What Varies Isolate changing parts from stable parts Changes ripple through codebase
Program to Interfaces Depend on abstractions, not concretions Can't swap implementations
Composition Over Inheritance Build behavior by composing objects Deep rigid class hierarchies
Loose Coupling Minimize interdependency between objects Can't change one thing without breaking another
Open-Closed Open for extension, closed for modification Must edit existing code for new features
Related skills

More from ratacat/claude-skills

Installs
63
GitHub Stars
40
First Seen
Jan 20, 2026