
Description
clean-ddd-hexagonal is an agent skill for designing or reviewing the domain model and dependency boundaries of a backend. It combines Domain-Driven Design, Clean Architecture and hexagonal ports and adapters into one approach, and it covers aggregate modeling, bounded contexts, and the direction of source dependencies. The skill presents itself as an opinionated synthesis rather than a required folder layout, and it tells the agent that the user's explicit instructions take precedence over its guidelines. It asks the agent to start from the requested behavior, the existing domain model and the current dependencies, and to keep the project's own language and architecture unless changing them is part of the task. It also says simple create-read-update-delete code can stay simple, and that team size or file length alone do not justify DDD. A decision table maps common design questions to patterns: business language and consistency rules point to DDD with bounded contexts and aggregates, dependency direction points to Clean or Onion Architecture, different interfaces or infrastructure point to ports and adapters, separate read and write models point to CQRS, and state rebuilt from history points to event sourcing. When a business rule is unknown, the agent is told to name the missing rule and keep working on parts that do not depend on it, rather than invent behavior. The skill is published in the ccheney/robust-skills repository.…
Highlights
- Domain-Driven Design and bounded contexts
- Clean Architecture dependency direction
- Ports and adapters for infrastructure
- Decision table for CQRS and event sourcing
- Keeps simple CRUD simple
Ratings & Reviews
No ratings yet
Be the first to rate clean-ddd-hexagonal.
People also visit

architecture-patterns
Clean Architecture, Hexagonal Architecture and Domain-Driven Design

clean-architecture
Structure software around the Dependency Rule: source code dependencies point

clean-architecture
Provides implementation patterns for Clean Architecture, Hexagonal Architecture
clean-ddd-hexagonal FAQ
What is this skill?
An agent skill for designing or reviewing backend domain models and dependency boundaries using DDD, Clean Architecture and ports and adapters.
When should I use it?
For aggregate modeling, bounded contexts, and deciding which way source dependencies point.
Does it force a folder layout?
No. The skill calls itself an opinionated synthesis, not a mandatory folder layout, and the user's instructions take precedence.
Is DDD always appropriate?
No. The skill says simple CRUD can remain simple, and team size or file length do not decide it.
What if a business rule is unknown?
The agent names the specific missing rule and continues work that does not depend on it, without inventing behavior.
How do I install it?
Run npx skills add https://github.com/ccheney/robust-skills --skill clean-ddd-hexagonal.
What security audits does it have?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best clean-ddd-hexagonal alternatives?
Popular alternatives to clean-ddd-hexagonal include hexagonal-architecture, architecture-patterns and domain-driven-design. See all clean-ddd-hexagonal alternatives













