/ship-pipeline:deploy-statefrom ship-pipeline
Use when someone asks what is lined up for the next deployment or release, what is merged but not live, what is waiting to ship, or to put together a batch of issues or pull requests to deploy.
Ships in ship-pipeline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Answer one question: what goes out in the next deployment, and what stands in its way? The lineup includes work that is planned for it, even if not built yet. Check it live. A saved list, an issue comment or your memory of the session is a claim to verify, never the answer.
If the current repo has its own .claude/skills/deploy-state/ or .agents/skills/deploy-state/, that version is authoritative. Follow it instead.
Read-only, with one exception: saving the lineup file after the user agrees (step 5). Never merge, push a branch, close an issue or deploy from this skill.
Read the agent instructions (AGENTS.md, CLAUDE.md), any deploy runbook or deploy skill, and the CI workflows. Find:
dev and main.A rule you could not find is Not found, not "none". When a rule uses a word it never defines (for example "large"), say it is undefined, give the numbers, and ask; do not decide it yourself.
Fetch first with a plain git fetch <remote> (do not prune or delete refs). Then collect five groups.
| Group | How to find it |
|---|---|
| On integration, not live | First compare the two trees: git diff --stat <prod> <integration>. Empty means nothing is waiting. Otherwise list what merged since the commit the last release actually shipped: the head of the last pull request merged into production that carried code. A version-bump or changelog bot pull request is not that release. |
| Open pull requests | Target branch, draft state, mergeable state and check results for the current head commit. |
| Unpushed local work | Branches and worktrees with unfinished work that exists only here. Name them as local only (see below). |
| Asked for, not finished | Work that is part of an active goal, or that the user asked to have implemented: from this conversation, the saved lineup, and any goal or plan file the repo's instructions name. It can be planned for the next deployment before it is built. An open issue alone is not a request. |
| Deploying now | A release merged but not yet confirmed live on every service. Use the host's CLI or API when the repo has one; otherwise report Not found. |
<prod>..<integration> and "ahead by N" overcount. Trust the tree diff and merged pull requests.gh pr list --state merged --head <branch> --json headRefOid) before listing it. Say how far back you looked.git merge-base --is-ancestor <remote>/<integration> <head>; if it fails, say the checks ran on an older base.UNKNOWN, checks that ran on an older head or older base, or checks that never ran mean unverified, not clean.Look for a saved lineup in this order: a path the repo's instructions name, .work-plan/next-deploy.md, docs/next-deploy.md.
If one exists, compare it with step 2 and report every difference: listed but already live, listed but missing or closed, waiting but not listed.
If none exists, say so, then propose one:
Lead with one line: what the next deployment is, or that no lineup is set. Then one table:
| Item | What users get | State | Before it can ship |
|---|
Example, invented data:
No saved lineup. Proposed next deployment: 2 changes on dev plus 1 PR (the size rule needs 5-10, or 2-3 large).
| Item | What users get | State | Before it can ship |
| #41 export limits | Larger exports | on integration | nothing |
| #44 sign-in fix | Fewer failed sign-ins | on integration | nothing |
| #47 saved filters | Filters stay after exit | PR unverified | rerun checks; migration after 0912 |
| #52 bulk delete | Delete many at once | planned, not started | build, review, checks |
Rule problem: 3 changes, only #47 is large. Options: wait for 2 more small PRs, or ship #44 alone if it qualifies as a named exception.
Later: #60 (open issue, not requested).
Not checked: whether #41 works on the live host.
Before asking, settle two things:
.work-plan/next-deploy.md when .work-plan/ exists, else docs/next-deploy.md. A path the repo's instructions name wins.gh repo view --json visibility). In a public repository, anyone can read the file in any folder.gh api repos/OWNER/REPO/pages), deploy workflows, and site configs (mkdocs.yml, docusaurus.config.*, _config.yml) that include the folder. A private repository can still publish a public site.Ask the user with the question tool if the host has one (AskUserQuestion in Claude Code), otherwise in a short numbered list. The question must:
Offer: save this lineup, change it, or don't save. Put the recommended option first. When the folder is published, never recommend saving there: recommend an unpublished path or not saving.
Save only after a yes, to that path. Write the date, the integration and production commits you checked, the items with their states, and open decisions. With --no-save, skip this step. Committing or pushing the file needs its own yes unless the repo's instructions already allow it.
| Mistake | Instead |
|---|---|
| Listing pull requests as ready without checking the current head | Mark them PR unverified |
| Repeating an issue note about what is built or live | Check the branch and the pull requests |
| Learning the release-size rule when CI fails | Read the enforcing script in step 1 |
| Ignoring migration dates | A change dated earlier than one already live may be refused: list the order |
| Leaving out finished local work | List it as local only |
| Leaving out requested work because it is not built | List it as planned |
| Treating every open issue as planned | Only goal items and explicit implementation requests |
| Asking to save without showing where, or who could read it | Name the path; say if the repository or folder is public, or that you did not check |
What SKILL.md sets; muted values are Claude Code's defaults
16 skills in this plugin
/analytics-instrumentationPostHog event taxonomy and instrumentation review - object_verb naming, flat property schemas, identify/reset/group calls, PII exclusion, LLM usage events, a starter dashboard set (activation, retention, feature funnel), and a per-feature checklist. Use when instrumenting a new feature, auditing existing PostHog events, or setting up analytics for a new product, e.g. "add tracking", "what events should we fire", "review our PostHog events", "is there PII in analytics"./api-designREST conventions for Next.js App Router route handlers — resource naming, versioning, cursor pagination, one error envelope, Zod request/response validation, status-code rules, OpenAPI generated from Zod, and response scrubbing (no secrets, hashes, or other users' data). Use when asked to "design an API route", "add a new endpoint", "review this route handler", "fix our error responses", or "generate API docs"./backup-verifyConfirm database backups exist AND actually restore, by enumerating Neon branch snapshots / Supabase scheduled backups / pg_dump artifacts, restoring into a scratch branch, running smoke queries, and recording timestamped evidence. Use before any risky migration or production mutation, and on a monthly cadence regardless./cdfUse when the user types /cdf or $cdf, or asks for issue numbers "comma-delimited". Output any list of GitHub issues as one plain comma-separated line of numbers, nothing else added./db-migration-safetyWrite or review Prisma and Supabase database migrations safely using the expand-contract pattern, idempotent SQL, and batched backfills. Use when adding/changing columns or tables, writing a migration PR, or reviewing one before merge — especially against Neon Postgres or Supabase in production./db-truthGround every database claim in the live database. Repo-agnostic — pre-work verification before any spec, plan, or code that touches tables (schema shape, M2M vs scalar, RLS/permissions, function properties), and post-apply verification that migrations actually landed (ledger, object existence, type regen). Defers to a repo-local db-truth skill when one exists. Use BEFORE designing anything DB-touching and AFTER every migration apply.npx claudepluginhub stylusnexus/agent-plugins --plugin ship-pipeline