/skill-madness:render-sanityfrom skill-madness
Performs a visual sanity check on UIs that pass tests but break when clicked: stale mock IDs, placeholder text, dead links, and unauthorized shells. Uses Playwright to navigate routes and verify real content.
Ships in skill-madness. 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.
Why this exists: "Tests pass, dev server boots, console is clean" is a process bar. It's not the same as "the app works." This skill is the missing semantic check between those two — it catches failure modes that render plausibly but are quietly broken.
This skill is not subjective. It does not evaluate visual hierarchy, typography, or polish — those are ux-review's job. It hunts four specific, objectively-verifiable failure modes that ship past every other gate.
Load and apply this skill even on a host with no browser and no shell. The checks below are what a full host runs. On a constrained host you still load the skill, build the route inventory from whatever source you can read, run every check the available tools allow, and mark each check you could not run as BLOCKED with the reason — never as a pass, and never as a refusal to start. "I can't run this without a browser, so I won't" is the one wrong answer: it is indistinguishable from a missing skill, and it discards the static smell scan (Check 1), which needs no browser at all. A partial, honestly-labeled report beats a clean decline every time.
Announce at start: "Using render-sanity to click through [N routes] and check for stale data, placeholder text, dead links, and auth dead-ends." On a host without browser tools, announce the degraded scope instead: "Using render-sanity in static-only mode — no browser here, so the route passes will be reported BLOCKED."
Each produces concrete file/route/text evidence — not "feels off."
The app may render. The text it renders may be garbage. For every page in the sitemap, grab document.body.innerText and grep for known smell patterns (lone ?, persistent Loading…, undefined, Couldn't load, repeated generic fallbacks, leaked mock IDs).
The full pattern table — universal smells plus how to derive project-specific patterns from the project's mocks/fixtures/seed files — lives in references/smell-patterns.md. Read it before running this check.
Pages that render a list of links (feed, catalog, search results, dashboard rows, recent items, leaderboards, threads, files — anything iterating a collection into <a> tags) are the most common silent-failure surface. The list renders fine; the items link to dead targets.
For every list page:
<a> inside the card / row / item container).href.Clicking the first item is sufficient to catch the systemic "all our list IDs are stale mocks" bug. If the first works and you have time, sample one from the middle and one from the end. This catches "every link in the list is dead because the data source is wrong," not "this one particular item happens to be missing."
For every route, navigate with no session and record the outcome:
| Outcome | Verdict |
|---|---|
| Public page renders real content | Pass |
Redirect to /login (or equivalent) | Pass |
Empty shell with persistent "Couldn't load X · Unauthorized" / "Failed to fetch" / blank ledger / — everywhere | Critical — pick one: gate with a real auth wall (redirect) OR fall back to a public read-only view. A dead-end-but-still-rendered page is the worst of both. |
| Console errors but no visible error state | Critical — the fetch is throwing, the page is silently broken |
| 500 / unhandled exception in network log | Critical — server bug, not UX |
If the project has any way to log in (seed creds, demo button, OAuth with a test account, magic-link in dev), sign in once with a known seeded user and re-walk every auth-gated route.
What to verify:
Finding seed credentials. Read seed/fixture files (db/seed.*, fixtures/, scripts/seed.*, prisma/seed.*, factories/, .env.example, README "Demo accounts" sections). If the project ships a LoginPage with hardcoded demo defaults or a "demo" button, use them — but verify they work against the running auth endpoint first (a quick curl POST is cheaper than discovering it at click-time).
If there is no way to sign in — that itself is a Critical. File as "Cannot enter the app as any user — sign-in path is broken or undocumented." Check 4 cannot be performed without one.
If the project has roles (admin/member, buyer/seller, teacher/student), sign in as at least one user per role with distinct UI affordances. The "admin sees nothing where a regular user sees a dashboard" case is real.
Read the router file (App.tsx, app/, pages/, src/routes/, etc.) and write down every route. Mark each as public, auth-gated, or role-gated based on <RequireAuth> / requireAuth / middleware patterns. Do this from code, not by clicking — a route in the router but not linked from any nav still counts.
If the inventory is large (>20 routes), prioritize:
:id params (highest bug density)# Probe common dev ports (extend if the project uses something exotic)
for p in 3000 3001 4000 4321 5173 8000 8080; do
if lsof -i :$p -t > /dev/null 2>&1; then
echo "Port $p is listening"
fi
done
# Hit the URL and confirm 200
curl -fsS http://localhost:<port>/ > /dev/null && echo "Frontend responsive"
Never call a pass against a dead port. But "the stack is down" is not a reason to abandon the skill: bring up the stack if you have a shell (pnpm dev / npm run dev from the project root, or the workspace's dev script); if this host has no shell, mark the live-navigation checks (2, 3, 4) BLOCKED — dev stack unreachable, no shell and continue with the source-derivable work in Step 1 and Check 1. Only if neither route is available and no source is readable do you report the skill as fully blocked — and you still deliver the route inventory and the BLOCKED rows rather than a bare refusal.
Full host: dev stack down and no way to start it → report the run as BLOCKED (not PASS). Constrained host (no shell/browser): skip straight to the static-only path — the route inventory from the router file plus the Check 1 scan — with the browser-dependent checks BLOCKED.
For each route in the inventory:
references/smell-patterns.mdThen sign in as a seed user (or hit the demo button) and re-walk auth-gated routes for Check 4.
Static-only mode (no browser tools). If the host exposes no browser tool, do not
invent observations and do not stop. Instead: build the route inventory from the router
file, run Check 1 as far as source allows (grep the rendered text constants, mock imports,
placeholder vocabulary, and the routes' data sources with whatever read tools you have),
and mark Checks 2–4 BLOCKED with the reason. The static pass alone catches the highest-value
class — a live page wired to mocks.ts — because that is a source fact, not a pixel fact.
Save to docs/render-sanity-YYYY-MM-DD.md using the template in references/report-template.md. The template's structure is fixed so a reviewer can scan any render-sanity report and find the same sections in the same order. Every check you could not run is a BLOCKED row with its reason — never omitted, never written up as a pass.
A FAIL is a gate, not a recommendation. The orchestrator's Definition of Done depends on render-sanity returning PASS on a UI build; an INCOMPLETE run means the gate did not clear, and the orchestrator must supply a host that can run the blocked checks (or accept a static-only result at the user's explicit direction).
Many hosts expose only skill loading, file reading, or plain text. The skill still loads, and it still produces a report — the shape changes like this:
| Step / Check | Full host (browser + shell) | Constrained host (no browser / no shell) |
|---|---|---|
| Route inventory (Step 1) | From the router file | From the router file — unchanged |
| Check 1 — smell scan | document.body.innerText per route | Grep rendered-text constants, mocks/fixture imports, placeholder vocabulary, and each route's data source in source — a partial pass, marking routes you could not observe |
| Check 2 — click-through | Navigate the first item's href | BLOCKED — needs a browser |
| Check 3 — signed-out matrix | Navigate every route signed out | BLOCKED — needs a browser |
| Check 4 — signed-in matrix | Sign in, re-walk auth-gated routes | BLOCKED — needs a browser + seeded creds |
The static pass is not worthless: the highest-value bug class this skill catches — a "live"
page importing mocks.ts — is a source fact, plainly visible without a browser. Report
it Critical even in static-only mode. What you must not do is guess the browser-dependent
checks: mark them BLOCKED with the reason and move on.
ux-review. This skill has no opinion about aesthetics.accessibility-audit.performance-agent.qe-agent / contract-auditor.qe-agent.This skill catches one specific failure mode: the app renders, but renders broken content that humans can see and machines couldn't tell from the test suite alone. Keep it focused.
orchestrator is the primary invoker. It calls render-sanity during post-build verification, BEFORE ux-review — render-sanity catches broken-content failures; ux-review then assesses polish on a known-good shell. A render-sanity FAIL blocks the build's Definition of Done.ux-review MAY invoke render-sanity as a precondition. When it does, the render-sanity report becomes the "Critical Issues" section of the ux-review report.feature-dev:feature-dev SHOULD invoke render-sanity after a feature is wired end-to-end, before declaring "the feature works."? / Couldn't load / dead links.(route, pattern, matched text) or (source list, first link, destination, outcome). No "feels broken."references/smell-patterns.md — Check 1's universal smell pattern table plus project-specific derivation guidancereferences/report-template.md — the markdown skeleton for Step 4's report + pass/fail decision ruleWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
visual-testing, ui-validation, playwright, smoke-test, render-check
npx claudepluginhub ivy00johns/skill-madness --plugin skill-madness87 skills in this plugin
/accessibility-auditAudit and fix web accessibility against WCAG 2.2 AA, Section 508 and the ADA: axe scan, keyboard, screen-reader and zoom checks, plain-language content and PDFs, source fixes, and an honest conformance report (ACR/VPAT draft). Use for any a11y review, fix or compliance question. Trigger on "accessibility audit", "is this ADA compliant", "Section 508", "WCAG", "VPAT", "a11y"./andonRun work through a live Andon board (the kanban that dispatches cards to Claude Code, Codex and Gemini on your machines): push a plan's cards with the skills each run must load, read the board, answer what needs you, administer a machine, and refresh this skill when Andon changes. Trigger on "/andon", "put this plan on andon", "what needs me on andon", "why isn't my card running".
/Other plugins' skills for the same job