Skip to content

Domain Docs

How the engineering skills should consume this repo’s domain documentation when exploring the codebase.

This repository uses a single-context layout.

  • CONTEXT.md at the repo root, if it exists.
  • docs/adr/ — read ADRs that touch the area you’re about to work in.
  • If CONTEXT-MAP.md appears later, treat the repo as multi-context and read the mapped context docs relevant to the topic.

If any of these files don’t exist, proceed silently. Don’t flag their absence; don’t suggest creating them upfront. The producer skill (/grill-with-docs) creates them lazily when terms or decisions actually get resolved.

Single-context repo:

/
├── CONTEXT.md
├── docs/adr/
│ └── 001-memory-lifecycle-and-scope.md
└── extensions/

Multi-context repo, if introduced later:

/
├── CONTEXT-MAP.md
├── docs/adr/ ← system-wide decisions
└── src/
├── context-a/
│ ├── CONTEXT.md
│ └── docs/adr/ ← context-specific decisions
└── context-b/
├── CONTEXT.md
└── docs/adr/

When your output names a domain concept in an issue title, a refactor proposal, a hypothesis, or a test name, use the term as defined in CONTEXT.md. Don’t drift to synonyms the glossary explicitly avoids.

If the concept you need isn’t in the glossary yet, that’s a signal: either you’re inventing language the project doesn’t use, or there’s a real gap to note for /grill-with-docs.

If your output contradicts an existing ADR, surface it explicitly rather than silently overriding:

Contradicts ADR-0007 (event-sourced orders) — but worth reopening because…