architecture-patterns-catalog
Reference catalog of proven architecture patterns. Know when to apply each pattern, tradeoffs, and examples. Use as reference when designing systems.
от sethdford★ 51 звезда на GitHub
Установить architecture-patterns-catalog в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Architecture Patterns Catalog
Curated reference of proven patterns with guidance on when and how to apply them.
Context
You are designing a system and want to know proven patterns that solve your problem. Reference catalog of patterns: when to use, tradeoffs, real-world examples.
Domain Context
Based on pattern catalogs (Gang of Four, Enterprise Patterns, Domain-Driven Design):
- Structural Patterns: How components fit together (Adapter, Facade, Bridge)
- Behavioral Patterns: How components interact (Observer, Strategy, State)
- Architectural Patterns: System-level patterns (Microservices, Event-Driven, CQRS)
- Data Patterns: How data flows (ETL, CDC, Event Sourcing)
- Messaging Patterns: How services communicate (Request-Reply, Pub-Sub, Saga)
Pattern Categories with Examples
Communication Patterns:
- Synchronous (Request-Reply): REST, gRPC. Blocking, tight coupling, simple.
- Asynchronous (Pub-Sub): Message broker, events. Loose coupling, eventual consistency.
- Saga Pattern: Distributed transaction across services. Orchestrator vs choreographer.
Data Patterns:
- Event Sourcing: Store events as source of truth. Auditability, temporal queries, replay.
- CQRS: Separate read and write models. Scalability, complexity.
- Polyglot Persistence: Different databases for different workloads. Flexibility, operational complexity.
Resilience Patterns:
- Circuit Breaker: Stop calling failing service, fast-fail. Prevent cascade failure.
- Bulkhead: Isolate resources (threads, connections). One service failure doesn't starve others.
- Retry with Backoff: Retry with exponential backoff. Transient failures recover.
Scalability Patterns:
- Sharding: Partition data across databases. Horizontal scaling, complexity.
- Caching: Cache hot data. Latency, consistency trade-off.
- Load Balancing: Distribute across instances. Horizontal scaling.
Instructions
Identify Problem: What are you trying to solve? Scaling? Reliability? Loose coupling?
Search Catalog: What patterns address this problem?
Evaluate Trade-offs: Benefits vs complexity? Team capability? Do we have the infrastructure?
Choose Pattern(s): Often combine patterns. Saga + Circuit Breaker. Sharding + Replication.
Implement Carefully: Patterns solve some problems, create others. Monitor carefully.
Document: Why you chose this pattern. What trade-offs accepted. What could go wrong.
Anti-Patterns in Pattern Use
- Pattern Memorization Without Understanding: Apply pattern because it's trendy. Result: wrong for problem. Guard: Understand pattern's purpose; ensure problem matches.
- Overusing One Pattern: Everything is microservices or event-driven. Result: wrong tool for job. Guard: Different problems, different patterns.
- Incomplete Implementation: Use circuit breaker but not monitoring. Result: fails silently. Guard: Implement full pattern; test failure scenarios.
- No Evolution Path: Choose pattern, stuck with it forever. Result: outdated, painful. Guard: Design to evolve; refactor when costs exceed benefits.
Further Reading
- Design Patterns: Elements of Reusable Object-Oriented Software by Gang of Four — foundational patterns
- Enterprise Integration Patterns by Gregor Hohpe — messaging and integration patterns
- Building Microservices by Sam Newman — microservice patterns
- Patterns of Enterprise Application Architecture by Martin Fowler — application architecture patterns
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл architecture-patterns-catalog?
Reference catalog of proven architecture patterns. Know when to apply each pattern, tradeoffs, and examples. Use as reference when designing systems.
Как установить скилл architecture-patterns-catalog?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл architecture-patterns-catalog запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…