architecture-patterns

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

6|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/ChrstprJohn/SamsonDentalCenter --skill architecture-patterns-chrstprjohn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/ChrstprJohn/SamsonDentalCenter/tree/main/.agent/skills/SystemArchitecture/architecture-patterns
Command: npx skills add https://github.com/ChrstprJohn/SamsonDentalCenter --skill architecture-patterns-chrstprjohn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Backend architectures often become tangled as systems grow; this skill provides proven patterns to structure, decouple, and scale backend systems.

Core Features & Use Cases

  • Provide a structured approach to applying Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.
  • Define module boundaries, interfaces, and dependency rules to improve testability and maintainability.
  • Use cases include migrating monoliths to microservices, establishing architecture standards, and preserving domain concepts.

Quick Start

Outline a target backend architecture for a new project and map it to an appropriate pattern.

Frequently Asked Questions about architecture-patterns

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

FAQPage Schema
How do I apply Domain-Driven Design to define bounded contexts in a backend system?

To apply Domain-Driven Design, you assess domain complexity and define module boundaries to preserve domain concepts. This establishes clear bounded contexts and interfaces, structuring your backend system for improved testability and maintainability.

What is the best way to migrate a monolith to microservices using clean architecture?

Migrating a monolith to microservices using clean architecture involves defining clear module boundaries and dependency rules. You assess the domain, establish bounded contexts, and follow structured migration steps with validation checks to decouple components.

How do Hexagonal Architecture and ports and adapters improve backend maintainability?

Hexagonal Architecture improves backend maintainability by isolating core domain logic through ports and adapters. This enforces strict dependency rules, ensuring external components interact via defined interfaces, which enhances overall system testability and scalability.

When should I use Clean Architecture versus Domain-Driven Design for a new project?

Use Clean Architecture to enforce dependency rules and testability, while Domain-Driven Design tackles complex domain logic by defining bounded contexts. You can combine both by mapping your domain boundaries into a clean, structured architectural layout.

How do I establish architecture standards for scalable microservices?

Establish microservices architecture standards by defining module boundaries, interfaces, and dependency rules. Apply proven patterns like Hexagonal Architecture and DDD to document expectations for bounded contexts and ensure scalable, maintainable systems.