DDD - Claude Code plugin for Domain-Driven Design
Domain-driven design commands: analyze codebases and recommend applications of DDD tactical patterns, supple design, and hexagonal (ports-and-adapters) architecture.
Skills
| Skill | User-invocable | Purpose | |---|---|---| | ddd:supple-design | no | Reference material: Eric Evans' 8 supple-design patterns plus concrete detection signals. Loaded as a dependency by action skills. | | ddd:supple-design-review | yes | Analyze a codebase and produce a grounded Markdown review recommending applications of supple-design patterns. | | ddd:tactical-patterns | no | Reference material: Eric Evans' 8 tactical patterns (Value Object, Entity, Aggregate, Domain Event, Domain Service, Repository, Factory, Module) with Ruby idiom examples. Loaded as a dependency by action skills. | | ddd:tactical-patterns-review | yes | Analyze a codebase's use (and non-use) of DDD tactical patterns and produce a grounded Markdown review with findings, opportunities, and refactoring recommendations. | | ddd:hexagonal-architecture | no | Reference material: hexagonal (ports-and-adapters) architecture read pragmatically — the database is part of the domain model, ports are reserved for variable external systems. Loaded as a dependency by action skills. | | ddd:hexagonal-architecture-review | yes | Analyze a codebase's adherence to hexagonal architecture and produce a grounded Markdown review with findings, ports to introduce, and refactoring recommendations. Detects the pragmatic stance (AR-as-domain vs. fully separated) before scanning. |
Install (local development)
/plugin marketplace add ~/code/claude-plugins/ddd
/plugin install ddd@rafael-ddd
After install, invoke naturally — e.g. "review this codebase for supple design" — and supple-design-review will fire.
Growing the plugin
Add more skills under skills/<name>/SKILL.md. Candidates:
strategic-design-review— bounded context discovery, context mapubiquitous-language-audit— naming drift between docs and codeevent-storming— interactive modeling session










