are-we-done
[Adam''s Skills] Deterministic close-out gate for a session or work tree. Sweeps a fixed set of sources — the todo list, this session''s own promises, git…
[Adam''s Skills] Get the work done in this conversation all the way out — merged, and deployed to every environment the repo has, production included. Grounds itself first in the branches written during this session, the open and closed PRs behind them, and the environments and
$ npx -y skills add adamlinscott/claude-skills --skill ship-it --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ship-itContext preview
The summary Claude sees to decide when to auto-load this skill.
[Adam''s Skills] Get the work done in this conversation all the way out — merged, and deployed to every environment the repo has, production included. Grounds itself first in the branches written during this session, the open and closed PRs behind them, and the environments and
name: ship-it description: '[Adam''s Skills] Get the work done in this conversation all the way out — merged, and deployed to every environment the repo has, production included. Grounds itself first in the branches written during this session, the open and closed PRs behind them, and the environments and CI/CD workflows the repo actually defines, then lands and releases the work and verifies each environment is running the commit. If the release would carry other people''s unreleased changes along with it, summarises whose work rides along and asks for confirmation before touching production. Takes no arguments by default; an optional scope override such as "only staging" limits which environments it deploys to. Invoke with /ship-it.' disable-model-invocation: true allowed-tools: Bash, Read, Grep, Glob, AskUserQuestion
The work of this conversation is finished, or the user thinks it is. Your job is to get it **all the way out** — merged, released, and running in every environment this repo deploys to, production included — and to prove it got there rather than assume it did.
Two failure modes to hold in mind. The first is stopping early: a merged PR is not a shipped change, and a green deploy job is not proof the environment is running your commit. The second is shipping more than the user knows about: on most repos a release carries everything sitting unreleased on the target branch, which can include work by other people and other agent sessions. Section 4 exists entirely for that.
Take no action until you can name, from evidence, all four of these. Read; do not recall.
**The work.** What this session actually produced — the branches you created or committed to, and the commits on them. If the session is long or compacted and you cannot reconstruct it confidently, do not guess: check `git log --author` for the configured user, recent branches (`git branch --sort=-committerdate`), and the current branch, and state which of it you are treating as "the work" so the user can correct you.
**The PRs.** For each branch: is there a PR, is it open, merged, or closed-unmerged? A branch whose PR was closed without merging is a trap — the work looks done and is not. `gh pr list --state all --head <branch>` and `gh pr view` settle it.
**The environments.** What this repo actually deploys, and where. Do not assume a shape. Read the CI/CD definitions: `.github/workflows/*`, `gh api repos/{owner}/{repo}/environments`, plus whatever config is present — `vercel.json`, `fly.toml`, `Procfile`, `Dockerfile`, `.circleci/`, `charts/`, `terraform/`. Work out from those files what triggers each deploy: a push to a branch, a tag or release, a manual `workflow_dispatch`, or an external system Claude cannot reach at all.
**The route.** The ordered path from the branch to production — for example `branch → PR → main → auto-deploy staging → tag → production`. Name the base branch from the repo, not from habit.
If the repo defines no deploy mechanism you can see, say so and stop. Do not invent one.
Default: **every environment, ending at production.**
The user may pass an override — `only staging`, `staging only`, `skip prod`, `--env=dev,staging`. Honour it literally, narrowing which environments you deploy to and nothing else. Say in your final report which environments were deliberately left out, so a partial ship never reads as a finished one.
Bring each branch to merged, in dependency order. Open the PR if there isn't one; if a PR was closed unmerged, ask before reopening — that closure may have been deliberate.
Before merging, make sure the branch is current with its base. Rebase or merge the base in, whichever this repo does. On conflict, apply the policy in section 6.
Wait for required checks to pass. If a check fails on your own work, fix it — that is part of shipping. If it fails on something you did not touch, stop and report; do not merge around it.
Before anything reaches production, work out what else is going with it: everything on the target branch (or between the last release and the new one) that is not yours. Use `git log <last-released-ref>..<target> --format='%h %an %s'` — the release tag, the currently deployed SHA, or the last production deploy, whichever this repo makes knowable.
**If everything in the release is this session's work**, no gate. Proceed.
**If it is not**, stop and ask. First a **very short** summary — a few lines, not a changelog: each other author, and in plain terms what their change does. Then ask with the **AskUserQuestion tool** — a real "are you sure?", not a sentence in prose. Offer:
If the repo genuinely supports releasing only your commits, offer that as a third option. Do not offer it otherwise; a cherry-pick invented on the spot is worse than an honest question.
Never bypass this gate on your own judgement. If the user wants it skipped, that is `/ship-it-now`, which is their decision to make and not yours.
Deploy to each in-scope environment in the repo's own order, lowest first, production last. Trigger deploys the way the repo does it — merge, tag, release, or `gh workflow run`. Watch each run to completion (`gh run watch`); a queued job is not a deployed one.
Then **verify**, per environment, and prefer proof over inference: the deployed SHA from a health or version endpoint, `gh api .../deployments`, the platform's own CLI, or the release tag on the environment. If an environment cannot be verified from here, say exactly that — do not upgrade "the job went green" into "it is live".
If a deploy fails, stop the chain there. Report what failed, what is already live, and what your recommended next step is. Never quietly retry into production.
Resolve conf
Each skill lives under skills//SKILL.md and is the single source of truth; an install script links them into the global skills directory (~/.claude/skills/) so Claude loads them in every session, on every machine.
Repo: adamlinscott/claude-skills
[Adam''s Skills] Deterministic close-out gate for a session or work tree. Sweeps a fixed set of sources — the todo list, this session''s own promises, git…
[Adam''s Skills] DEPRECATED — superseded by /build-it. Do not use for new work. Surfaced the load-bearing assumptions behind a task before a long run — goal,…
[Adam''s Skills] Print a plain-English re-entry briefing for a user who has lost the thread of a long-running session — after a distraction, overnight, or over…
[Adam''s Skills] Build a piece of work, from wherever it is written down — a ticket number or URL, a plan or spec file, the plan agreed in the conversation…
[Adam''s Skills] Check whether the installed copy of this skills collection is behind its remote, and offer to update it. Runs a script that resolves the clone…
[Adam''s Skills] Audits a repository''s Claude context-injection setup — CLAUDE.md, CONTEXT.md, docs/, .claude/agents/, and the per-project memory directory.…