architecture-patterns

Guide architectural decisions by evaluating patterns against requirements and trade-offs.

44|9|Updated May 7, 2026
One-click install
npx skills add https://github.com/Omar-Obando/qwen-orchestrator --skill architecture-patterns-omar-obando
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/architecture-patterns
Command: npx skills add https://github.com/Omar-Obando/qwen-orchestrator --skill architecture-patterns-omar-obando

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you design scalable, maintainable system architectures by selecting proven architectural patterns and making trade-offs aligned with your requirements.

Core Features & Use Cases

  • Pattern selection for real systems: layered architecture, microservices, event-driven architecture, CQRS, and feature-sliced design.
  • Architecture decision making: structured decision flow (requirements → alternatives → evaluation → decision) and explicit trade-off analysis (performance, scalability, complexity, cost, and expertise).
  • Cloud and distributed architecture guidance: serverless web and event-driven microservices patterns, including common anti-patterns and “good vs bad” references.

Quick Start

Ask your AI to propose an architecture using CQRS with event-driven components, and to document the trade-offs in an ADR based on your stated functional and non-functional requirements.

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 architecture pattern for a scalable system?

To choose the right architecture pattern, evaluate your functional and non-functional requirements against alternatives like microservices or event-driven design, analyzing trade-offs in performance, scalability, complexity, and cost to document the final architecture approach.

What is the difference between CQRS and event-driven architecture?

CQRS separates read and write operations to optimize scaling, whereas event-driven architecture uses asynchronous events for loose coupling. This architecture decision requires evaluating trade-offs like performance versus complexity based on your specific requirements.

When should I use microservices over layered architecture?

Use microservices over layered architecture when your requirements demand independent deployment and high scalability. This architecture decision involves explicit trade-off analysis of complexity and cost, evaluating both alternatives against your system's needs.

How do I document trade-offs for an architecture decision?

Document trade-offs for an architecture decision by following a structured selection process: map requirements, evaluate alternatives, and analyze trade-offs like performance, scalability, complexity, and cost. Record the resulting architecture approach in an Architecture Decision Record (ADR).

Does DDD bounded contexts work well with serverless cloud architecture?

DDD bounded contexts align well with serverless cloud architecture by defining clear domain boundaries for serverless functions. This architecture decision requires evaluating trade-offs in performance and expertise to ensure the topology fits your requirements.