Browse documentation
devbuild init
What devbuild init detects, what it writes, and how to re-run it safely.
devbuild init (or forge init) prepares a repository for DevBuildKit. It is safe to re-run: an existing devbuildkit.yaml (or forgekit.yaml) is kept unless you explicitly overwrite it.
What it does
- Detects your stack locally. It reads manifest files such as
build.gradle(.kts),Podfile,Package.swift,package.json,pubspec.yaml,requirements.txt,go.mod,Dockerfileand Unity project files. Only the file contents on your machine are read. Nothing is uploaded. - Finds your coding agents. It looks for
.claude/orCLAUDE.md,.codex/,.cursor/or.cursorrules, and.github/copilot-instructions.mdor.vscode/. You confirm which targets to enable and which is primary. - Writes
devbuildkit.yaml. The detected languages, frameworks and services are recorded, along with the enabled targets. See the devbuildkit.yaml reference. - Creates
.devbuildkit/. State folders for the install manifest, overrides, plans, reports, backups and caches, and adds the local-only ones to.gitignore.
What it does not do
- It does not install components. Run
devbuild installordevbuild addafterwards. - It does not modify your source code.
- It does not send any project information to DevBuildKit. A later
devbuild installrecords the project name and a hash so your dashboard can list it; see Telemetry and privacy.
See what was detected
devbuild detect
devbuild detect prints the platform, languages, frameworks, services, CI, the evidence behind each detection, and the packs and components it would recommend. You can run the same kind of analysis in your browser with the Stack Detector.
Typical first run
cd my-android-app
devbuild init
devbuild install recommended
If detection picks the wrong platform, edit devbuildkit.yaml (the project.type and stack values) and install the packs you want explicitly, for example devbuild install android.