patterns-structural

Community

Shape software with classic structural patterns.

Authorbricerising
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Structural design patterns provide proven templates to wrap and compose objects, reducing tight coupling and increasing system flexibility.

Core Features & Use Cases

  • Adapter: make incompatible interfaces work together.
  • Bridge: decouple abstraction from implementation to vary independently.
  • Composite: treat trees of objects uniformly; traverse and aggregate.
  • Decorator: add responsibilities via wrappers without subclass explosion.
  • Facade: simplify complex subsystems behind a single, stable interface.
  • Flyweight: share intrinsic state to reduce memory usage.
  • Proxy: implement lazy loading, caching, or access control.

Use cases include building UI component trees, migrating legacy APIs behind adapters, and orchestrating subsystems with stable boundaries.

Quick Start

Create a small TypeScript example that demonstrates a leaf and composite structure together with an Adapter wrapping a legacy interface.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: patterns-structural
Download link: https://github.com/bricerising/enterprise-software-playbook/archive/main.zip#patterns-structural

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.