architecture-patterns

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

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Theopsguide/claude-agents --skill architecture-patterns-theopsguide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/Theopsguide/claude-agents/tree/main/plugins/backend-development/skills/architecture-patterns
Command: npx skills add https://github.com/Theopsguide/claude-agents --skill architecture-patterns-theopsguide

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) and references (resource) components.

What problem does it solve?

This Skill guides you in implementing proven backend architecture patterns like Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. It solves the problem of building tightly coupled, untestable, and hard-to-maintain systems by promoting clear separation of concerns and technology independence, ensuring your applications are built for longevity and adaptability.

Core Features & Use Cases

  • Clean Architecture: Structure your application with clear layers, ensuring business logic is independent of frameworks and databases.
  • Hexagonal Architecture: Design systems with "ports and adapters" for easy swapping of infrastructure components and enhanced testability.
  • Domain-Driven Design (DDD): Apply strategic and tactical patterns to model complex business domains effectively.
  • Use Case: Refactor a monolithic application into a more modular, testable, and maintainable system, preparing it for future microservices decomposition.

Quick Start

Example: Clean Architecture - User Entity

from dataclasses import dataclass from datetime import datetime

@dataclass class User: """Core user entity - no framework dependencies.""" id: str email: str name: str created_at: datetime is_active: bool = True

def deactivate(self):
    self.is_active = False