Docs
Quick Start
From zero to generated context files in under a minute.
1. Run the setup wizard
bash
contextai initThe wizard detects your framework, asks a few questions, and creates a context.config.ts at your project root.
2. Edit your config
Open context.config.ts and fill in your project details — stack, conventions, architecture, and which output targets to enable.
3. Generate
bash
contextai generateAll enabled output files are written to disk. Run with --dry-run first to preview without writing.
bash
contextai generate --dry-run4. Keep in sync
Use watch mode during development to regenerate automatically on every config save.
bash
contextai watch