Skip to content

Quick Start

Get up and running with dotai in under 5 minutes. If you haven’t installed yet, see Installation.

Run dotai init in your project root:

Terminal window
cd your-project
dotai init

This creates an .ai/ directory with a starter config.yaml and example directives.

Create a file at .ai/directives/code-style.md:

---
scope: project
alwaysApply: true
---
# Code Style
- Use TypeScript strict mode
- Prefer named exports over default exports
- Write tests for all new functions

Generate config files for your AI tools:

Terminal window
dotai sync

This produces the right files for each tool:

ToolGenerated files
Claude CodeCLAUDE.md, .claude/settings.json, .claude/rules/*.md
Cursor.cursor/rules/*.mdc, .cursorignore
CodexAGENTS.md, .codex/config.toml
GitHub Copilot.github/copilot-instructions.md, .github/agents/*.agent.md, .vscode/mcp.json
OpenCode.opencode/instructions/*.md, .opencode/agents/*.md, opencode.json
Antigravity.agent/rules/*.md, .agent/skills/*/SKILL.md, mcp_config.json

See what’s in sync and what needs updating:

Terminal window
dotai status

Run validation checks on your .ai/ configuration:

Terminal window
dotai check