This skill provides comprehensive architectural guidance on implementing the five classic Gang of Four creational design patterns: Abstract Factory, Builder, Factory Method, Prototype, and Singleton. It assists developers in abstracting the instantiation process, making software systems independent of how their objects are created, composed, and represented. By offering structured implementation patterns and specific decision criteria, the skill ensures that codebases remain maintainable, scalable, and decoupled from concrete class implementations, while also addressing modern concerns like thread safety and testability.
Key Features
01Detection and mitigation strategies for common creational anti-patterns
020 GitHub stars
03Decision logic to select the optimal pattern for specific architectural requirements
04Modern code templates for Builder, Factory, and Singleton implementations
05Structured implementation guides for all five GoF creational patterns
06Guidance on deep-cloning and thread-safe object instantiation