
Clean Ddd Hexagonal
Opinionated guide for choosing DDD, Clean Architecture, and ports-and-adapters patterns to fix domain or dependency problems.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 7
- skills.sh installs
- 4.8K
- GitHub stars
- 61
- last updated
- Aug 21, 2026
What it does
- Covers aggregate modeling, bounded contexts, use-case isolation, and dependency direction for backend domain design and refactoring
- Includes reference guides for layering, strategic and tactical DDD, hexagonal adapters, CQRS and events, outbox, testing, and a cheatsheet
- Keeps domain behavior free of HTTP, persistence, and messaging, and makes cross-aggregate consistency tradeoffs explicit
- Designed for architecture reviews and refactors, not routine CRUD changes or unknown business rules that need discovery first
Install
$ npx -y skills add ccheney/robust-skills --skill clean-ddd-hexagonal -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Clean Architecture, DDD, and Hexagonal Architecture
Use these related patterns to solve a concrete domain or dependency problem. This is an opinionated synthesis, not a mandatory folder layout. The user's explicit instructions take precedence over this skill's guidelines.
Choose the scope
Start from the requested behavior, existing domain model, and current dependencies. Preserve the project's language and architecture unless changing them is part of the task. Simple CRUD can remain simple; team size, entity count, and file length do not determine whether DDD is appropriate.
| Design question | Relevant pattern |
|---|---|
| What language and consistency rules describe the business? | DDD, bounded contexts, aggregates |
| Which way should source dependencies point? | Clean/Onion Architecture |
| How can the application use different interfaces or infrastructure? | Hexagonal ports and adapters |
| Do reads and writes need different models? | CQRS |
| Must state be reconstructed from an event history? | Event Sourcing |
Details
- Repository
- github.com/ccheney/robust-skills
- Categories
- Backend & APIs, Code Review & Quality
More from ccheney/robust-skills
All 5Similar to Clean Ddd Hexagonal
More Backend & APIs
architecture-patternsSkillwshobson/agents25.5K installsReference guide to Clean, Hexagonal, and Domain-Driven Design patterns with layered structure rules and in-memory test adapters.
clean-architectureSkillwondelai/skills8K installsStructures software around the Dependency Rule so business logic stays independent of frameworks and databases.
ddd-dotnetPluginnesbo/dotnet-claude-code-skills55 starsComprehensive guide to implementing DDD patterns with CQRS, Hexagonal Architecture, aggregates, entities, command/query handlers, and domain best practices. Exp
enterprise-architecture-patternsSkillmanutej/luxor-claude-marketplace530 installsComprehensive guide to enterprise architecture patterns covering domain-driven design, event sourcing, CQRS, and sagas.
domain-model-boundaries-mapperSkillpatricio0312rev/skills270 installsMaps domain boundaries, ownership, and dependencies using Domain-Driven Design for refactoring service coupling.
domain-driven-designSkillwondelai/skills7.7K installsDomain modeling framework that aligns code with business language, bounded contexts, aggregates, and domain events.