50 software design patterns with runnable TypeScript examples for Claude Code
npx claudepluginhub keohanoi/design-pattern-skillsComprehensive software design patterns guidance - 50 patterns with runnable TypeScript examples covering creational, structural, behavioral, concurrency, architectural, enterprise, and other patterns
A comprehensive collection of 50 software design patterns with runnable TypeScript examples.
Add this as a plugin marketplace in Claude Code:
/plugin marketplace add https://github.com/keohanoi/design-pattern-skills
Then install:
/plugin install design-pattern-skills@design-pattern-skills
Singleton, Factory Method, Abstract Factory, Builder, Prototype
Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy
Observer, Strategy, Command, State, Chain of Responsibility, Mediator, Memento, Template Method, Visitor, Iterator, Interpreter
Thread Pool, Producer-Consumer, Read-Write Lock, Double-Checked Locking
MVC, MVP, MVVM, Layered, Microservices, Event-Driven, Client-Server, CQRS
Repository, Service Layer, Unit of Work, Dependency Injection, DAO, API Gateway, Circuit Breaker, Retry, Saga
Null Object, Lazy Initialization, Object Pool, Specification, Event Sourcing, Pub-Sub
Skills are automatically triggered when you ask about a pattern:
/review-patterns - Review code for pattern opportunities/recommend-pattern - Get pattern suggestions for a problemEach pattern includes runnable TypeScript examples:
bun run skills/singleton/examples/singleton.ts
bun run skills/circuit-breaker/examples/circuit-breaker.ts
bun run skills/observer/examples/observer.ts
design-pattern-skills/
├── .claude-plugin/
│ ├── plugin.json
│ └── marketplace.json
├── commands/
│ ├── review-patterns.md
│ └── recommend-pattern.md
├── skills/ # 50 patterns
│ ├── singleton/
│ ├── observer/
│ └── ...
├── CLAUDE.md
└── README.md
MIT