Worst case UI tester
Tests your screens with the messiest real data at phone and desktop sizes, then fixes whatever breaks.
Claude's review
7/10 Concrete worst-case data list, Playwright measurement snippet, fix patterns and a before/after report; clearly better than eyeballing a component.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Use when the user asks to stress-test a component or screen, try the worst case, find edge cases in a list, card or table, or check it survives real data before launch. Renders it with the worst real data at phone and desktop width, measures what overflows, breaks or reads wrong, fixes the component (not the data) and measures again. Not for a full design or accessibility review (review-ui-code).
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: test-ui-worst-case
description: "Use when the user asks to stress-test a component or screen, try the worst case, find edge cases in a list, card or table, or check it survives real data before launch. Renders it with the worst real data at phone and desktop width, measures what overflows, breaks or reads wrong, fixes the component (not the data) and measures again. Not for a full design or accessibility review (review-ui-code)."
license: MIT (see LICENSE)
---
# Test a component with the worst real data
Demo data is written to look good. Real data has a 40-letter surname, an email with no place to break, no avatar, zero rows and a count in the millions. A component is done when it survives those.
## 1. Find what it takes
Read the component and where its data comes from: each field, its type, whether it can be missing, and what the person does in it (a button, a link). Note the widths the project supports; with none stated, use 390 and 1280.
## 2. Write the worst cases for each field
Pick only what the field can really receive:
- text: empty, one character, 80 characters with spaces, 60 with none (`averyveryverylong…@example.com`), right-to-left text, emoji
- missing: the field absent, `null`, an empty string
- images: no URL, a URL that 404s, a very tall or wide image
- numbers: 0, 1, 1,234,567, negative if it can be, a long decimal
- lists: none, one, many (enough to scroll)
- dates: today, years ago, missing
Write them as one or more data files in the component's own format, next to the demo data. Keep the demo data unchanged.
## 3. Render and measure
Load the real component with each data set at both widths, in a headless browser (Playwright). Measure, don't eyeball:
```js
// inside page.evaluate, for each card or row element `el`
const box = el.getBoundingClientRect();
const over = [...el.querySelectorAll('*')].filter((c) => c.getBoundingClientRect().right > box.right + 1);
const pageScroll = document.documentElement.scrollWidth > innerWidth;
const broken = [...document.images].filter((i) => i.complete && i.naturalWidth === 0);
const words = document.body.innerText.match(/\b(?:undefined|null|NaN)\b|\[object Object\]/g);
```
...From Heyvhuang's repository, MIT licence.
Related skills
-
Checked
ComfyUI custom node UI
Adds widgets, sidebar tabs, commands and dialogs to ComfyUI custom nodes, so your node feels built in.
7/101 credit -
Checked
Scrolling menu upgrade
Finds outdated react-horizontal-scrolling-menu code and rewrites it for version 8 so the menu works again.
7/101 credit -
Checked
Scroll Menu Testing and SSR
Gets react-horizontal-scrolling-menu working in Next.js and tested in Jest and Playwright without flicker.
7/101 credit -
Checked
Conform React Forms
Builds React forms with Conform and Zod that validate on the server and still work before JavaScript loads.
7/101 credit -
Checked
Next.js 16 App Builder
Builds Next.js 16 apps the current way, with Server Components, Server Actions, caching and the new proxy file.
7/101 credit -
Checked
TinyBase Local First Apps
Builds offline friendly apps on a TinyBase store, saving locally or to a database and syncing across devices.
7/101 credit