architecture-patterns

Guide backend architecture design with Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.

1|Updated Apr 5, 2025
One-click install
npx skills add https://github.com/Artag-Chris/Artagsite --skill architecture-patterns-artag-chris
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/Artag-Chris/Artagsite/tree/main/.agents/skills/architecture-patterns
Command: npx skills add https://github.com/Artag-Chris/Artagsite --skill architecture-patterns-artag-chris

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides teams to design scalable, maintainable backend systems by adopting proven architecture patterns and governance.

Core Features & Use Cases

  • Pattern guidance: Provides explanations and decision criteria for Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.
  • Refactoring support: Aids in migrating monoliths to modular, testable structures.
  • Standards & governance: Helps establish architecture standards and governance for teams.

Quick Start

Clarify domain boundaries and constraints, select a suitable architecture pattern, and outline module boundaries and interfaces to begin.

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 and Hexagonal Architecture for my backend?

Choosing between Clean Architecture and Hexagonal Architecture depends on your domain boundaries and testing needs. This guidance provides decision criteria to select the right architecture pattern and define module boundaries for your specific system constraints.

What is the best way to refactor a monolith using Domain-Driven Design?

Refactoring a monolith using Domain-Driven Design involves identifying domain boundaries first, then selecting a suitable pattern to migrate towards. This approach outlines modular boundaries, defines interfaces, and plans incremental migration steps with validation.

When do I need Domain-Driven Design for my backend system?

You need Domain-Driven Design when your backend system requires clear domain boundaries and strict separation of concerns. It helps establish architecture standards and governance for teams managing complex, scalable systems.

Can I use these architecture patterns to establish backend governance standards?

Yes, you can use these architecture patterns to establish backend governance standards. The guidance helps teams adopt proven patterns like Clean Architecture and Domain-Driven Design to ensure maintainable and scalable system design.

How do I define module boundaries and interfaces during a backend architecture migration?

Defining module boundaries and interfaces during a backend architecture migration requires clarifying domain constraints first. This guidance helps you select an appropriate pattern, outline module boundaries, and plan incremental migration steps with validation.

Why does Clean Architecture help with backend refactoring and scalability?

Clean Architecture helps with backend refactoring and scalability by enforcing dependency inversion and separating domain logic from infrastructure. This pattern guidance aids in migrating monoliths to modular, testable structures and identifying clear domain boundaries.