Individual skill
adversarial-ddd
Use this skill to gate DDD and ubiquitous-language quality with a pass/fail adversarial review — a single blind reviewer subagent judges a diff, a module/bounded context, or a DSL/semantic-model surface against 20 decidable rules across glossary lifecycle (a recorded ubiquitous language is required once domain concepts exist — absence is FAIL; code must conform; entries stay live and carry business meaning), language consistency (one name per concept, one meaning per name, no Manager/Helper/Data names on domain rules, transitions named as operations, one vocabulary across code, tests, docs, UI copy), domain model integrity (anemic models, valid-on-construction, value types over primitives, named states over flag piles), context boundaries (foreign-model reach, vendor-type absorption, infrastructure in the domain, multiple writers), and DSL surfaces. Language-agnostic; repeated runs converge code, team, and stakeholders on one recorded vocabulary. Verdicts only.
skills/.experimental/adversarial-ddd/SKILL.md
Source commit cf93c57cac89d6fc3e4194686000411567f5caf3
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 222
- Repository last updated
- Aug 15, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- design Derived category
- operations Derived category
- data Derived category
- devops Derived category
- docs Derived category
- design-interface Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 8,125 bytesSKILL.mdcore · 8,125 bytesassets/templates/verdict.mddoc · 1,607 bytesgotchas.mddoc · 2,756 bytesmetadata.jsonasset · 1,395 bytesreferences/_sections.mddoc · 2,562 bytesreferences/ctx-domain-free-of-infrastructure.mddoc · 2,482 bytesreferences/ctx-no-foreign-model-reach.mddoc · 2,420 bytesreferences/ctx-one-writer-per-model.mddoc · 2,102 bytesreferences/ctx-translate-external-models.mddoc · 2,520 bytesreferences/dsl-deterministic-validator-exists.mddoc · 2,422 bytesreferences/dsl-illegal-statements-unconstructible.mddoc · 2,615 bytesreferences/dsl-semantic-model-separate-from-syntax.mddoc · 2,564 bytesreferences/gloss-code-conforms.mddoc · 2,835 bytesreferences/gloss-definitions-carry-meaning.mddoc · 2,361 bytesreferences/gloss-language-recorded.mddoc · 2,881 bytesreferences/gloss-terms-live.mddoc · 2,338 bytesreferences/lang-code-docs-tests-one-vocabulary.mddoc · 2,301 bytesreferences/lang-no-generic-names-in-domain.mddoc · 2,541 bytesreferences/lang-one-meaning-per-name.mddoc · 2,353 bytesreferences/lang-one-name-per-concept.mddoc · 2,555 bytesreferences/lang-transitions-named-as-operations.mddoc · 2,313 bytesreferences/model-domain-types-over-primitives.mddoc · 2,363 bytesreferences/model-named-states-over-flag-piles.mddoc · 2,543 bytesreferences/model-rules-live-with-the-model.mddoc · 2,316 bytesreferences/model-valid-on-construction.mddoc · 2,436 bytesreferences/reviewer-prompt.mddoc · 6,055 bytes
Read excerpt
# Adversarial DDD Gate
A domain-driven design and ubiquitous-language gate for any codebase — a pass/fail gate: a single blind reviewer subagent judges the work against this gate's rules with an adversarial mandate, and the work passes only when every rule is PASS or N/A. This skill renders verdicts; it never fixes the work.
The gate's engine is the **glossary lifecycle**: once a target contains domain concepts, a recorded ubiquitous language (a glossary) must exist — its absence is a FAIL whose fix list names the exact file to create and the terms it must define. Run the gate on any project and the first verdict forces the vocabulary into existence; every later run holds the code, tests, docs, and customer-facing copy to it and keeps it well-sized. That is how one skill produces a common, well-understood vocabulary across many projects, exactly as DDD prescribes.
## When to Apply
- Domain code is about to merge and needs an objective PASS/FAIL on ubiquitous-language and domain-model quality, not advisory feedback.
- A project is being started or adopted and you want the shared vocabulary forced into existence — the first run's fix list is the glossary's initial contents.
- An agent (Claude, Codex) authored the code and you want an independent check on its known defaults: `*Manager`/`*Helper` types, `setStatus()` transitions, anemic entities, vendor types absorbed into the model.
- A DSL, fluent builder, or declarative spec format is being introduced and its surface needs judging as a domain-vocabulary artifact.
- A periodic audit — the codebase, docs, and stakeholder-facing surfaces have drifted and you want the divergences named with locations.