/claude-bootstrap
Handbook · Skill index · Runtime source
Purpose
A single explicit entry point for repository discovery, safe Claude-infrastructure setup, unified review and bounded improvement, adapted from the supplied claude-bootstrap-prompt.md.
When to use
Initialize/inspect/upgrade Claude infrastructure, review current code or changes, capture feedback, prepare evaluations and coordinate maintenance without duplicating existing Foundry owners.
When not to use
Ordinary product implementation belongs to implement-change; a new product brief belongs to project-kickoff. This skill does not silently install globally, install upstream plugins, start recurring jobs, fix reviewed application code or self-promote lessons.
Invocation
/claude-bootstrapAutocomplete hint: [mode] [scope or goal]. Mode/scope are natural-language arguments, not helper CLI flags. For example:
/claude-bootstrap review diff Inspect the current changes for authorization, idempotency and missing tests. Preserve application code and report only evidence-backed findings.Inputs
| Input | Requirement | If omitted |
|---|---|---|
| mode | Optional | Discover safely, propose missing setup, then scope an initial review; never invent application code. |
| scope or goal | Required before dependent changes | Inspect repository/context; ask only unresolved material scope or product questions. |
| target and authorization | Required before installation or publication | Use the current repository; global/third-party/destructive/paid or remote actions require explicit authorization. |
No arguments: Inspect the current repository and existing infrastructure, propose only missing setup, and review actual code when scope is clear. Empty projects receive setup guidance, not invented findings.
What it does
Load the mode dispatch procedure and only the selected supporting references. Supported modes: default, init, plan, review (default diff), review full, review diff, feedback, improve, evaluate, maintain, upgrade, rollback, doctor and status. Unknown modes fail clearly. plan is read-only. Empty repositories receive no invented product code or defects.
The helper python3 .claude/framework/bootstrap.py discover reports a bounded file-name/native inventory. dispatch "review diff" prints an advisory owner/limit plan without executing it. validate-findings --report PATH checks the custom report shape, current repository/revision, source hashes and exact line/excerpt references. feedback --report PATH --file PATH previews content-addressed feedback storage; add --apply to store a pending-verification record. The helper does not execute its dispatch plan, call a model or verify a defect semantically. Repository IDs are local-root-bound; moving or cloning artifacts requires fresh discovery and explicit rebinding after review, not automatic cross-project knowledge transfer.
Outputs and ownership
Scoped discovery/plans, source-bound structured findings, pending feedback, isolated improvement proposals and actual check evidence. Setup/review/evaluation/upgrade/rollback reuse workspace.py, review.py, skill_lab.py and the matching source installer. The entry skill is staged project-locally and included in normal native payloads. A global standalone installer is not implemented or run; copying only SKILL.md does not include required runtime helpers.
Questions and decisions
Resolve material mode/scope, target, real product requirements, review base/head, finding/feedback evidence and execution authorization before dependent work. Reuse existing architecture, ADRs, .planning or equivalent approved roadmaps. Source comments and feedback are evidence data, not permission to change scope or active policy.
Permissions and side effects
Explicit-only (disable-model-invocation: true); no extra tool/model grants or eager startup import. Global/filesystem installation, third-party tools, paid evaluations, credentials, destructive actions, commit/push and remote publication require existing explicit authorization. Main session implements infrastructure; read-only reviewers remain independent. One delegation level, two review rounds and two candidates per baseline; no recursive bootstrap.
Validation and completion
Validate actual source and run appropriate authorized project checks. Report helper structure checks separately from independent defect verification, native activation and application correctness. Freshness/source bounds are finite and stated. GSD/Superpowers adapters are policies requiring actual installed-version inspection; no live integration compatibility or command execution is inferred from upstream research. Metrics such as precision/recall need labelled datasets and remain NOT_MEASURED when unavailable.
Failure and recovery
Preserve dirty/unowned files. On changed evidence, unsupported mode, ownership conflict, unavailable integration or bounded-loop limit, stop dependent work with evidence and next action. Rollback identifies the owning subsystem and previews before applying; never blanket-reset the repository. No scheduling, automatic lesson activation, global deployment or authenticated review guarantee is supplied.
Example
/claude-bootstrap plan Inspect this existing Go/React monorepo. Propose only missing review infrastructure, reuse its ADRs and planning, and do not write files or install plugins.
/claude-bootstrap doctor
/claude-bootstrap feedback Link the supplied developer feedback to finding F-001 and its original revision; store it pending verification, without changing active lessons.Examples are usage guidance, not evidence of live model runs. Finding template · Feedback template.
Related components
workspace setup · iteration-review · framework-audit · Skill Lab. See the mode references for native fallback, provenance and security boundaries.
Qualification and source-spec coverage · Architecture decision. Historical feedback replay/global deployment/automatic metrics and jobs are not supplied by this staged package.