architecture-patterns

Guide backend services toward Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.

20|3|Updated Jul 26, 2025
One-click install
npx skills add https://github.com/thc1006/nephoran-intent-operator --skill architecture-patterns-thc1006
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/thc1006/nephoran-intent-operator/tree/main/.claude/skills/architecture-patterns
Command: npx skills add https://github.com/thc1006/nephoran-intent-operator --skill architecture-patterns-thc1006

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing and maintaining complex backends becomes error-prone without clear boundaries and testable architectures. This skill presents proven patterns to structure software into independent, cohesive layers.

Core Features & Use Cases

  • Clean Architecture: separate business rules from frameworks and UI to improve testability and flexibility.
  • Hexagonal Architecture (Ports & Adapters): enable easy swapping of infrastructure and ensure core logic remains framework-agnostic.
  • Domain-Driven Design: align models with business domains, define bounded contexts, and use strategic and tactical patterns to manage complexity.
  • Guidance and templates: provides example directory structures and practical guidance for applying patterns in new projects or refactoring existing monoliths.

Quick Start

Map your domain, define ports and adapters, and implement core business logic in a framework-agnostic domain layer.

Frequently Asked Questions about architecture-patterns

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

FAQPage Schema
How do I structure a backend with clean architecture to separate business rules from frameworks?

Clean architecture structures backend software into independent, cohesive layers, separating business rules from frameworks and UI to improve testability and flexibility. This skill provides guidance on layering and defining boundaries to achieve this separation.

What is the best way to apply hexagonal architecture ports and adapters when refactoring a monolith?

Hexagonal architecture uses ports and adapters to enable easy swapping of infrastructure, ensuring core logic remains framework-agnostic. This skill provides practical guidance and example directory structures for refactoring existing monoliths using this approach.

How do I align my domain models with business domains using Domain-Driven Design?

Domain-Driven Design aligns models with business domains by defining bounded contexts and using strategic and tactical patterns to manage complexity. This skill guides mapping your domain and implementing core business logic in a framework-agnostic domain layer.

When do I need bounded contexts and strategic patterns for backend architecture?

Bounded contexts and strategic patterns are needed when designing or refactoring complex backends to manage business domain complexity. This skill helps software engineering teams align models with business domains and define clear architectural boundaries.

Does this approach provide example project templates for structuring new backend services?

Yes, this approach provides example directory structures and practical guidance for applying architectural patterns in new projects. You can map your domain, define ports and adapters, and implement core business logic using these templates.

How does separating business rules from infrastructure improve backend testability?

Separating business rules from infrastructure improves testability by ensuring core logic remains framework-agnostic and infrastructure can be easily swapped. This skill provides patterns like clean and hexagonal architecture to structure software into independent, cohesive layers.