architecture-patterns

Apply Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to backend systems.

3|1|Updated Nov 5, 2025
One-click install
npx skills add https://github.com/carlopezzuto/agents --skill architecture-patterns-carlopezzuto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/carlopezzuto/agents/tree/main/.claude/skills/architecture-patterns
Command: npx skills add https://github.com/carlopezzuto/agents --skill architecture-patterns-carlopezzuto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide a practical guide to applying established backend architecture patterns (Clean Architecture, Hexagonal Architecture, and Domain-Driven Design) to design maintainable, scalable software.

Core Features & Use Cases

  • Comprehensive coverage of Clean Architecture, Hexagonal Architecture, and Domain-Driven Design with example structures and patterns.
  • Practical templates for separating domain logic from infrastructure, including ports and adapters concepts.
  • Use cases include designing new systems, refactoring monoliths, and establishing architecture standards across teams.

Quick Start

Map your domain to a layered architecture, define ports and adapters, and start implementing the provided templates.

Frequently Asked Questions about architecture-patterns

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

FAQPage Schema
How do I separate domain logic from infrastructure when refactoring a monolith?

To separate domain logic from infrastructure during a monolith refactoring, apply Hexagonal Architecture and Domain-Driven Design patterns. This Skill provides practical templates to define ports and adapters, enforcing a strict separation of concerns between your core business rules and external infrastructure components.

What's the best way to establish backend architecture standards across my engineering teams?

Establishing backend architecture standards across teams requires codified patterns, explicit folder structures, and defined adapter responsibilities. This Skill supplies concrete templates for Clean Architecture and Domain-Driven Design to ensure consistent implementation and maintainable scalable software across your organization.

How do I define ports and adapters when designing a new scalable backend system?

To define ports and adapters for scalable backend systems, you map your domain boundaries to interfaces (ports) and implement external integrations as separate components (adapters). This Skill codifies adapter responsibilities and port definitions to ensure clean separation of concerns.

When should I use Domain-Driven Design patterns for software design?

You should use Domain-Driven Design patterns when designing complex backend systems that require strict separation of concerns and scalable architecture. This Skill helps you apply DDD alongside Hexagonal Architecture to map complex business domains into maintainable layered structures.

Can I use these backend architecture patterns to establish standards for both new systems and legacy refactoring?

Yes, these backend architecture patterns apply to both designing new systems and refactoring monoliths. The Skill provides practical templates for Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to establish consistent architectural standards across teams for any backend context.