ship-check
Run what CI runs, then fresh reviewers on the diff until clean. Use before any push, PR update or "done".
SKILL.md.claude/skills/ship-check/SKILL.md
GitHubShip check
1. Find what CI runs
In order of preference:
- A repo skill named
verify(.claude/skills/verify/SKILL.md): follow it and stop here. - A
verify(elseci) script inpackage.json. Never runshipordeploy; run the non-deploy steps ofshipby hand. Acheckscript alone is not enough (lint, typecheck and unit tests only,publishskill): also run the.github/workflowssteps it leaves out (3). - The steps in
.github/workflows/*.ymlthat run onpull_request. - Otherwise whatever exists of: lint, typecheck (
vue-tsc --noEmit,tsc --noEmit,nuxt typecheck,pyright), tests (vitest run,npm test,pytest), build.
Run them. If one fails, fix the cause and rerun; never skip, disable or loosen a check to get
green. If the repo has none of this, say so and suggest adding a verify script.
2. Review the diff
The writer misses its own mistakes: a model reviewing its work in the same context waves through most of them and catches them when shown the same diff fresh. So the review is never yours alone:
- Hand
git diff origin/HEAD...(or against the base branch) to thecode-revieweragent with only the diff, the task goal in one or two sentences, and the checklist below. Not your reasoning or plan: it should judge the code, not your story about it. - Fix every blocking finding, rerun step 1, then hand the new diff to a fresh
code-revieweragent. Repeat until a pass finds nothing blocking; each pass tends to find more. - Optional findings: fix the plainly correct ones, skip the rest.
The checklist, for the reviewer and for your own read:
- Secrets, tokens, personal data, real emails in code, tests, fixtures or screenshots?
.envfiles staged?VITE_*/NUXT_PUBLIC_*holding anything secret? - Outside text (web, mail, user input) reaching SQL, a shell, a file path,
v-html/innerHTML, or a model's system prompt? - New routes without auth, write routes without CSRF protection where the app uses cookies?
- Leftover
console.log, debug flags, commented-out code, TODOs you introduced? - Tests for the new behavior? Did they fail before the change?
- Anything unrelated to the task? Move it to its own PR.
For changes touching auth, payments, tools or connectors, also run the security-reviewer
agent. For UI changes, run the ui-review skill.
3. Push
Push only when everything above is clean. After pushing, watch CI and fix what it finds; checks you could not run locally (Docker builds, secret scanners, deploy previews) still count.