Agent skill · data analytics · aiskillstore

ddd-check

DDD compliance check for Java projects with auto mode detection. Use when user mentions "DDD check", "DDD audit", "check my changes", "architecture review", "pre-commit check", "DDD compliance", "review this code", or "check entire project".

Why this skill is useful

Adds specific DDD compliance validation workflows and rules for Java projects that the AI wouldn't reliably generate on its own.

What it needs

Requires git installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

DDD Compliance Check Two-mode DDD compliance validation for Java projects. Auto-detects mode from user's trigger phrase. Mode Detection Trigger Phrases Mode Scope --- --- --- "check my changes", "pre-commit", "review this code", "validate my code" Incremental git diff only "full audit", "architecture review", "DDD compliance report", "check entire project", "pre-release" Full All Java files Incremental Mode Workflow 1. Find changed files: git diff --cached --name-only --diff-filter=ACMR grep '\.java (also check unstaged and HEAD diff) 2. Classify by layer: Map package path to layer using layer rule files in references/. 3. Load relevant rules: Only load rule files matching changed layers. Always load references/anti-patterns.md. 4. Check each file: Validate structural rules (base class, package, naming), dependency rules (no forbidden imports), anti-patterns. 5. Report: Per-file violations with severity and fix. Skip "looks good" for clean files. If no Java files changed: "No Java files changed — nothing to check." Full Mode Workflow 1. Discover: find . -name ".java" -not -path "/target/" -not -path "/test/" sort 2. Load all rules: Read every layer rule file in references/. Load references/base-classes-reference.md and references/exception-handling.md as needed. 3. Layer-by-layer audit: Group by layer, check package, base class, naming, dependencies, structure, exception mode. 4. Cross-layer: Verify dependency direction (grep -r "import org\.bookiosk\.ddd\."), detect anemic models, check exception boundaries. 5. Report: Executive summary with compliance score, per-layer breakdown, anti-patterns section, dependency graph, ranked recommendations. See examples/violation-report.md for sample output. Layer Checklists See references/shared-checks.md for the complete severity table (CRITICAL/HIGH/MEDIUM/LOW) and per-layer checklists. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/ddd-check

View the source on GitHub

Browse the @skills marketplace