Runs a screen or component against worst-case data by mapping every rendered value, swapping in extreme fixtures through the same data boundary, and reporting every break.
Ships in userinterface. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill runs a screen or component against the worst data it can receive. It maps every value the screen renders, swaps in a worst-case fixture through the same boundary as the demo data and records what breaks.
Each limit comes from the validation schema, the database column or the API contract. Where none of the three sets one, the map says "no limit found" and the longest case applies. The cases in the catalog are exact strings, so paste each one as written. Run it on any screen that shows data a person or another system writes.
Longer translated and pseudo-localised interface text, other scripts, mirrored layouts and the width set belong to viewports. Which states a screen shows, such as empty or failed, belong to states. Combinations the data should never hold belong to invariants. Opening the running result belongs to verify. A break another skill owns cites that skill's id, such as viewports-no-clipped-text.
List every value the screen renders. Beside each one, write its source and its limit, read from the validation schema, the database column or the API contract.
Value Source Limit
title projects.title varchar(255), no minimum
owner name users.name no limit found
owner avatar users.avatar_url no limit found
progress tasks API, done / total 0 to 100, not enforced
due date projects.due_at timestamptz, nullable
A fixture built before the map tests only the values someone remembered, and is stress-map-every-value. Note where two limits disagree, such as an input capped at 50 characters that saves to a 255-character column. That mismatch is reported under invariants.
When the user gives read access to real data, add the longest stored value of each text field beside its limit. Query lengths only, such as SELECT max(length(title)) FROM projects, and never copy a real value into the fixture. Never write to that database. A schema limit with the real longest value left unchecked is stress-longest-real-value.
Build the worst-case fixture beside the demo data. Load it through the same boundary the demo data uses: the fixture file, the mock handler or the component's props. Text typed into the rendered markup or the DOM skips the code that formats, escapes and truncates it, and is stress-change-the-data.
Write each fixture value literally, or generate it from a fixed seed. Pin "now" to one instant, such as 2025-06-15T12:00:00Z, and set every date relative to it. Hand the screen's clock the same instant, through page.clock.setFixedTime() in the test browser, a now prop or the formatter's reference date. Otherwise the "Now" case reads "1 year ago". Math.random(), an unseeded generator or new Date() gives new rows on each reload, so a break cannot be shown twice. That is stress-fixed-fixture.
Serve the data sets from the test browser first, so the app gains no code. Intercept the screen's requests with Playwright's page.route or a Mock Service Worker handler and answer with the fixture. A permanent in-app switch on a screen that fetches its data is stress-intercept-first.
The sets are Demo, Worst Case, Empty, One and 1,000 Rows. Build 1,000 Rows by cycling the catalog's cases, so no two neighbours match.
The worst responses come too. Slow delays every response 3 seconds and then serves the demo data, and Failed answers every request with a 500. What the screen shows then belongs to states. Handlers that only serve good data are stress-slow-and-failed.
Add an in-app switch only when no request boundary exists, such as data imported at build time. It reads and writes ?data= as demo, worst, empty, one, 1000, slow and error, so a reload keeps the case. Build it with the project's own components.
Render the switch in development only and gate the fixture loader the same way. A switch or fixture reachable in production is stress-dev-only-switch.
Fill each mapped value with every case in catalog.md that fits its type. Add two cases per limit in the map: a value exactly at the limit and one a character past it. A case skipped because "nobody has a name that long" is stress-run-the-catalog.
Render each case inside the component's real container at the width it ships at, such as a 280px sidebar or a three-column grid at 1440. A card checked alone on an empty full-width page is stress-real-container.
Record each break with the case, the value and what happened. A break is text past its box, an ellipsis with no way to read the rest or wrong initials. It is also markup that runs, NaN, Invalid Date, a raw float, a crash or a value lost on save.
For every case a form can edit, open the form, save without changing anything and reopen it. A value the round trip changed is a break. Screenshot every case that breaks.
Keep the worst-case fixture and its route handlers or switch after the run, beside the demo data. When the project has component, snapshot or visual tests, add one that renders the fixture with the runner it already uses. A fixture deleted once the screen looks fine is stress-keep-the-fixture. When the project has no tests, the fixture and its handlers are the regression check.
Return one screenshot per broken case, then the findings in the same order. A finding with no case named, such as "long names overflow", is stress-name-the-case.
Every check is a pair. The broken line sits beside the line that replaces it.
| Rule | Broken | Replacement | Severity |
|---|---|---|---|
stress-map-every-value | A fixture of the three values someone remembered | Every rendered value listed with its source and limit | MEDIUM |
stress-longest-real-value | "Titles are varchar(255)" with the stored data never measured | "Titles are varchar(255), the longest stored is 212", with both lengths in the fixture | LOW |
stress-change-the-data | A long name typed into the DOM | The name in fixtures/worst.ts, loaded through the props | MEDIUM |
stress-fixed-fixture | Names from an unseeded generator, dueAt: new Date() | The generator seeded with 7, now = "2025-06-15T12:00:00Z" and dueAt 3 days after now | MEDIUM |
stress-intercept-first | A ?data= switch added to a screen that loads through fetch | page.route("**/api/projects", ...) answering with fixtures/worst.ts | MEDIUM |
stress-slow-and-failed | Handlers for Demo and Worst Case only | A Slow set holding every response 3s and a Failed set answering 500 | MEDIUM |
stress-dev-only-switch | ?data=worst working on the production site | The switch and the fixture loader gated to development | HIGH |
stress-run-the-catalog | "Nobody has a name that long" | Christopher Alexander Montgomery III rendered in the row | MEDIUM |
stress-real-container | A card checked alone at 1440 | The card inside the 280px sidebar it ships in | MEDIUM |
stress-keep-the-fixture | The fixture deleted after the run | fixtures/worst.ts kept and rendered by the existing visual test | LOW |
stress-name-the-case | "Long names overflow" | "At 280px, the 64-character email pushes the role off the card" | LOW |
Severity. Each rule's level is in its pair row. HIGH breaks behaviour or loses work, MEDIUM is visible and inconsistent and LOW is polish. When two levels fit, take the higher one and say why. A break another skill owns, such as clipped text, takes that skill's row level. Markup that runs, a crash or a lost save is HIGH.
Format. One finding per root cause, naming the case and the width:
1. file:line - [rule-id] case, at 280px, what is wrong (measured values)
Then a Rule | Count | Severity summary. Block when any HIGH remains, Approve otherwise. Mark every case the data boundary could not carry as Not verified, such as a slow image with no way to delay the response.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
stress-testing, edge-cases, data-validation, component-testing
/userinterface:stressfrom userinterface
npx claudepluginhub raphaelsalaja/skills --plugin userinterface35 skills in this plugin
/alignmentMeasures a running page for edges, gaps, centring and radii that miss by a pixel or two, then judges visual weight and returns a numbered report with proof./animateFinds where content teleports between states and adds the smallest motion that explains each change, gated by how often it happens./auditReviews a change, a session or a whole codebase against every skill in this collection and returns one ranked, numbered report./avatarDraws any object as a flat character with two capsule eyes, then animates its whole body so it glances, blinks, breathes, follows the pointer and falls asleep.Other plugins' skills for the same job