Repository navigation
Description
Summary
Add a domain-modeling-analog skill that owns the active maintained-glossary discipline (and, optionally, multi-context routing), deferred from the absorption of Matt Pocock's grilling family. Format and location must be externalized per our extensibility contract — this issue tracks the capability, not a prescribed file layout.
Background / research
Upstream (mattpocock/skills) splits the concern into three skills:
grilling— pure relentless-interview primitive; says nothing about glossaries or DDD.domain-modeling— separate skill that owns the glossary. The glossary is a file (CONTEXT.md): canonical domain terms only, with a blunt purity guard ("a glossary and nothing else… devoid of implementation details, not a spec, not a scratch pad"), an opinionated canonical term + rejected-synonym habit, tight "what it IS" definitions, project-specific terms only. Multi-context (DDD bounded contexts) uses aCONTEXT-MAP.mdthat points to per-contextCONTEXT.mdfiles, inferring which applies.grill-with-docs— one-line wrapper: "Run a grilling session, using domain-modeling."
Matt's own scoping guard: "merely reading the glossary is a one-line habit any skill can do — this skill is the active changing of the model."
Current state in this repo (already shipped separately)
planning/interview already carries:
- Level 0 — the one-line glossary habit: climb to the nearest domain-vocabulary file, update it inline if the project keeps one, filename only ever an
e.g.(never prescribed). - Level 1 — purity-guard + canonical-term/record-rejected-synonyms principle folded into its glossary-challenge behavior, format externalized (consumer's file shape wins; a readable
Avoid:line as the fallback, never Matt's_Avoid_:syntax).
Why deferred (not built now)
No current skill maintains a glossary file as a first-class output — interview, improve-architecture deepening, and event-storming only touch vocabulary. Building a standalone domain-modeling skill + a CONTEXT.md/CONTEXT-MAP.md convention now would be speculative machinery over a habit. Rule of Three is not met (per docs/MIGRATION-PLAYBOOK.md: "Add a knob only where a real repo-specific behavior surfaces; no speculative knobs").
Trigger to build
A third consumer genuinely needs to maintain a glossary file (not just touch vocabulary). Example: event-storming starts persisting ubiquitous language to a repo file → that + interview + deepening = Rule of Three → extract.
Scope when built
- Active glossary discipline: opinionated canonical term, rejected-synonym recording, tight "what it IS" definitions, project-specific-terms-only filter, purity guard.
- Format/location externalized — discovery-first, consumer convention wins, no prescribed filename (extensibility contract; convention-resolution ladder: config present → use; absent → infer + persist; can't infer → ask; else safe default; no baked assumptions).
- Optional multi-context layer (Matt's
CONTEXT-MAP.mdinference) — DDD bounded contexts. This is a large topic in its own right; scope it as a follow-on phase, not a prerequisite. - Invocable by
planning/interviewandimprove-architecturedeepening (they consume the discipline; they do not each re-implement it).
Overlap guard
event-storming already owns bounded-context discovery (Brandolini's 6 heuristics, workshop board artifacts — deliberately post-workshop "architect's homework"). A domain-modeling skill must not duplicate BC discovery — it consumes/maintains files at a different altitude; it does not re-discover bounded contexts.
Related (separate concern, not in scope here)
Domain storytelling — a distinct modeling technique from EventStorming/DDD-glossary, flagged as a possible future addition. Tracked separately; noted here only to record the boundary.
Deferred from the absorption of mattpocock/skills grilling-family rewording (lineage: PR #532). Discipline absorbed into interview as Level 0 + Level 1; this issue is the deferred Level 2 + Level 3.
Activity
feat(planning): absorb mattpocock grilling-family — reword + ADR/glos…
feat(planning): add active domain-modeling skill (#214)