Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Checks only changed or new Java files in git diff against DDD layer rules before commits.
46% 75%+29 ptsof test cases passed
Passed 18 of 24 test cases with the skill, and 11 of 24 without it.
3 of 3 safety checks passed
Not used yet
Check only new or modified Java files against DDD layer rules. Fast, pre-commit focused.
Run when user says "check my changes", "DDD check", "review this code", or before committing.
# Staged changes (pre-commit)
git diff --cached --name-only --diff-filter=ACMR | grep '\.java$'
# Unstaged changes (working tree)
git diff --name-only --diff-filter=ACMR | grep '\.java$'
# Both
git diff HEAD --name-only --diff-filter=ACMR | grep '\.java$'
If no Java files changed, report: "No Java files changed — nothing to check."
Map file path to DDD layer:
| Package Pattern | Layer | Rule File |
|---|---|---|
**/ddd/common/** | Common | (structural rules only) |
**/ddd/domain/** | Domain | rules/domain-layer.md |
**/ddd/application/** | Application | rules/application-layer.md |
**/ddd/adaptor/** | Adaptor | rules/adaptor-layer.md |
**/ddd/infrastructure/** | Infrastructure | rules/infrastructure-layer.md |
**/ddd/client/** | Client | rules/client-layer.md |
**/ddd/model/** | Model | rules/model-layer.md |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.