/ruflo-ddd:ddd-validatefrom ruflo-ddd
Scans a DDD codebase for bounded context boundary violations, aggregate invariant issues, event naming problems, and repository pattern mismatches. Useful before merging cross-cutting changes or as a CI gate.
Ships in ruflo-ddd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Validate domain boundary integrity across all bounded contexts.
Discover contexts: Scan src/*/domain/ to find all bounded contexts.
Check cross-boundary violations:
.ts files for import statementsdomain/ directory directlyindex.ts (application layer)src/<other-context>/domain/entities/... directly# Find cross-boundary imports
for ctx in $(find src -maxdepth 2 -name "domain" -type d | sed 's|src/||;s|/domain||'); do
grep -rn "from ['\"].*src/" "src/$ctx/" --include="*.ts" | grep -v "src/$ctx/" || true
done
Check aggregate invariant enforcement:
Check event naming conventions:
OrderCreated, not CreateOrder)Check repository patterns:
domain/repositories/, not infrastructure/infrastructure/, not domain/Report findings:
BOUNDARY, INVARIANT, EVENT, REPOSITORYStore results:
npx @claude-flow/cli@latest memory store --key "ddd-validation-TIMESTAMP" --value "RESULTS_SUMMARY" --namespace tasks
npx @claude-flow/cli@latest hooks post-task --task-id "ddd-validate" --success true --store-results true
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/ddd-aggregateScaffold an aggregate root with entity, value objects, repository interface, domain events, and test stubs. Use when adding a new aggregate to an existing bounded context, modeling a new business concept that owns invariants, or generating the boilerplate for an entity + repo + events triplet./ddd-contextCreate and manage a DDD bounded context with standard directory structure. Use when starting a new subdomain, splitting a monolith into bounded contexts, or scaffolding the domain/application/infrastructure layout for a fresh module.npx claudepluginhub ruvnet/ruflo --plugin ruflo-ddd2 plugins ship this exact skill · first indexed Jul 18, 2026
Other plugins' skills for the same job