/ship-pipeline:prove-itfrom ship-pipeline
End-of-work evidence protocol that proves a feature WORKS, not that checks pass. Repo-agnostic — discovers what CI actually gates (often far less than a green check implies), runs both static gates, targeted tests, terminus checks for threaded values, one real persistence round-trip, and render-surface verification, then emits a claim→command→result evidence table. Defers to a repo-local prove-it skill when one exists. Use before declaring any feature done and before shipping.
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.
Features have passed build + typecheck + tests + review + deploy and still been dead in production, because no gate ever exercised the real write. Green checks measure what the checks measure — this skill measures whether the feature works. It ends in a table where every claim carries the command that proves it.
If the current repo has its own .claude/skills/prove-it/ or .agents/skills/prove-it/, that version is authoritative — follow it instead. This global version is the fallback.
Announce at start: "Running /prove-it verification."
The rule underneath every step: a claim without a command is labeled UNVERIFIED in the final table. An honest UNVERIFIED outranks a confident guess.
Read the repo's CI workflows once (.github/workflows/). Many repos gate far less than their green checks imply — lint-only PR gates are common, and some builds skip type-checking (ignoreBuildErrors). Everything CI does NOT run, you run locally.
Run the typecheck AND the build — neither substitutes for the other (builds catch bundler/route/import errors types miss; typecheck catches what a lenient build ignores). If the repo tracks a baseline error count, compare against it and state both numbers.
List every value the change threads through ≥2 hops (UI → state → route → service → DB, or config → orchestrator → downstream call). For each, point to the test at the terminus proving arrival. Threaded values survive every intermediate hop's review and die unobserved — this is a recurring silent-drop bug class.
If the feature persists anything: perform ONE real write through the production entry path (the API route / orchestrator — not a direct service call, which bypasses routing, budgeting, and error handling) against a local stack, then read it back and show the result.
For anything user-facing: load the actual route in a browser or a quick E2E spec — a component file existing is not proof it renders. Verify the route, the mode, and reachability; check the console. If the feature has multiple creation/entry surfaces that don't share code, verify each. Repeatable click-paths get formalized as a script; ad-hoc clicking is one-off sanity only.
If the change touches a path that charges, meters, or debits: enumerate EVERY early return after the charge point — each must refund/rollback, each with a dedicated test. Loops that gained side effects: state why concurrent invocation is safe (queues are usually at-least-once).
The table is the deliverable:
| # | Claim | Command / location | Result |
|---|------------------------------|--------------------------------|---------------|
| 1 | Types clean (baseline N→N) | <typecheck cmd> | PASS |
| 2 | Build passes | <build cmd> | PASS |
| 3 | New behavior tested | <test file> (fails w/o change) | PASS |
| 4 | Value reaches terminus | <query / test> | PASS |
| 5 | Renders at <route> | browser / e2e + console clean | PASS |
| 6 | <anything unprovable> | — | UNVERIFIED: … |
UNVERIFIED rows get one line of why and what it would take. Never promote UNVERIFIED to PASS by rewording.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub stylusnexus/agent-plugins --plugin ship-pipeline16 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.