Composite Pattern Implementor
Design PatternsDesign Patterns
Implement the Composite pattern to compose objects into tree structures representing part-whole hierarchies, letting clients treat individual objects and compositions uniformly. Use when building file systems, UI component trees, organization charts, document structures, or any recursive containment hierarchy. Addresses 9 implementation concerns including the safety-vs-transparency trade-off for child management, parent references, component sharing, caching, and child ordering.
Install
1. Add marketplace
› /plugin marketplace add bookforge-ai/bookforge-skills
2. Install plugin
› /plugin install design-patterns-gof@bookforge-skills
3. Use the skill
› /composite-pattern-implementor
CC-BY-SA · Open sourceGitHub
