Help us improve
Share bugs, ideas, or general feedback.
From hyrex-ddd
Validate domain boundaries -- detect cross-context import violations and aggregate invariant issues
npx claudepluginhub akhilyad/deployy --plugin hyrex-dddHow this skill is triggered — by the user, by Claude, or both
Slash command
/hyrex-ddd:ddd-validateThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Validate domain boundary integrity across all bounded contexts.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
Share bugs, ideas, or general feedback.
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 @hyrex/cli@latest memory store --key "ddd-validation-TIMESTAMP" --value "RESULTS_SUMMARY" --namespace tasks
npx @hyrex/cli@latest hooks post-task --task-id "ddd-validate" --success true --store-results true