Repo Delivery
Use this skill for built-in-aware delivery workflows:
#prompt:execute-plan
#prompt:checkpoint
#prompt:ship
#prompt:hotfix
Relationship to Copilot built-ins
- Use built-in
/plan before execute-plan when the work still needs an
implementation plan.
- Use built-in
/review for the default review path; these workflows are about
execution and release orchestration, not generic code review.
- Use built-in
/tasks when long-running build/test commands should be tracked
explicitly.
Repo configuration schema
Every repo must declare a ## Commands section in copilot-instructions.md.
Consuming skills (execute-plan, checkpoint, ship) read this section and
halt with an error if it is absent — no heuristic detection, no manifest
fallback.
Required fields:
## Commands
lint: <cmd>
build: <cmd>
test: <cmd>
default_branch: <name>
package_manager: <npm|pnpm|yarn|bun|pip|poetry|cargo|go|dotnet|...>
Optional fields:
adversarial_triggers: # paths that trigger adversarial review; default in execute-plan
- src/auth/**
- migrations/**
retry_budget: # default 20 retries / 60 min
max_total_retries: 20
max_wall_clock_minutes: 60
auto_accept_deviations: # default [lockfile, dep-patch-bump, formatter, auto-generated-files]
- lockfile
- dep-patch-bump
- formatter
- auto-generated-files # no-op unless auto_generated_paths is also declared
auto_generated_paths: # required for auto-generated-files category to fire
- "**/generated/**"
runtime_probes: # one-liners that prove native/runtime deps load; exit 0 = pass
- node -e "require('better-sqlite3')"
- node -e "require('sharp')"
runtime_probes close the typecheck-vs-runtime gap: a build that passes
tsc --noEmit can still fail at startup when a native binding, generated
client, or driver cannot load. Each probe exits 0 when the dependency loads;
failures are treated as build failures by checkpoint and execute-plan.
Missing ## Commands section → consuming skill halts with:
Repo missing required copilot-instructions.md ## Commands section. See the repo-delivery skill for the schema.
Core rules
- Read commands, branch, and package manager from the
## Commands schema —
never assume or invent them.
- Follow an accepted plan literally unless the user explicitly wants deviations.
- Prefer the repo's configured lint/build/test commands over invented command
lines.
- Continue gathering evidence on failures instead of reporting only the first
problem.
Execute-plan contract
- find the requested or most relevant plan file
- extract the ordered task list
- detect repo commands before implementation
- execute in dependency order
- run build and test checks after each logical chunk when the repo supports them
- stop and report clearly on a real blocker instead of skipping ahead
Checkpoint contract
- detect lint/build/test commands from the repo
- map changed files to the relevant package or project scope
- run the configured checks without inventing missing tooling
- report PASS, FAIL, or SKIP per check with enough evidence to act
Ship contract
- confirm branch state and staged changes
- run checkpoint first unless the user intentionally skips it
- create a clean commit and PR summary based on actual repo changes
- stop on CI or merge blockers instead of papering over them
Hotfix contract
- require a clearly stated breakage, root cause, and minimal fix scope
- keep the fix intentionally narrow
- require at least the relevant regression coverage or targeted verification
- skip unnecessary ceremony, but do not skip essential safety checks
Examples
- Execute-plan: Read an accepted plan, detect the repo's real test and build
commands, implement in dependency order, and stop on the first true blocker
with enough evidence to continue later.
- Checkpoint: Map changed files to the affected package, run the repo's
configured checks, and report
PASS, FAIL, or SKIP per check without
inventing missing scripts.
- Hotfix: Apply a narrow production fix for a known regression, add the
targeted verification or regression coverage, and avoid folding in cleanup
refactors.
Guardrails
- Do not assume package manager, branch name, or script names.
- Do not auto-ship unrelated changes.
- Do not turn a hotfix into a refactor.
- Do not claim success without build/test or other configured verification.
Do Nots
- Do not rewrite an accepted plan into a different solution unless the user
explicitly changes direction.
- Do not skip checkpoint before
ship unless the user intentionally bypasses
it.
- Do not collapse execution evidence into a vague "done" summary with no check
results or blocker detail.
Closed Decisions
- Built-in
/plan is the default planning step; this skill starts after the
work is already planned.
- The repo's configured commands and conventions are the authority for build,
test, lint, branch, and packaging behavior.
ship assumes checkpoint-first by default.
hotfix optimizes for minimum safe change, not opportunistic cleanup.
1---2name: repo-delivery3description: Delivery and quality-gate playbook for executing plans, running checkpoints, shipping changes, and handling hotfixes in a repo-specific way.4---56# Repo Delivery78Use this skill for built-in-aware delivery workflows:910- `#prompt:execute-plan`11- `#prompt:checkpoint`12- `#prompt:ship`13- `#prompt:hotfix`1415## Relationship to Copilot built-ins1617- Use built-in `/plan` before `execute-plan` when the work still needs an18 implementation plan.19- Use built-in `/review` for the default review path; these workflows are about20 execution and release orchestration, not generic code review.21- Use built-in `/tasks` when long-running build/test commands should be tracked22 explicitly.2324## Repo configuration schema2526Every repo must declare a `## Commands` section in `copilot-instructions.md`.27Consuming skills (`execute-plan`, `checkpoint`, `ship`) read this section and28halt with an error if it is absent — no heuristic detection, no manifest29fallback.3031Required fields:3233```34## Commands35lint: <cmd>36build: <cmd>37test: <cmd>38default_branch: <name>39package_manager: <npm|pnpm|yarn|bun|pip|poetry|cargo|go|dotnet|...>40```4142Optional fields:4344```45adversarial_triggers: # paths that trigger adversarial review; default in execute-plan46 - src/auth/**47 - migrations/**48retry_budget: # default 20 retries / 60 min49 max_total_retries: 2050 max_wall_clock_minutes: 6051auto_accept_deviations: # default [lockfile, dep-patch-bump, formatter, auto-generated-files]52 - lockfile53 - dep-patch-bump54 - formatter55 - auto-generated-files # no-op unless auto_generated_paths is also declared56auto_generated_paths: # required for auto-generated-files category to fire57 - "**/generated/**"58runtime_probes: # one-liners that prove native/runtime deps load; exit 0 = pass59 - node -e "require('better-sqlite3')"60 - node -e "require('sharp')"61```6263`runtime_probes` close the typecheck-vs-runtime gap: a build that passes64`tsc --noEmit` can still fail at startup when a native binding, generated65client, or driver cannot load. Each probe exits 0 when the dependency loads;66failures are treated as build failures by `checkpoint` and `execute-plan`.6768Missing `## Commands` section → consuming skill halts with:69`Repo missing required copilot-instructions.md ## Commands section. See the repo-delivery skill for the schema.`7071## Core rules7273- Read commands, branch, and package manager from the `## Commands` schema —74 never assume or invent them.75- Follow an accepted plan literally unless the user explicitly wants deviations.76- Prefer the repo's configured lint/build/test commands over invented command77 lines.78- Continue gathering evidence on failures instead of reporting only the first79 problem.8081## Execute-plan contract8283- find the requested or most relevant plan file84- extract the ordered task list85- detect repo commands before implementation86- execute in dependency order87- run build and test checks after each logical chunk when the repo supports them88- stop and report clearly on a real blocker instead of skipping ahead8990## Checkpoint contract9192- detect lint/build/test commands from the repo93- map changed files to the relevant package or project scope94- run the configured checks without inventing missing tooling95- report PASS, FAIL, or SKIP per check with enough evidence to act9697## Ship contract9899- confirm branch state and staged changes100- run checkpoint first unless the user intentionally skips it101- create a clean commit and PR summary based on actual repo changes102- stop on CI or merge blockers instead of papering over them103104## Hotfix contract105106- require a clearly stated breakage, root cause, and minimal fix scope107- keep the fix intentionally narrow108- require at least the relevant regression coverage or targeted verification109- skip unnecessary ceremony, but do not skip essential safety checks110111## Examples112113- **Execute-plan:** Read an accepted plan, detect the repo's real test and build114 commands, implement in dependency order, and stop on the first true blocker115 with enough evidence to continue later.116- **Checkpoint:** Map changed files to the affected package, run the repo's117 configured checks, and report `PASS`, `FAIL`, or `SKIP` per check without118 inventing missing scripts.119- **Hotfix:** Apply a narrow production fix for a known regression, add the120 targeted verification or regression coverage, and avoid folding in cleanup121 refactors.122123## Guardrails124125- Do not assume package manager, branch name, or script names.126- Do not auto-ship unrelated changes.127- Do not turn a hotfix into a refactor.128- Do not claim success without build/test or other configured verification.129130## Do Nots131132- Do not rewrite an accepted plan into a different solution unless the user133 explicitly changes direction.134- Do not skip checkpoint before `ship` unless the user intentionally bypasses135 it.136- Do not collapse execution evidence into a vague "done" summary with no check137 results or blocker detail.138139## Closed Decisions140141- Built-in `/plan` is the default planning step; this skill starts after the142 work is already planned.143- The repo's configured commands and conventions are the authority for build,144 test, lint, branch, and packaging behavior.145- `ship` assumes checkpoint-first by default.146- `hotfix` optimizes for minimum safe change, not opportunistic cleanup.