Skill v1.0.1
currentAutomated scan100/100+3 new
version: "1.0.1" name: cdd-boot description: "Boot a repo into vanilla AGENTS-driven mode from root entrypoints first, deepen only into intent-relevant scaled follow-ons, route to the right cdd-* continuation, and when appropriate own the creation of a branch-backed worktree under .cdd-runtime/worktrees/ (interactive, read-only)."
CDD Boot (interactive, read-only)
Use this skill when the user wants a one-time vanilla CDD context boot and does not intend to use another cdd-* skill for the task.
Boot the current repo into vanilla AGENTS.md-driven work by reading role, project, and development context, recommending the right cdd-* continuation, and deciding whether to stay in place or continue via a branch-backed worktree without changing repo files during boot.
Required contract
AGENTS.mdat repo root- If
AGENTS.mdis missing, stop and tell the user the repo is not CDD-ready for vanilla boot. - Recommend
cdd-init-projectwhen the repo is missingAGENTS.md.
Preferred inputs
Role:
AGENTS.md
Root boot entrypoints:
README.mdTODO.mddocs/specs/blueprint.mddocs/specs/prd.mdwhen present- top of
docs/JOURNAL.mdas the stable journal entrypoint docs/INDEX.mdwhen present
Scaled follow-on surfaces:
- one matching
TODO-<area>.mdwhen one named lane or intent clearly needs it - one matching
docs/journal/JOURNAL-<area>.mdordocs/journal/SUMMARY.mdwhen one named lane or explicit history request clearly needs it - the relevant
docs/index/**body when the user explicitly asks for diagrams, inventory, ownership, or file-level discovery anddocs/INDEX.mdroutes there
External intent surfaces:
- user-named external issues, tickets, PRs, RFCs, docs, or tracker references
Default boot set
- Treat default boot as the small-repo path: read
AGENTS.mdplus the root boot entrypoints only. - In scaled or big repos, those same root files still boot first. Treat them as routers into deeper material, not as a reason to read every split file.
- Do not expand into split TODO, journal, or INDEX bodies unless the user asks for it or one named intent clearly requires one specific lane or body.
- Do not scan lane files just to discover work. Use
TODO.mdplus the named intent; otherwise recommend the best broadcdd-*continuation.
Deepening triggers
- Follow one
TODO-<area>.mdonly when the user names a lane, area, issue, PR, or step, or whenTODO.mdclearly routes the named intent into that lane. - Follow one journal lane only when the user asks for history, prior attempts, decisions, regressions, or when the chosen lane needs recent implementation context beyond the root journal entrypoint.
- Follow one INDEX body only when the user explicitly asks for diagrams, inventory, ownership, or file-level discovery that the root
docs/INDEX.mddoes not already answer. - If more than one lane or body is plausible, ask one clarifying question instead of opening several.
- Once the target lane or body is clear, read only that lane or body unless the evidence forces a second one.
Graceful fallback rules
- Read
AGENTS.mdfirst and treat it as the source of truth for role and response format. - Continue gracefully when root boot entrypoints or scaled follow-on surfaces are missing.
- Use
docs/INDEX.mdto detect INDEX layout. If it points todocs/index/**, treat those bodies as latent follow-ons and open only the one the current question needs. - Use
docs/JOURNAL.mdto detect journal layout first. If it points to split journals, treat those lane journals as latent follow-ons and open only the one the current question needs. - For missing project context, use the first existing curated fallback in this order:
README*.mddocs/specs/prd.mdTODO.md- matching
TODO-<area>.mdonly when a deepening trigger identifies one area - concise root or
docs/markdown files with names matchingindex,overview,spec,blueprint, ordesign - For missing development context, use the first existing curated fallback in this order:
- top of
TODO.md - matching
TODO-<area>.mdonly when a deepening trigger identifies one area - top of
CHANGELOG*.md - top of
docs/CHANGELOG*.md - top of
docs/notes*.md - If deeper development context is needed and no matching area journal is clear, prefer
docs/journal/JOURNAL.mdfor cross-cutting notes anddocs/journal/SUMMARY.mdfor older condensed context before falling back to non-journal docs. - Use only the top of
docs/JOURNAL.md, matching split-journal files, or development fallback files; do not ingest full history unless the user explicitly asks. - If multiple plausible fallback docs exist in the same tier, prefer canonical CDD files, then root runbook docs, then the shortest current-state doc that answers the need.
- Do not write or modify repo files.
- Do not ask for approval.
- Ask a question only when the repo layout is genuinely ambiguous and the ambiguity would materially change the boot summary.
External source handling
- Resolve user-named external references with available read-only surfaces: connectors, CLIs, local remotes, pasted URLs, and identifiers.
- When an external artifact is in scope, read the complete thread before routing: title/body/description, all comments, review comments when present, and material directly referenced artifacts. Do not recursively crawl unrelated links.
- Treat the latest authoritative comment or decision as current intent; flag superseded body requirements.
- Ask one clarifying question when the reference or source of truth is ambiguous enough to change the boot summary or continuation.
- If the artifact, comments, or material references cannot be fetched after a reasonable read-only attempt, mark the boot partial, name the unread surfaces, and route from available local context.
- Never post, update, label, assign, or otherwise mutate external systems during boot.
Boot intent routing
- When the boot invocation names a task or goal, classify the intent and extend boot reading to the intent-relevant surfaces — external threads,
TODO.md, the narrowly matchingTODO-<area>.mdordocs/journal/JOURNAL-<area>.mdfiles when a deepening trigger identifies them, relevant docs, and code entrypoints — without ingesting full history. - Treat research, analysis, investigation, proposal review, and audit as read-only evidence intents unless the user explicitly asks for write-producing follow-up.
- Route the intent to its continuation:
- a matching runnable TODO step already named by the user or narrowly resolved from
TODO.mdplus one matching lane →$cdd-implement <step>(takes precedence over all other routes) - a new change request or feature idea →
cdd-plan - review or verification of implemented work or a proposed enhancement →
cdd-audit - doc drift, repo upkeep, or index refresh →
cdd-maintain - multi-step autonomous execution over prepared TODO steps →
cdd-master-chef - missing
AGENTS.md→cdd-init-project(per## Required contract) - With no intent, infer the continuation from the root boot entrypoints; do not open area TODO or journal files just to discover a runnable step.
- Carry the intent into the recommended option text so selection chains directly (for example
$cdd-plan <intent>).
Follow-up contract
- Treat repo-local
AGENTS.mdresponse-format guidance as authoritative for follow-up presentation, including any repo-localNEXTsection or selector-style follow-up contract. - When
AGENTS.mddefines a repo-localNEXTsection or selector-style follow-up contract, use thatNEXTsection with visible selector-labeled choices. - Prefix every follow-up option label with a visible selector in the label itself so plan-mode UIs still show a selectable key. Default to letters
A.throughD.; use numbers only when the surrounding context is already numeric and that would be clearer. - Offer 2-4 concrete next-step choices in both paths, ordered by suitability with the recommended option first; when practical tell the user they can reply with just the selector. When no repo-local
NEXTcontract exists, use a final**Options**section. - When booting from the main worktree of a Git repo, include both
create or move into a worktree+branch firstandcontinue in the main checkoutas distinct choices, each naming the continuation it chains to (for examplecreate worktree ... then $cdd-plan <intent>). Place them by suitability, not fixed slots. - For read-only evidence intents, order
continue in the main checkoutahead of worktree creation unless the user explicitly asks for isolation. - Keep boot follow-up read-only navigation only; do not ask for approval and do not offer to start implementation directly from boot.
- If a clear next runnable TODO step exists, recommend continuing via
$cdd-implement <step>rather than offering direct implementation.
Worktree check
- If the repo is Git-backed, inspect whether the current checkout is the main worktree or a linked worktree before finishing the boot report.
- If the current checkout is already a linked worktree, recommend staying in that worktree for development.
- For read-only evidence intents, prefer staying in the current or main checkout; do not recommend worktree migration solely because linked worktrees or repo-local managed worktree paths already exist.
- For feature implementation or write-producing planning from the main worktree, if linked worktrees or repo-local managed worktree paths already exist, recommend moving feature development into a worktree rather than the main folder.
- When the boot report recommends creating or moving into a worktree first, recommend a repo-local path under
.cdd-runtime/worktrees/<branch-or-tag>/, where<branch-or-tag>defaults to the recommended branch name or approved workstream tag. - Follow-up choices carry the checkout pair per
## Follow-up contract. - Otherwise, say that staying in the main folder is acceptable unless the user wants parallel or isolated development.
- Do not create, switch, remove, or clean worktrees during boot; a selected follow-up choice authorizes creation as the continuation's first action after the boot report.
Output
Return a concise boot report that includes:
Role— confirm theAGENTS.mdrole was assumedProject— summarize the project using canonical files or fallbacksDevelopment— summarize current implementation context from the journal top or fallbacksWorktree— summarize whether development should stay in the main folder or move into a worktreeIntent— when the boot invocation named a task, state the classified intent, the intent-relevant surfaces warmed up, any partial external read gaps, and the recommended cdd-* continuationSources used— list the files and external artifacts actually read; mark partial external threads when comments or material references were unavailableMissing expected files— list only the missing canonical docsNext action— up to four suitability-ordered selector choices, recommended first, including both checkout choices per## Follow-up contract, through the repo-localNEXTsection whenAGENTS.mddefines one, otherwise a final**Options**section- When worktree migration is recommended,
Next actionmust include a selector choice that creates or moves into.cdd-runtime/worktrees/<branch-or-tag>/and, if a clear next runnable TODO step exists, chains that path with$cdd-implement <step>. - When staying in the current checkout is acceptable and a clear next runnable TODO step exists, recommend
$cdd-implement <step>rather than offering to start implementation directly.
On success, recommend continuing in vanilla AGENTS-driven mode.
Example prompt
$cdd-boot Ingest AGENTS.md and assume the role. Read the repo's root entrypoints first, and only follow one scaled lane, journal, or INDEX body if I name a lane or ask for history, diagrams, or inventory.
With an intent: $cdd-boot I want to fix the flaky CI test — warm up the relevant context and recommend the continuation.