architecture-patterns

Design scalable backend systems using Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.

7|1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/Harmeet10000/skills --skill architecture-patterns-harmeet10000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/Harmeet10000/skills/tree/main/skills/architecture/architecture-patterns
Command: npx skills add https://github.com/Harmeet10000/skills --skill architecture-patterns-harmeet10000

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps architecture-focused teams design maintainable, scalable backend systems by applying established architectural patterns such as Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.

Core Features & Use Cases

  • Clean Architecture-based structuring to isolate business rules from frameworks.
  • Hexagonal Architecture to decouple domain logic from external systems via ports and adapters.
  • Domain-Driven Design guidance to model bounded contexts, aggregates, and ubiquitous language for complex domains.
  • Use Cases: design new systems, refactor monoliths, establish architectural standards across teams.

Quick Start

Review your current backend module, map domain boundaries, and apply Clean Architecture, Hexagonal Architecture, and DDD principles to structure code.

Frequently Asked Questions about architecture-patterns

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

FAQPage Schema
How do I design scalable backend systems using clean architecture and domain-driven design?

To design scalable backend systems with clean architecture and domain-driven design, you isolate business rules from frameworks using layering, model bounded contexts for complex domains, and decouple external systems via ports and adapters. This enforces maintainable module boundaries.

What's the best way to refactor a monolith into microservices with bounded contexts?

Refactoring a monolith into microservices with bounded contexts involves mapping domain boundaries within your existing backend module, applying domain-driven design to model aggregates, and enforcing clear module boundaries to decouple domain logic from external systems.

When do I need domain-driven design for backend architecture?

You need domain-driven design for backend architecture when modeling complex domains that require bounded contexts, aggregates, and ubiquitous language. It establishes clear architecture standards across teams by aligning software structure with business domain boundaries.

Does establishing architecture standards across teams require isolating business rules from frameworks?

Yes, establishing architecture standards across teams requires isolating business rules from frameworks through clean architecture. This practice enforces consistent layering and domain modeling, ensuring all teams build maintainable and scalable backend systems uniformly.

What are the limitations of using clean architecture for backend module structuring?

Limitations of using clean architecture for backend structuring include increased complexity from strict layering and potential over-engineering for simple domains. It requires carefully mapping bounded contexts to avoid unnecessary abstraction when decoupling domain logic from frameworks.