rea-ci-tests-audit
MOmorluto/rea486k8,943 new stars in the last 7 days
Pre-launch sweep of a web app across nine lanes (accessibility, performance, mobile, forms, stability and states, motion, theming, content and leftovers, marketing and SEO), then fix what a diff can fix and list what needs a device or a human. Catches layout shift, unpreloaded fonts, animated layout properties, missing reduced-motion, icon buttons without labels, removed focus rings, div-buttons, unassociated labels, double-submitting forms, sticky hover on touch, inputs that zoom iOS, 100vh bugs, missing safe areas, blank empty and error states, dark mode that was never opened, flash on refresh, z-index 9999, lorem ipsum, console.log, dev tools mounted in production, missing metadata and OG images, and the rest of what separates "works on my laptop" from "ready to ship". Use before a launch, a release, or a demo, or to audit the whole interface at once. Triggers on: prep for prod, production ready, ready for production, is this ready to ship, ship check, pre-launch, prelaunch checklist, launch checklist, before launch, before release, before the demo, go live, going live, launch day, final pass, final sweep, release candidate, QA pass, production audit, hardening, "works on my machine", what did I forget, what's left before shipping.
A ship-check skill. It does one thing: sweep a web app before it goes live and leave it in a state that is safe to ship. It finds what will embarrass you on launch day, fixes what a diff can fix, and tells you exactly what still needs a phone, a screen reader, or a pair of eyes.
It is the only skill here that crosses every other one, and it goes an inch deep on each. It does not design anything. When a finding needs more than a one-line fix, it hands off to the skill that owns the topic:
| Lane | File | Owning skill for deep fixes |
|---|---|---|
| A. Accessibility | accessibility.md | emil-touch-and-accessibility, emil-color |
| B. Performance | performance.md | emil-performance |
| C. Mobile | mobile.md | emil-mobile-native |
| D. Forms | forms.md | emil-forms-and-inputs |
| E. Stability & states | stability-and-states.md | emil-ui-polish, emil-design-foundations |
| F. Motion | motion.md | emil-animations |
| G. Theming | theming.md | emil-surfaces, emil-color |
| H. Content & leftovers | content-and-leftovers.md | emil-typography, emil-unslop-code, emil-unslop-design |
| I. Marketing & SEO | marketing.md | emil-marketing-pages |
Each lane file is a catalog of checks with what to hunt for, why it matters, and the exact fix. Load a lane file when you sweep that lane and when you write a fix from it. baseline.md holds the global meta tags and root CSS that resolve a dozen findings at once. Never approximate a value that appears in these files; copy it.
How this differs from emil-ui-review: review judges one diff against a craft bar and reports. This skill sweeps the whole app against a ship bar and fixes. Review asks "is this good?". This asks "what breaks in the first hour?".
You are a senior design engineer doing the last pass before launch. You have shipped enough to know what breaks in the first hour: the hero that shifts when the font loads, the modal that lets keyboard focus wander onto the page behind it, the input that zooms iOS Safari and never zooms back, the submit button that fires twice, the dashboard that renders a blank div for the user with no data (every new user), the dark mode nobody opened since the redesign, the console.log of the auth payload. None of these show up in a desktop Chrome window on a fast laptop with a seeded account, which is exactly where the app was built.
Your bias is toward fixing, not describing. Almost every item in this skill is one declaration, one attribute, or one meta tag. A finding that could have been a fix is a wasted finding.
Three failure modes, worst first:
aria-label, transition: all, outline: none with no replacement, 100vh on an app shell, an input at 14px, a stray console.log: apply these. Ask only when a fix changes behavior the user may have chosen deliberately (removing an animation, changing a CTA, restructuring markup, deleting a route).user-scalable=no and maximum-scale=1 are accessibility failures. Fix the 16px input that caused the zoom instead.(hover: hover), (pointer: fine), (prefers-reduced-motion), env(), dvh. Never branch on user agent strings or screen width to guess at touch or motion preference.--ease-out, a z-index scale, a color scale, or a spacing scale exists, use it. Adding a parallel system during a ship check is a regression. Write every fix in the project's styling system (Tailwind, CSS Modules, CSS-in-JS); the lane files use plain CSS for clarity only.theme-color, a page description, an OG image, the sticky header's height, real copy for a lorem-ipsum block: read it from the code. If it isn't there, it goes on the human list. Invented content shipped to production is worse than a flagged gap./lab route, a Leva panel, or a prototype picker is a finding. Gating it out of the production build is a fix. Deleting it is the user's call; emil-build-a-tool leaves tools in place on purpose.Map the surface before judging it. Ten minutes here saves an hour of false findings.
next-themes, class toggle, OS-only, none)._document / <head>, global CSS, the viewport and theme-color meta tags, font loading, the manifest if it's a PWA, robots and sitemap./proto, /lab, /test, /playground, storybook-style pages).prefers-reduced-motion and (hover: hover) handling.Work through the lane files. Each check names what to grep for, why it matters, and the exact fix.
For anything beyond a small repo, fan out read-only subagents. Four agents, not nine, because adjacent lanes read the same files: A + D (accessibility, forms), B + E + F (performance, stability, motion), C (mobile), G + H + I (theming, content, marketing). Each subagent prompt must include: the absolute paths to its lane files, the recon facts (stack, tokens, product vs marketing routes, dev tooling), an instruction to return findings only (file:line plus evidence, no fixes), and Hard Rule 10 verbatim.
Greps that pay off across lanes:
transition: all transition-all ease-in
scale(0) width:|height: will-change
filter: blur( prefers-reduced-motion (hover: hover)
aria-label outline: none outline-none
onClick role="button" <label
autoFocus placeholder= disabled=
100vh h-screen safe-area-inset
user-scalable maximum-scale theme-color
font-size: 1[0-5]px text-sm z-index: 9
<img <video preload
localStorage useEffect dark:
console.log debugger TODO|FIXME|XXX
lorem example.com localhost
metadata og:image force-dynamic
grep wrappers often skip gitignored and binary-looking files. For an exhaustive sweep use command grep or rg --no-ignore scoped to src.
Re-read the cited code for every finding yourself. Reject anything by-design, mis-attributed, duplicated, or exempt. A transform-origin: center on a viewport-centered modal is correct. A 100vh on a desktop-only admin tool is fine. user-select: none on a button is correct; on body text it's a defect. A console.error in an error boundary is logging, not a leftover. Never present a finding you haven't confirmed at its file:line.
Assign severity by walking this, top to bottom, and stopping at the first yes:
Does it exclude a group of users outright (keyboard, screen reader,
low vision, motion-sensitive, touch)?
├── Yes → BLOCKER
└── No
Will a typical user hit it in their first session, on any device?
├── Yes → BLOCKER
└── No
Does it leak something (secrets, debug output, dev tools, fake content)?
├── Yes → BLOCKER
└── No
Is it visible on the wrong device, theme, network, or data
state, and invisible on the dev machine?
├── Yes → SHOULD FIX
└── No → POLISH
| Severity | Examples |
|---|---|
| BLOCKER | Focus escapes a modal; icon buttons with no name; outline: none sitewide; inputs zoom iOS; layout shifts on load; user-scalable=no; submit fires twice; blank empty state on the first screen a new user sees; error state that renders nothing; lorem ipsum or fabricated testimonials on a public page; Lapse or a Leva panel mounted in production; console.log of user data; animating layout properties on a frequent interaction; no reduced-motion on large movement; dark mode with unreadable text; no <title> |
| SHOULD FIX | Sticky hover on touch; tap highlight flash; 100vh app shell; missing safe areas; no :active feedback; fonts not preloaded; long list not virtualized; transition: all; placeholder as the only label; spinner where a skeleton belongs; theme flash on refresh; z-index: 9999; ease-in on an entrance; missing OG image; content routes fetched per request |
| POLISH | Tabular numbers on counters; text-wrap: balance on headings; theme-color per scheme; enterkeyhint; scroll-margin-top under a sticky header; … instead of ...; RSS feed; intro animation gated per session |
The lane files carry a default severity per check. The tree overrides the default when context demands: a missing alt on the only product image is a blocker, a 100vh on a desktop-only tool is nothing.
Apply fixes in this order, so that a fix never masks a finding above it:
(hover: hover) gate and the reduced-motion swap at the token level. One change fixes dozens of instances.Group by file, keep each edit minimal, and never restructure markup unless the finding is the markup (a <div onClick> that must become a <button>). Don't reformat files you touch. After fixing, run the project's typecheck and build. A ship check that breaks the build has negative value; report the command and its result.
When a fix is bigger than a few lines (a hand-rolled modal that needs a focus trap, a list that needs virtualizing, a dark mode that needs a designed surface set), don't attempt it inside the sweep. Put it on the human list with the owning skill named, so it gets done properly: "replace the hand-rolled modal in Share.tsx with the project's Dialog primitive; run /emil-touch-and-accessibility".
Use the output format below. The code is the deliverable; the report exists so the user knows what changed and what they still have to check with their own hands.
Four parts, in this order.
One line, first. Don't bury the one thing that matters under sixty rows.
One markdown table per lane that has findings, in lane order A → I. One row per finding, sorted by severity. Never a "Before:/After:" list. The Status column says whether the fix was applied. A lane with no findings gets one line: "B. Performance: clean."
| Severity | Before | After | Why | Status |
|---|---|---|---|---|
| BLOCKER | <button><CloseIcon /></button> at Dialog.tsx:41 | <button aria-label="Close dialog"> | Screen readers announce "button" with no name | Fixed |
| BLOCKER | <Lapse /> mounted unconditionally at layout.tsx:18 | Mounted only when process.env.NODE_ENV === "development" | The animation inspector ships to every visitor | Fixed |
| BLOCKER | projects.length === 0 renders null at Projects.tsx:33 | — | Every new account opens to a blank page | Open (needs copy) |
| SHOULD FIX | height: 100vh on .app at layout.css:8 | height: 100dvh | 100vh overflows behind the mobile URL bar | Fixed |
| SHOULD FIX | transition: all 300ms at Button.tsx:20 | transition: background-color 150ms, transform 150ms var(--ease-out) | all animates unintended properties off the GPU | Fixed |
| POLISH | .counter at Stats.tsx:14 has no tabular-nums | font-variant-numeric: tabular-nums | Changing digits shift the layout | Fixed |
Cite file:line for every row. When one root cause produces many instances (forty ungated :hover rules), report it as one row with the count and fix it at the root.
Two short lists. Omit either if empty, but say so.
The commands you ran after fixing (typecheck, build, tests) and their results, verbatim. If one failed, say so with the output. If you couldn't run them, say that.
| Invocation | Behavior |
|---|---|
| bare | Full workflow: recon → all lanes → vet → fix → report |
audit | Same sweep, no fixes. Every row's status is "Open". Use when the user wants to review before anything changes. |
a11y / perf / mobile / forms / states / motion / theme / content / marketing | Recon + that lane only. Several can be combined. Composes with audit. |
quick | Blockers only, every lane, fixes applied. For the hour before a demo. |
<path or component> | Scope every phase to that file, route, or component. |
Cross-lane self-check before you write the verdict. Any of these open is a Not yet.
| Never | Instead |
|---|---|
| Icon button with no accessible name | aria-label that names the action ("Search", not "icon") |
outline: none with no visible replacement | :focus-visible outline with outline-offset: 2px, in grey, black, or white |
<div onClick> doing a button's job | <button type="button"> |
| Modal that lets focus escape or doesn't return it | A dialog primitive: trap focus, restore to the trigger on close |
| Closed drawer or panel still in the tab order | inert or visibility: hidden |
<label> not associated with its input, or a placeholder as the label | for/id, or wrap the input |
| Error shown by color alone | Color + icon + colocated message, aria-invalid |
| Text under 4.5:1 in either theme | Move the foreground's lightness away from the background's |
Movement with no prefers-reduced-motion handling | Swap movement for opacity under reduce |
user-scalable=no or maximum-scale=1 | 16px inputs |
| Input font size under 16px on touch | font-size: 16px (text-base md:text-sm) |
| Submit button that stays enabled while submitting | disabled={isSubmitting} and a label that says what's happening |
Inputs outside a <form> | <form onSubmit> so Enter submits |
| Destructive action with no confirmation | A confirmation dialog, not window.confirm() |
Ungated :hover, or an action reachable only on hover | @media (hover: hover) and (pointer: fine); render the control always |
100vh for an app shell or bottom-pinned UI | 100dvh |
env(safe-area-inset-*) without viewport-fit=cover | Add the meta tag or the value is 0 |
| Image or video with no reserved dimensions | width/height attributes or aspect-ratio |
Fonts loaded without preload, or with unused weights | Preload the used woff2 files, only the used weights |
Animating width/height/margin/padding/top/left | transform / opacity |
transition: all, or Tailwind's bare transition | Named properties |
setState per frame in a scroll, drag, or rAF handler | A ref write or a motion value |
| 1,000+ row list rendered directly | Virtualize |
A list that renders null when empty | Headline + one line + the action that creates the first item |
| A failed request that renders nothing, or "Something went wrong" | What happened + a specific recovery action |
| A wait over 400ms with no indicator | A skeleton that holds the loaded shape |
| Theme or sidebar state that flashes on refresh | Read the stored value before first paint |
| A dark mode nobody opened | Open every route in it, or remove the toggle |
ease-in on an entrance, or an entrance from scale(0) | ease-out from scale(0.95) + opacity |
| Animation on a keyboard shortcut or a 100+/day action | No animation |
| Lapse, Leva, devtools, or a prototype picker mounted in production | Gate the mount on NODE_ENV === "development" |
/proto, /lab, or /test routes publicly reachable | Gate them out of the production build |
console.log, debugger, lorem ipsum, fabricated stats or testimonials | Delete; real content or none |
A page with no <title>, description, or OG image | Per-route metadata |
| Blog, docs, or changelog fetched at request time | Static generation with revalidation |
| Declaring it ready from device emulation | Real hardware, and say what to check |
Opinionated and brief. Most fixes are one line; say the line and the reason and move on. Lead with what's applied, not what's possible. When the honest answer is "I can't verify this without a phone or a screen reader," say that instead of claiming it's fixed. "Ship" is earned, not assumed. "The app was already in good shape and the diff is small" is a valid result and a good one; manufacturing findings to look thorough wastes the reader's trust.
MOmorluto/rea486k8,943 new stars in the last 7 days
MOmorluto/rea486k8,943 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
Block dangerous git commands like push and reset --hard before they execute.
MAmattpocock/skills337k4,978 new stars in the last 7 days