What problem does it solve?
Use when object creation is the source of pain — constructors growing too complex, the same setup repeated, unclear which concrete type to instantiate, or a shared instance causing hidden coupling. This Skill covers all 5 GoF creational patterns: Singleton, Builder, Factory Method, Abstract Factory, Prototype.
Core Features & Use Cases
- Understand and apply the five creational patterns to separate construction logic from usage.
- Identify scenarios where you need a single shared instance, controlled object creation, or families of related products.
- Real-world example: selecting a creational pattern to tailor object creation to your domain, improving testability and maintainability.
Quick Start
Implement a small example illustrating how to apply one creational pattern (Singleton, Builder, Factory Method, Abstract Factory, or Prototype) to a given object in your language of choice.