architecture-patterns

Architect backend systems using Clean Architecture, Hexagonal Architecture, and Domain-Driven Design templates and structures.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/theBulishMan/myproject-manager --skill architecture-patterns-thebulishman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/theBulishMan/myproject-manager/tree/main/codex-skills/architecture-patterns
Command: npx skills add https://github.com/theBulishMan/myproject-manager --skill architecture-patterns-thebulishman

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Designing and maintaining backend systems is hard without a coherent architecture. This skill provides guidance to apply proven patterns—Clean Architecture, Hexagonal Architecture, and Domain-Driven Design—to structure software for maintainability, testability, and scalability.

Core Features & Use Cases

  • Comprehensive pattern coverage: guidance for organizing domains, use cases, and adapters to keep core logic framework-agnostic.

  • Practical templates & examples: folder structures, artifact templates, and code snippets that illustrate the patterns in action.

  • Standards & migration help: a framework for establishing architecture standards and migrating legacy monoliths to modular services.

  • Use cases: designing new services, refactoring monoliths, and aligning teams around a shared architectural language.

Quick Start

Apply Clean Architecture, Hexagonal Architecture, and DDD concepts to design or refactor your backend system using the templates and references provided in this skill.

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 system using domain-driven design and clean architecture?

Structure backend systems using domain-driven design and clean architecture by organizing domains, use cases, and adapters to keep core logic framework-agnostic. This skill provides practical templates, folder structures, and code snippets to guide the organization of layered components.

What is the best way to refactor a monolith into modular services?

Refactor a monolith into modular services by applying proven architecture patterns like clean architecture and hexagonal architecture. This skill offers migration guidance and structural templates to transition legacy monolithic codebases into modular, maintainable services.

How does hexagonal architecture organize ports and adapters for backend scalability?

Hexagonal architecture organizes ports and adapters by isolating the core domain logic from external concerns, improving backend scalability. This skill provides guidance on configuring these components to keep your application's primary logic framework-agnostic and highly testable.

Can I use these architecture patterns to set standards across multiple teams?

Yes, you can use these architecture patterns to set standards across multiple teams. This skill provides a framework for establishing architectural guidelines and aligning teams around a shared architectural language using clean architecture and domain-driven design principles.

When should I not use clean architecture for my software design?

You should reconsider clean architecture for software design if your project is a small, simple application where the overhead of organizing domains, use cases, and adapters outweighs the maintainability and scalability benefits required for complex, evolving systems.

Does this architecture-patterns skill provide practical code templates for software design?

Yes, this architecture-patterns skill provides practical code templates for software design. It includes folder structures, artifact templates, and code snippets that illustrate clean architecture, hexagonal architecture, and domain-driven design patterns in action.