project-bootstrap
Orchestrate first-time issueops project setup for a repository: AGENTS.md routing block, repo profile metadata, and the .issueops document family through the project-docs-bootstrap sub-skill, plus lif
SKILL.mdskills/project-bootstrap/SKILL.md
GitHubProject Bootstrap (Orchestration)
Orchestrate first-time repo setup and own the project-docs lifecycle routing. This skill never replaces its sub-skills' own contracts; it sequences them and owns the pieces that are not docs-specific.
Sub-skill Contract
Load the matching sub-skill, resolved relative to this skill's directory:
../project-docs-bootstrap/SKILL.md— creation and template refresh of the.issueopsfamily andAGENTS.mdrouting block (static CLI pass + evidence-bound enrichment pass via itsPROMPT.md).../project-docs-update/SKILL.md— incremental refresh during ongoing work (project_docs_appendfor cautions/ADRs by default,project_docs_revisefor one-document replacement).../project-docs-optimize/SKILL.md— structural modularization of oversized docs under the manifest contract.
Their safety rules, workflows, and verification steps apply in full. Where this skill adds obligations, the stricter rule wins.
What This Orchestrator Owns Directly
- Repo profile metadata and lifecycle state initialization (the CLI writes these alongside the docs pass).
- Never overwrite an existing
AGENTS.mdwholesale. The harness may prepend the behavioral top block when missing and manages only theISSUEOPSmarker block after that. - Treat generated docs as evidence-backed drafts. If the project already has stronger local docs, preserve and reference them.
- Lifecycle routing decisions (below).
Lifecycle
create refresh during work restructure
project-docs-bootstrap -> project-docs-update -> project-docs-optimize
| Signal | Route to |
|---|---|
No .issueops docs, or explicit template refresh request |
project-docs-bootstrap |
| Completed work produced a caution, ADR, or stale section | project-docs-update |
| Root docs over line budget, duplicated ownership, checker violations > 0, or explicit reorganization ask | project-docs-optimize |
project-docs-update and project-docs-optimize route back here (or to
project-docs-bootstrap) when required docs are missing.
Workflow
Run the dry-run plan first:
issueops project bootstrap --repo . --dry-run --jsonMCP alternative:
project_docs_bootstrap_plan.Inspect
signals.files,signals.languages,signals.test_commands,signals.profile, and each plannedfiles[].action.Write files and repo profile metadata when the plan is acceptable:
issueops project bootstrap --repo . --json--syncrefreshes existing generated docs — only on explicit request.Run the enrichment pass from
../project-docs-bootstrap/PROMPT.md: repo evidence in, no invented facts, updates through the MCP contract (project_docs_route→project_docs_read→project_docs_revise/project_docs_append).For later task routing, prefer the route over injecting every doc:
issueops project route-docs --repo . --task "commit" --json issueops project route-docs --repo . --task "test" --json issueops project route-docs --repo . --task "architecture" --jsonWhen solved problems or decisions become durable knowledge, append them:
issueops project append --repo . --kind caution --title "<problem>" --summary "<what happened>" --resolution "<fix>" --json issueops project append --repo . --kind adr --title "<decision>" --summary "<why>" --decision "<choice>" --jsonFor full-document revisions use the MCP contract through
project-docs-update, not the CLI.
Verify
AGENTS.mdcontains the behavioral top block and only the managed marker block changed..issueops/*.mdexist with evidence/confidence language where facts were inferred.- MCP maintenance works:
project_docs_route,project_docs_read,project_docs_revise,project_docs_append. - The target repo's smallest relevant validation command passes when docs make workflow claims.
Completion Evidence
Report: plan summary, files created/preserved/synced, enrichment updates with evidence, lifecycle routing decisions made, verification results, and remaining unknowns.