architecture-patterns

Design backend systems by applying architecture patterns to define module boundaries and migration steps.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/tomasbasso/SistemaStockV2 --skill architecture-patterns-tomasbasso
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/tomasbasso/SistemaStockV2/tree/main/.agents/skills/patrones-arquitectura-backend
Command: npx skills add https://github.com/tomasbasso/SistemaStockV2 --skill architecture-patterns-tomasbasso

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Architecture design is hard; this skill provides structured patterns to guide backend decisions, enabling maintainable and scalable systems across teams.

Core Features & Use Cases

  • Pattern selection: Choose between Clean Architecture, Hexagonal Architecture, and Domain-Driven Design based on domain complexity and team structure.
  • Module boundaries & interfaces: Define clear component boundaries and dependency rules to enable testability and independent deployments.
  • Migration guidance: Provide step-by-step migration and refactoring plans for both greenfield and legacy systems.

Quick Start

Clarify domain boundaries, select an architecture pattern, and draft module boundaries and migration steps.

Frequently Asked Questions about architecture-patterns

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

FAQPage Schema
How do I choose between Clean Architecture, Hexagonal Architecture, and Domain-Driven Design for my backend?

Choose an architecture pattern by evaluating domain complexity and team structure. Clean Architecture, Hexagonal Architecture, and Domain-Driven Design provide distinct boundaries and dependency rules to ensure testability and independent deployments across scalable systems.

What is the best way to define module boundaries and interfaces for scalable backend systems?

Defining module boundaries and interfaces requires establishing clear component limits and dependency rules. This architecture approach enables testability and independent deployments while ensuring maintainable codebases across complex domains and multiple development teams.

How do I refactor a legacy monolith using proven backend architecture patterns?

Refactoring a legacy monolith involves applying structured architecture patterns with step-by-step migration guidance. This process defines domain boundaries, establishes module interfaces, and validates migration steps to transition legacy systems into maintainable, scalable backend architectures.

When do I need Domain-Driven Design for backend architecture?

You need Domain-Driven Design when backend architecture must handle complex domains across multiple teams. This pattern selection clarifies domain boundaries and defines module interfaces to create maintainable, scalable codebases for intricate software engineering requirements.

Does this approach work for both greenfield design and refactoring existing monoliths?

Yes, this architecture pattern approach works for both greenfield design and refactoring existing monoliths. It provides migration guidance and pattern selection across complex domains and teams, satisfying requirements for domain boundaries, module definitions, and migration validation.