Quickstart
Prerequisites
Section titled “Prerequisites”- Node.js 20+
- Claude Code
Install and initialize
Section titled “Install and initialize”-
Install domain-context-cc:
Terminal window npx domain-context-ccTerminal window npx domain-context-cc --localTerminal window npx domain-context-cc --uninstall -
Open your project in Claude Code and run:
/dc:initThis creates the
.context/directory with MANIFEST.md, domain/, decisions/, and constraints/ subdirectories. It also scaffolds ARCHITECTURE.md, wires AGENTS.md, and creates CLAUDE.md. -
Start working — Claude Code is now domain-context-aware.
Domain context hooks will remind you to keep
.context/files up to date as you work.
What just happened
Section titled “What just happened”The /dc:init command set up the complete Domain Context structure in your project. It created the .context/ directory for storing domain knowledge, scaffolded root-level files that wire everything together, and configured .gitignore to exclude local context.
Domain Context initialized: .context/MANIFEST.md created .context/domain/ created .context/decisions/ created .context/constraints/ created ARCHITECTURE.md created AGENTS.md created CLAUDE.md created .gitignore updatedNext steps
Section titled “Next steps”- User Guide — learn the full workflow: explore, validate, add, refresh, extract
- CLI Reference — detailed usage for all 6 commands
- Domain Context Spec — the specification this tool implements