bootstrap
Generate the maintainerd config contract for a repo — write .claude/maintainerd.json and scaffold .claude/guidelines/{coding,testing,invariants}.md so the repo-ops, audits, research, and auto-dev skills can run here. Inspects the repo (language, GitHub slug, default branch, source/test dirs, lint/format/build/test commands), confirms anything ambiguous, seeds starter guidelines from existing CLAUDE.md/AGENTS.md, and adopts the coverage ratchet by measuring the default branch on a fresh worktree and recording coverage.floor. --adopt runs only that last part, for a repo that is already bootstrapped. With --profile <path> --language <key>, the PR-template step copies the profile's canonical template (files.prTemplateSource) instead of the built-in one, when it resolves. Use when the user asks to "bootstrap this repo", "set up maintainerd", "create the maintainerd config", "configure the maintainer skills", "onboard this repo to maintainerd", or when any other maintainerd skill reports the config is missing. Idempotent — re-running re-confirms and only rewrites changed keys; never clobbers hand-edited guideline prose.
Pinned to revision bb56a8ccac95, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.