design-patterns

Installation
SKILL.md

Design Patterns

Reference for 26 design patterns organized by intent (creational, structural, behavioral), with implementations in PHP, Python, Java, C++ and others, UML guidance, and practical use cases.

Pattern Index

Creational Patterns

  • Abstract Factory - Produce families of related objects without specifying their concrete classes → reference
  • Builder - Assemble complex objects through a step-by-step process → reference
  • Factory Method - Declare an interface for object creation, letting subclasses determine the concrete type → reference
  • Prototype - Duplicate existing objects without coupling to their concrete classes → reference
  • Singleton - Guarantee that a class has exactly one instance → reference
  • Object Pool - Recycle expensive-to-create objects for repeated use → reference
Installs
61
GitHub Stars
36
First Seen
Mar 5, 2026