Back to dashboardDetailed procedure

Detailed procedure

Resolve the SKILL.md input contract first. The caller selected this entry point explicitly; it must not trigger itself or recursively call bootstrap from a hook/agent. Read only the references for the chosen mode. The helper is python3 .claude/framework/bootstrap.py, run from the project root; dispatch accepts a single quoted mode request as data and emits an advisory plan without running it. Do not interpolate the actual invocation into shell text: parse it in the current conversation or pass a structured argv argument.

Mode dispatch

InvocationProcedure and ownerMutation boundary
/claude-bootstrapRead discovery.md; inspect actual infrastructure; propose missing setup; initial baseline full review only when real code/scope existsReversible authorized local setup only; no invented product, findings or global installation
initdiscovery.md + architecture.md; workspace.py configure preview, then existing authorization for apply; project-kickoff for a new product or codebase-onboarding for existing sourceExisting docs/decisions/custom native files are preserved; never initialize a product just to maintain Foundry
planRead-only discovery; deliver phases, owners, acceptance, conflicts, risk and commands for reviewNo project files, manifests, caches, proposed reports or generated docs written
review / review diffreview-workflow.md; scoped working-tree/base/head review through iteration-reviewRead-only application review; execute only inspected authorized checks; code fixes are a separate task
review fullBaseline actual code/contracts and selected risk categories; reuse existing reviewsFull means explicit scope, not every agent/plugin or private file
feedbackValidate a supplied source-bound finding report, preview feedback storage, then store when authorizedPending independent verification; no active lesson/instruction changes
improvelearning-workflow.md; framework-audit improvement and skill_lab candidate lifecycleAt most two candidates per baseline; explicit reviewed promotion only
evaluateevaluation-policy.md; define cases and prepare/import actual evidence with skill_lab.pyNo paid/model execution unless authorized; protected expected results stay outside candidate inputs
maintainmaintenance-policy.md; inspect duplicates/retention/stale lessons and propose changesNo scheduler, archival deletion, approved lesson rewrite or recurrence is inferred
upgradeVerify inspected source revision and existing install ownership; preview source framework.py update --dry-run where supportedClean boilerplates use reviewed Git merging, not managed update; no plugin/global/package install without approval
rollbackIdentify setup, managed install or candidate ownership first; preview the corresponding workspace/framework/skill_lab rollbackNever blanket Git reset, recursive deletion or unrelated-file restoration
doctorframework.py doctor + workspace.py status; inspect metadata/hooks/permissions/adapters with actual installed docsReport problems, do not silently repair sensitive configuration
statusworkspace.py status plus project-status and existing review/eval evidenceRead-only; distinguish present/configured/executed/verified

When providing scope text, put an explicit mode first (use default for default-mode scope); omit all arguments for default discovery. Unknown modes are errors, not an excuse to choose an action. Missing finding/scope/target inputs block that mode's dependent work; continue useful read-only inspection. Mode text is ordinary skill task text, not a native parser or Python flags. The skill is explicit-only and adds no allowed-tools/model grant.

Shared sequence

Inspect Git state/revision, actual contracts and installed versions; record phased decisions. For substantial design use existing eng-planner; for significant review use eng-reviewer independently when available. Delegate no further than one level and cap review/fix at two rounds. Report unavailable independent review rather than substituting model agreement. Do not generate the many sample roles in the master prompt unless a specific requirement justifies a new nonoverlapping responsibility.

Use native fallbacks when upstream integrations are absent/incompatible. Read superpowers-integration.md or gsd-integration.md only when relevant. One orchestration owner per concern; never run three redundant reviews. Approval for a local review does not authorize upstream installation, credentials, roadmap changes or remote comments.

Close with source revision/snapshot, changes, actual commands/exits, inspected findings, uncertainty, retained ownership, remaining risks and next action. Reuse existing product STATE/ROADMAP and reviews; do not manufacture progress. Framework maintenance state remains separate. Global deployment and unsupported retention/scheduling/metrics must be reported explicitly as unconfigured, not complete.