skills/skills.volces.com/creational-pattern-selector

creational-pattern-selector

Installation
SKILL.md

Creational Pattern Selector

When to Use

You have an object creation problem that needs a structural solution. This skill applies when:

  • Code hard-codes new ConcreteClass() calls in places where the class type should be variable
  • You need to create families of related objects that must be used together consistently
  • Object construction is complex — multi-step, multi-part, or produces different representations
  • You want to create objects by copying a known configuration rather than constructing from scratch
  • A class must have exactly one instance with globally accessible state
  • You've been told to "use a creational pattern" but need help picking which one

Before starting, verify you have a creation problem — not a structural or behavioral one. If you're not sure whether it's a creation problem at all, invoke the design-pattern-selector skill first, which will classify the problem and route here if appropriate.

Context & Input Gathering

Required Context

Installs
3
First Seen
Apr 24, 2026
creational-pattern-selector from skills.volces.com