architecture-patterns

Implement Clean Architecture, Hexagonal Architecture, and Domain-Driven Design patterns.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/ekremmkasap/jarvis --skill architecture-patterns-ekremmkasap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/ekremmkasap/jarvis/tree/main/server/agent_prompts/wshobson/plugins/backend-development/skills/architecture-patterns
Command: npx skills add https://github.com/ekremmkasap/jarvis --skill architecture-patterns-ekremmkasap

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Architects and developers lack a cohesive set of proven backend architecture patterns to craft maintainable, scalable systems.

Core Features & Use Cases

  • Master Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to structure codebases with clear boundaries and testability.
  • Provide practical templates and examples for organizing domain logic, use cases, controllers, and adapters.
  • Guidance for applying architecture patterns during new project creation, refactoring legacy monoliths, and standardizing team practices.

Quick Start

Review the provided references and templates to begin drafting a scalable backend architecture plan following Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.

Frequently Asked Questions about architecture-patterns

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

FAQPage Schema
What is the best way to structure a scalable backend system?

Clean Architecture and Hexagonal Architecture provide structured guidance for organizing domain logic and use cases. They separate core business rules from external interfaces using ports and adapters, ensuring maintainable and testable backend systems.

How do I apply Domain-Driven Design when refactoring a monolith?

To apply Domain-Driven Design when refactoring a monolith, use structured templates to isolate domain logic and define clear architectural boundaries. This standardizes architecture practices and systematically breaks down the monolithic codebase into manageable domains.

When do I need Hexagonal Architecture for my backend?

You need Hexagonal Architecture when your backend requires high testability and isolated domain logic. By using ports and adapters, this pattern protects core business rules from external infrastructure changes, making it ideal for complex and evolving backend systems.

How do I organize controllers and adapters in a new backend project?

Organize controllers and adapters in a new backend project by following provided architecture templates. These templates demonstrate how to structure use cases and domain logic according to Clean Architecture principles, ensuring clear separation of dependencies from project start.

Does this approach work for standardizing team architecture practices?

Yes, applying Clean Architecture and Domain-Driven Design templates works effectively for standardizing team architecture practices. The provided references establish a cohesive set of proven backend patterns, ensuring all developers structure codebases with consistent boundaries and testability.