/claude-dev-kit:shipfrom claude-dev-kit
Finalizes tests, documentation, and changelog, then merges the PR to make it deployment-ready. Operates in git worktrees with checkpoint verification.
Ships in claude-dev-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Kit root: ${CLAUDE_PLUGIN_ROOT}
scripts/ dir): prefix every kit script command with it, e.g.
bash <kit-root>/scripts/checkpoint.sh …. Absolute paths also work from worktrees.${…} placeholder above → standalone layout: run commands as written.Run these checks silently at the start. Use results to adapt behavior:
[ -f issues.md ] — if true, this project uses the sprint system. Respect issue numbering and STATUS.md.[ -f docs/sprint_state.md ] — if true and Status shows running, a sprint is active. Be aware of parallel work in worktrees.[ -f docs/prd_digest.md ] — if true, read it for quick project context before starting.gh auth status before any GitHub operation.Every phase has a checkpoint. Run the verification command and check the exit code.
ADVISORY: line (advisory gate): report the gap, self-correct, continue.
Standard prefix:bash scripts/checkpoint.sh
Append --skill <name> --phase <phase> --issue <ID> for the specific check.
checkpoint.sh resolves the main repo root internally, so the command stays
a single prefix-matchable form (safe to allowlist as Bash(bash scripts/checkpoint.sh *)).
Pipeline skills operate in git worktrees to isolate changes from main.
WT="$(bash scripts/wt_setup.sh <branch>)" — creates the
worktree via scripts/worktree.sh create and writes .claude-kit/freeze-dir.txt
inside it in a single step.bash scripts/worktree.sh rootbash scripts/wt_cleanup.sh <branch> — cd's to main root
inside a subshell, then removes the worktree (never leaves CWD dangling).
All file operations happen inside $WT/. Shared files live on main only.Shared files (issues.md, STATUS.md, CHANGELOG.md) are managed on main only.
Always use registry_edit.sh for concurrent-safe writes — it resolves the
main repo root internally and delegates to flock_edit.sh:
bash scripts/registry_edit.sh issues.md -- bash -c '<update command>'
Never commit these files to feature branches. Steps:
CHECKPOINT — MANDATORY — NEVER SKIP Run:
bash scripts/checkpoint.sh --skill ship --phase checks --issue $ARGUMENTSIf exit code ≠ 0: STOP immediately and report the failure. Do NOT proceed.
3.5) Review and update project documentation in a separate context:
Update shared files via the registry wrapper:
bash scripts/registry_edit.sh STATUS.md -- bash -c '<update command>'
Idempotent merge (crash-recovery safe — ISSUE-052). A ship-phase interruption
(e.g. an API/spend limit) BETWEEN the merge and the smoke checkpoint can leave the
PR already MERGED while sprint_state.md still reads reviewed/shipping; in
that case sprint_queue.py next-action emits a FINALIZE action (smoke + registry
only), not SHIP. Whether invoked for a normal SHIP or a FINALIZE recovery, consult
the idempotent decision helper BEFORE merging so recovery never attempts a second
merge:
python3 scripts/sprint_queue.py ship-merge-decision --pr <pr_number>
{"action": "skip", ...} (PR already merged) → do NOT run gh pr merge; proceed
straight to worktree cleanup, the smoke checkpoint, and registry finalization.{"action": "merge", ...} (un-merged, or gh indeterminate) → merge via
gh pr merge (merge/squash per repo rules) and delete the branch as usual.The probe degrades gracefully (an offline/unauthenticated gh yields merge, so a
normal ship is never blocked); the merge checkpoint below still confirms the PR is
merged either way.
CHECKPOINT — MANDATORY — NEVER SKIP Run:
bash scripts/checkpoint.sh --skill ship --phase merge --issue $ARGUMENTSIf exit code ≠ 0: STOP immediately and report the failure. Do NOT proceed.
wt_cleanup.sh wrapper — it cd's to the main repo root and
removes the worktree in a single subshell, so the caller's CWD is
never left inside a deleted directory:
bash scripts/wt_cleanup.sh <branch>
CHECKPOINT — MANDATORY — NEVER SKIP Run:
bash scripts/checkpoint.sh --skill ship --phase cleanup --issue $ARGUMENTSIf exit code ≠ 0: STOP immediately and report the failure. Do NOT proceed.
git checkout main && git pull
pytest -q --tb=shortnpm testverify_gates.py runs automatically via checkpoint
(e2e-web, e2e-mobile, api, integration, load — as configured in docs/test_plan.md).git revert -m 1 <merge_commit>.CHECKPOINT — MANDATORY — NEVER SKIP Run:
bash scripts/checkpoint.sh --skill ship --phase smoke --issue $ARGUMENTSIf exit code ≠ 0: STOP immediately and report the failure. Do NOT proceed.
git diff --name-only HEAD~1 HEADsrc/module.py → tests/test_module.pysrc/component.ts → src/component.test.ts or src/component.spec.tsTest coverage gaps detected in shipped code:
- src/auth.py → no corresponding test file
- src/webhook.py → test exists but may lack coverage for new functions
Suggestion: run `/testgen <path>` to generate missing tests.
IMPORTANT: Never commit issues.md, STATUS.md, or CHANGELOG.md to the feature branch.
These are registry files managed only on main. Always use bash scripts/registry_edit.sh <file> -- bash -c '<update command>' — the wrapper resolves the main repo root internally.
gh pr checks <pr> — all CI checks must be green.gh pr merge fails: report the error (e.g., merge conflicts, branch protection rules).git revert -m 1 <merge_commit> to revert the merge.git revert -m 1 <merge_commit_sha> on main.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub pillip/claude-dev-kit --plugin claude-dev-kit23 skills in this plugin
/bizanalysisAnalyzes and critiques business viability. Use after /brainstorm and before /prd./brainstormExplores ideas and defines problems through free-form conversation. Use before /prd when direction is unclear./carefulActivates destructive command warnings for the current session. Use when working in sensitive environments./desktop-uiuxEstablishes a desktop design philosophy based on kickoff outputs, and generates a desktop design system/wireframes/Electron prototype. Recommended flow — /prd → /kickoff → /desktop-uiux/devopsSet up or update CI/CD pipelines, Dockerfiles, and deployment configs, then create a GH Issue + PR./diagnoseAnalyze a bug from error logs or reproduction steps, fix it, and create a GH Issue + PR.Other plugins' skills for the same job