architecture-patterns

Select architecture patterns for systems using trade-off criteria and verification checklists.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/Alteriom/ai-dev-skills --skill architecture-patterns-alteriom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/Alteriom/ai-dev-skills/tree/main/skills/architecture-patterns
Command: npx skills add https://github.com/Alteriom/ai-dev-skills --skill architecture-patterns-alteriom

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Selecting an architecture pattern is hard: teams must balance tradeoffs between scalability, maintainability, and complexity while preserving flexibility for future evolution.

Core Features & Use Cases

  • Pattern Catalog: Layered Architecture, Hexagonal Architecture, CQRS, and Event Sourcing with practical examples.
  • Guided Decision Making: Clear criteria and tradeoffs to choose the most appropriate pattern for a given context.
  • Integration & Validation: References to related skills and external catalogs to validate architectural choices, plus concrete use-case templates.

Quick Start

Identify your project’s primary challenges (scalability, testability, and deployment strategy) and select a pattern (Layered, Hexagonal, CQRS, or Event Sourcing) to begin documenting boundaries and adapters.

Frequently Asked Questions about architecture-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose the right software architecture pattern for my system's constraints?

To select an architecture pattern, identify your project's primary challenges like scalability, testability, or deployment strategy. This Skill provides guided decision-making criteria and tradeoff documentation to help you choose between Layered, Hexagonal, CQRS, and Event Sourcing architectures.

When should I use hexagonal architecture over a standard layered architecture?

Use hexagonal architecture over layered architecture when clear boundary definitions and testability are critical. This Skill documents the specific tradeoffs and selection criteria to help you decide if hexagonal's adapter flexibility outweighs layered architecture's simplicity for your context.

What is the best way to apply CQRS and event sourcing to distributed microservices?

Applying CQRS and event sourcing to distributed microservices involves defining clear boundaries for command and query separation. This Skill provides practical examples and use-case templates to guide design decisions, governance, and evolution for distributed systems.

Does this architecture pattern selection process work for simple monoliths?

Yes, the architecture pattern selection process works for simple monoliths. This Skill explicitly covers projects ranging from simple monoliths to distributed microservices, ensuring you can validate architecture choices across different scales using the provided verification checklist.

How do I validate my architecture choices after selecting a design pattern?

You validate architecture choices by applying the provided verification checklist to confirm pattern fit. This Skill satisfies requirements for documented trade-offs, clear boundary definitions, and integration references to external catalogs to concretely validate your architectural decisions.