/dev-harness:pre-pr-gatesfrom dev-harness
Review kill-gates before opening or updating a PR. Use before every `gh pr create`, `gh pr ready`, "open een pr", "klaar voor review", or when reporting a feature branch as review-ready. Catches the recurring review classes that tests and typecheck do not: ghost versions, cancelled gestures that commit, swallowed DB errors, unwired production paths, oracle/predicate drift, sibling-page inconsistency, missing tenant-isolation tests, and stale PR descriptions. After the checklist, emit a `PRE-PR CHECK:` artefact before `gh pr create` (poort's PR gate in `tools/poort` checks it).
Ships in dev-harness. 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.
None: SKILL.md is the whole skill.
Run this after the render proof below on a frontend diff, and before a final code review and opening the PR. This skill is the open-PR gate.
The failure mode it kills: a PR that looks finished, then comes back from review with the same HIGH/blocking comments as the last five PRs.
When finished, write this line in visible assistant text (not thinking):
PRE-PR CHECK: ghost=ok; gesture-cancel=ok; except-rollback=ok; prod-path=ok; oracle=ok; siblings=ok; org-id=ok; description=ok; render=ok; console=ok; behaviour=ok; motion=n/a
Any gate that does not apply is n/a, never silently ok. A failing gate
is a code fix, not a waiver. If a PR-gate hook reads the
artefact from a state file, write it there in its OWN Bash call, before the
call that runs gh pr create: a write inside the same command is not seen.
poort's PR gate (tools/poort) ties the evidence to the exact commit.
Do not run gh pr create until every applicable gate is ok or n/a
(only behaviour may be unverified, see gate 10).
Error, empty, loading, and zero must not look the same.
For every async fetch this diff adds or touches:
.error is read in the template (or the computed that feeds it).Pattern: copy a sibling that already renders its error state. A new ?? []
on a failed fetch is a ghost.
If the diff binds @pointercancel or a drag/resize pointerup:
pointercancel is not the same handler as pointerup.Typical miss: drag has a dedicated cancel, but resize binds @pointercancel
to the pointer-up handler, which always saves.
except + live SQLAlchemy sessionIf the diff has except Exception (or a broad except) around DB work:
db.rollback() runs before the loop/caller continues.logger.exception, not swallowed silent).PendingRollbackError must not escape).A logged-and-continued except without rollback poisons the rest of the
request.
If the diff adds a column, flag, or helper:
ModelName( and db.add).Typical miss: a new date field is set in one create/update endpoint and never by the confirm action or the workflow step, so the feature never fires for most records.
If the diff adds a filter, realized-check, or date ladder:
If the diff changes a pattern used on more than one page (activity feed, empty state, message body, summary tile):
rg "<component-or-pattern>" <views-dir>/
If the diff adds a table or a tenant-scoped endpoint:
org_id, tenant_id), also when
the database enforces row-level security.If the diff fixes or adds a callback, handler, guard, redirect or early return:
rg every caller/trigger and list them in the
PR body or the VERIFIED: line.?raw import plus regex or
toContain on the source) pins text, not behaviour, and does not count.Typical miss: a fix patches one of three logout triggers, or a new guard ships with no test that hits its condition.
If the diff adds CREATE INDEX in a Postgres migration:
CREATE INDEX CONCURRENTLY. A plain CREATE INDEX on an
existing table SHARE-locks it for the whole build during deploy.Applies when the diff touches .vue, .tsx, .jsx, .css, .scss or
.html under a frontend directory. Otherwise write
render=n/a; console=n/a; behaviour=n/a; motion=n/a.
git diff --name-only. One
line per route with the expected fact (a number, a label, a position)
written BEFORE any render. "Looks right" is not a fact.render-proof (<url> <out.png> "" 1440),
then 768 and 390. Read each PNG and read the expected fact off it. A
mismatch is a code fix, not a note.e2e, npx --no-install e2e run). Not a hard gate, see
"When e2e counts" below. Logged-in, hover or drag state: claude-in-chrome with the
state visible in the screenshot, else UNVERIFIED.transition, animation,
@keyframes or motion props: run skill emil-design-eng.e2e is a nice-to-have and scales with the PR and the machine (table and
thresholds: skill e2e-rules).
behaviour=ok only
when green).behaviour=unverified, and put the reason and
the red tests in the PR body (UNVERIFIED: e2e overgeslagen: <reason>).
Never ok for a run that did not happen. This overrides "every gate ok or
n/a" for this gate only.pre-pr-gates) — the ten gates above.find-bugs — full-diff security/logic pass.code-review from mattpocock/skills).PRE-PR CHECK: artefact is written.The render proof is the "the screen is proven" gate. This skill is the
"this may become a PR" gate. The code review is the last human-shaped
read before gh pr create.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub robinbril/claude-code-harness --plugin dev-harness51 skills in this plugin
/animateBuild an animation from scratch, making the decisions in the order that determines whether it feels right — should it animate at all, what purpose, which tool, which properties, which curve and duration, how it interrupts, how it exits. Writes the implementation. Use when asked to animate something, add motion, make a component feel alive, or build a transition. For critiquing existing motion use review-animations; for auditing a whole codebase use improve-animations./animate-expoBuild animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and expo-haptics. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on device. For web animation use `animate`./animation-vocabularyReverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and wants the right word to prompt an AI or designer with. For naming an effect, not designing or building one./apple-designApple's approach to interface design and fluid, physical motion, translated for the web. Use when building or reviewing gesture-driven UI, spring animations, drag/swipe/sheet interactions, momentum and interruptible transitions, translucent materials and depth, typography (optical sizing, tracking, leading), reduced-motion, or the design foundations (feedback, spatial consistency, restraint) behind Apple-style interfaces./ask-sonnerGuide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and loading toasts, updating, dismissing and persisting toasts, styling, theming and icons, positioning and multiple toasters. Use when working with Sonner or troubleshooting it — toasts that don't appear, appear twice, lose their styles, ignore Tailwind classes, sit behind a modal, or don't follow dark mode./batch-grill-meA relentless interview that asks every frontier question at once, round by round.