Introduction
The problem (in 3 lines) #
- AI coding CLIs are unsafe by default. They edit files they weren't asked to touch, forget decisions across sessions, and run autonomous loops with no stop conditions.
- Existing workflow kits lock you into one CLI. Hand-crafted
.claude/trees don't port to Codex or Copilot; teams maintain dozens of files by hand. - There's no enforced discipline. Scope boundaries, role separation, watchdog stops, and per-role MCP scoping exist as patterns — not as installable artifacts.
What aidokit does #
aidokit is a one-command scaffolder that emits a complete, adapter-agnostic AI-assisted development workflow into any project. It ships the operating discipline around your AI coding CLI — not a replacement for it. Zero LLM calls. No daemon. No telemetry.
How It Works #
Read .docs/ARCHITECTURE.md §8 for the canonical step-by-step. In short:
- Parse args; probe host; detect stack.
- Resolve missing prereqs (print install commands; never auto-install — ADR-0008).
- Interactive selection (adapter, conformance, stack packs, MCPs, Beads).
- Build immutable
ProjectContext. - Compose file plan from adapter + stack packs + base skills + shared docs.
- Stage and atomically commit.
- Install MCP servers; run
postInstall; write.aido/adapter.md.
%%{init: {
"theme": "base",
"themeVariables": {
"fontFamily": "ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif",
"fontSize": "14px",
"primaryColor": "#eff6ff",
"primaryTextColor": "#0f172a",
"primaryBorderColor": "#2563eb",
"lineColor": "#475569",
"secondaryColor": "#f1f5f9",
"tertiaryColor": "#ffffff",
"clusterBkg": "#f8fafc",
"clusterBorder": "#cbd5e1"
}
}}%%
flowchart LR
classDef actor fill:#ede9fe,stroke:#6d28d9,color:#1e1b4b,stroke-width:1.2px;
classDef cli fill:#dbeafe,stroke:#1d4ed8,color:#0c1f4a,stroke-width:1.4px;
classDef adapter fill:#cffafe,stroke:#0e7490,color:#083344;
classDef pack fill:#dcfce7,stroke:#15803d,color:#052e16;
classDef core fill:#fef9c3,stroke:#a16207,color:#422006;
classDef artifact fill:#f1f5f9,stroke:#475569,color:#0f172a;
classDef stop fill:#fee2e2,stroke:#b91c1c,color:#7f1d1d,stroke-dasharray:4 3;
classDef ok fill:#ecfdf5,stroke:#047857,color:#064e3b;
classDef external fill:#fff7ed,stroke:#c2410c,color:#431407;
P1[1. parse + probe]:::cli --> P2[2. prereqs]:::cli
P2 --> P3[3. interactive
selection]:::cli
P3 --> P4[4. immutable
ProjectContext]:::artifact
P4 --> P5[5. compose
file plan]:::artifact
P5 --> P6[6. stage + commit]:::artifact
P6 --> P7[7. postInstall +
.aido/adapter.md]:::ok
Each step is detailed in diagrams/scaffold-flow.md.
Current phase #
| Field | Value |
|---|---|
| Release target | v1.0 GA (in flight) |
| Shipped | v0.5 Beta (see CHANGELOG.md [0.5.0]) |
| Adapters | claude-code (Strict), codex (Minimum), copilot (Minimum, ADR-0016) |
| Stack packs | node-ts, node-js, python, react, go |
| Remaining v1.0 | multi-adapter polish, --dry-run everywhere, capability declarations, signed packages, aidokit search, docs site |
What aidokit is NOT #
From .docs/ROADMAP.md §Non-goals:
- Not an LLM client (no API calls of any kind)
- Not a replacement for the user's AI coding CLI
- Not a daemon, watcher, or background service
- Not a project-management suite
- Not a telemetry collector
- Not an IDE plugin (speculative, post-v1.0)
- Not an enterprise SaaS product
Example #
A user invokes npx aidokit init in a fresh Node-TS project. After interactive selection, the CLI writes (illustrative — exact tree per .docs/context/claude-workflow-kit-v4-base-part-3.md):
my-app/
├── CLAUDE.md
├── .claude/
│ ├── commands/ (intake, implement-task, orchestrator-next)
│ ├── agents/ (researcher, architect, planner, builder, tester-reviewer, maintainer, frontend-browser-tester)
│ ├── skills/ (18 base + node-ts contributed)
│ ├── output-styles/ (5 styles)
│ ├── schemas/ (8 artifact schemas)
│ └── scripts/ (19 hook scripts, mode 0o755)
├── docs/
├── agent-artifacts/
└── .aido/adapter.md
Common Mistakes #
- Treating
aidokitas an agent or runtime. It is a one-shot scaffolder. See CLAUDE.md §8. - Assuming the published path is
docs/. On disk it is.docs/; references in this wiki use the actual on-disk path. See CLAUDE.md §2 path discrepancy. - Confusing the kit content (what the adapter emits) with aidokit (what emits it). The kit content reference lives in
.docs/context/claude-workflow-kit-v4-base-part-{1,2,3}.md.
Checklist #
- [ ] Read .docs/README.md, .docs/ROADMAP.md, and .docs/ARCHITECTURE.md (orientation triad).
- [ ] Read CLAUDE.md for project rules.
- [ ] Skim CHANGELOG.md for what shipped in v0.5.
- [ ] Run quick-start.md locally.
Related Pages #
- project-overview.md — what's in the repo
- onboarding-guide.md — recommended ramp
- glossary.md — term definitions
- concepts/product-overview.md