architecture-patterns

Apply Clean, Hexagonal, and DDD patterns to design and refactor backend systems.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/okatech-org/gabon-diplomatie --skill architecture-patterns-okatech-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/okatech-org/gabon-diplomatie/tree/main/.agent/skills/architecture-patterns
Command: npx skills add https://github.com/okatech-org/gabon-diplomatie --skill architecture-patterns-okatech-org

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Build and evolve backend architectures by applying proven patterns like Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to improve maintainability, testability, and scalability.

Core Features & Use Cases

  • Clarify domain boundaries, define module interfaces, and encode dependency rules.
  • Select and apply architecture patterns appropriate for domain complexity, refactor monoliths, or establish team-wide standards.
  • Provide migration steps, validation checks, and templates to guide implementations and audits.

Quick Start

Clarify domain boundaries and select an architecture pattern suitable for the domain.

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 complexity. This Skill guides selecting the appropriate backend pattern by evaluating domain boundaries, module interfaces, and dependency rules to match your system's specific maintainability and testability needs.

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

The best way to refactor a monolith using Domain-Driven Design is to clarify domain boundaries and apply targeted migration steps. This Skill provides templates and validation checks to guide decomposition, encode dependency rules, and ensure consistent architectural decisions during the transition.

Can I use these architecture patterns to establish team-wide backend standards?

Yes, you can use these architecture patterns to establish team-wide backend standards. The Skill encodes dependency rules, provides structural templates, and documents best-practice constraints, enabling teams to drive consistent architectural decisions across new and existing projects.

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

You need Domain-Driven Design for your backend architecture when domain complexity is high and maintainability is critical. This Skill helps clarify domain boundaries, define module interfaces, and select appropriate patterns like DDD to improve system testability and scalability.

How do I implement Hexagonal Architecture interfaces correctly?

To implement Hexagonal Architecture interfaces correctly, you must define clear module boundaries and encode strict dependency rules. This Skill guides interface definition and provides validation checks and templates to audit your implementation against best-practice constraints.