New advertisers: 50% off your first month with code FIRSTMONTHSee slots
ccheney avatar

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
View on GitHub

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 -y

Installs 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 questionRelevant 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 5

Similar to Clean Ddd Hexagonal

More Backend & APIs