Prototype

Teach and apply the Prototype pattern to copy existing objects through a cloning interface without coupling client code to concrete classes. Use when users ask about Prototype or Clone, replacing repeated initialization with preconfigured instances, handling copy semantics, or comparing Prototype with Factory Method, Builder, or Memento.

mdadul Updated

File contents

mdadul/agent-skills/tree/main/skills/design-pattern/creational/prototype commit 8552579999

Frequently asked questions

npx skillmds@latest add mdadul/prototype