dt-usagelisted
Install: claude install-skill yacb2/domaintome
# DomainTome — read-first, write-on-decision
This project ships with the **DomainTome MCP server** (`dt_*` tools) that stores
business knowledge as a typed graph: modules, capabilities, flows, events,
rules, forms, entities and decisions. Treat DomainTome as the project's **living
memory**.
## Scope: where does "the project" live?
DomainTome has no opinion about whether a project is a single repo or a
workspace holding several repos/packages. The graph lives in
`.dt/graph.db` relative to whatever directory Claude Code was launched
from — that's the "root of analysis". Workspaces with multiple repos
(split-repo setups, monorepos of independent packages, `*_ws/`
scaffolding) typically keep `.dt/` at the workspace root so a single
graph captures cross-repo relations. Single-repo projects keep it at the
repo root. Both are valid; pick whichever matches the unit of knowledge
you want to capture. The MCP server logs the resolved DB path on startup
so you can always verify which one it is using.
## Read before acting
Before answering "how does X work?" or writing non-trivial code that touches
a known concept, consult the graph:
0. `dt_overview()` — **call this first** when landing on a project. One
compact payload with node counts, top capabilities, recent decisions
and recent changes. Cheaper than several exploratory calls.
1. `dt_query(text_or_id, depth=1)` — **`text_or_id` is required**. Exact id / title substring / tag.
2. `dt_list(type=..., include_body=False)` — ch