Skip to content

Getting Started · quick-start

Quick start ​

This guide takes a new user from installation to a reviewed commit: machine setup once, then project setup once.

Prerequisites ​

  • macOS or Linux (on Windows: WSL2) with git, curl, tar, jq and zsh or bash.
  • A supported coding agent: Claude Code, or Codex, Pi and OpenCode through the runtime adapters.
  • Access to the signed endpoint or a local checkout.

1. Set up the machine ​

Install from the signed endpoint; no repository access or SSH key is needed:

bash
bash
curl -fsSL https://devkit.one-dot.io/install.sh | sh

Or bootstrap from a checkout with cargo run --manifest-path rust/Cargo.toml -p devkit -- install. Either way the installer checks for jq, wires the SessionStart hook and runs the first sync; if it adds a marked export PATH=… line to your shell startup file, open a new shell.

Verify the installation:

bash
bash
devkit status   # version, source/channel, sync age
devkit doctor   # symlinks, personal configuration, tools

devkit needs Orca 1.4.284 or newer: every delegated implementation runs as an Orca worker. devkit doctor fails with ORCA_REQUIRED missing|too-old until it is installed, and devkit status shows an Orca row.

devkit status: banner, version, source, linked runtimes, tools and MCP servers on one rail

The first sync installs every required tool. That includes the delegate CLIs, the /share renderers and the vulnerability scanner; the pen design toolchain installs on macOS only. What each tool unlocks and what it still needs from you: Tools that need a step from you.

Many tools are version-pinned: Linux jq, gh, shellcheck and rg use checksum-verified upstream releases; brew and some apt packages float, and codex self-updates. devkit sync now brings drifted tools back to their pin by itself, at most once every 24 hours; devkit tools --outdated lists them and devkit tools --upgrade forces the pass, and DEVKIT_TOOLS_AUTO_UPGRADE=0 turns the automatic one off.

From now on every session start applies a fetched update and fetches the next one in the background. In Claude Code projects with enough usage history, sync hides descriptions of skills unused for 30 days; /name still works, and use or a rule reference restores visibility on a later sync. devkit off removes the runtime links and hooks but keeps version and config; devkit on restores them.

2. Set up the project ​

Shortest path: start claude in the project and type /index. It shows what devkit init would change, applies it after one yes and then builds the context; run it again after every devkit update.

Run devkit init in the project folder. At a terminal it offers git init when needed, shows the plan and asks before applying; stack skills, a stack standard and a commit are offered. Then start claude and run /index; commit the generated project context for the team.

devkit init --dry-run only shows the plan. Commit tracked configuration and back up ignored local settings first; cleanup can change them. For always-loaded AGENTS.md/CLAUDE.md instructions and their imports, init reports duplicates and a 16 KiB budget overrun without expanding files you already trimmed.

3. Make a green commit ​

Describe a small change. The agent works inline, checks for existing code to reuse, then runs these gates in order:

SkillGate
/testTargeted tests; /test --full only on request or when the risk needs it.
/reviewIndependent read-only topic review; docs- or test-only changes skip it. Review rules.
/commitStages only this session's files, scans them with gitleaks and refuses agent-state paths.

This is daily work. For a requested plan, handoff or unresolved product decision, use /spec: feature.

If setup fails ​

Run devkit doctor first, then see Troubleshooting. On macOS, SPOTLIGHT_INDEXED flags indexed build or dependency directories: follow the Spotlight privacy-list instruction instead of renaming node_modules.

Next steps ​

Internal docs — onedot-devkit · devkit

devkitdevkit syncdevkit statusdevkit doctordevkit helpInternal docs · ONEDOT digital crew