/officialunofficial-skills:break-uifrom Official Unofficial Skills
Stress-tests UI components with realistic worst-case data (long names, unbreakable emails, missing fields, huge counts, empty lists, non-Latin text, emoji) and reports breaks with fixes. Use when asked to find edge cases in UI.
Ships in Official Unofficial Skills. 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.
Demo data flatters a design: names fit on one line, counts need no separator, every optional field is filled. This skill replaces that data with the worst a real user would produce, puts both datasets behind a toggle, and reports what broke.
It does one job. Redesigning the component belongs to the engineering skill prototype, taste to emil-design-eng, motion to review-animations.
Aleksandra Wiśniewska-Kowalczyk, a 64-character corporate email, an intern named Jo, a workspace of 1,284 members) or the exact limit the schema, column, or API accepts. A string of 5,000 a characters proves nothing, and the designer stops listening after "that never happens". When no limit exists, report the field as unbounded and test something long but believable.Read the component and list every value it renders.
| Field | Source | Type | Limit | Optional |
|---|---|---|---|---|
name | member.name | string | 255 (schema.ts:14) | No |
email | member.email | string | unbounded | No |
role | member.title | string | 120 | Yes |
count | workspace.memberCount | int | none | No |
Include the values people forget: header counts, relative timestamps, badge and status text, button labels that come from data, tooltips, avatar images, and the list length itself.
Find limits in the validation schema, database migrations, API types, and maxLength attributes. Note any mismatch between frontend and backend. A 50-character input that saves to a 255-character column will receive a longer value through an import or the API.
Done when every rendered value has a row with a source and either a limit or "unbounded".
Read CATALOG.md now and pick values for each field. It lists the values that break things, grouped by kind of value, with what each one breaks.
Write one worst-case fixture next to the demo data, in the same shape and file conventions. Then add the cases that do not fit one dataset:
Add a segmented control with the segments Demo / Worst case / Empty / One / 1,000 rows and swap the fixture at the data boundary.
?data=worst URL parameter where the fixture is chosen, or add a prototype route. The URL keeps the selection across reloads.Fix the control at the bottom centre of the viewport, clear of the component. Keep it plain so nobody mistakes it for the design under test: gray track, white pill on the active segment, system font. Switch instantly, with no animation on the content.
View the worst case and look for each signature below. Check:
dir="rtl" on a wrapper) when the product supports them.With browser tooling, screenshot both states at each width and compare. Without it, reason from the CSS and mark each finding as verified or inferred.
| What you see | Cause | Fix |
|---|---|---|
| Avatar or icon squashed into an oval | Flex child shrinks | flex-shrink: 0 on every fixed-size box |
| Text overflows instead of wrapping or truncating | Flex or grid child keeps min-width: auto | min-width: 0 on the text column, minmax(0, 1fr) in grid |
| Email or URL runs past the edge | The string has no break points | overflow-wrap: anywhere on that element |
| Trailing menu or button pushed off the row | Middle content takes all the space | min-width: 0 on the middle, flex-shrink: 0 on the action |
| Badge wraps to two lines | Badge can shrink | white-space: nowrap; flex-shrink: 0, then decide what yields |
| Avatar floats beside a three-line name | align-items: center on rows of varying height | align-items: flex-start once text can wrap |
| Last row cut mid-glyph | Fixed-height container with no scroll cue | A visible scrollbar or a fade mask, with overflow set on purpose |
| Heading breaks mid-word | word-break: break-all | overflow-wrap: anywhere, which breaks only when it has to |
Wrong initials (J for "Jo", CI for "... Montgomery III", U+FFFD for an emoji-first name) | .split(' ')[0][0] style code | Grapheme clusters via Intl.Segmenter, first plus last word, fallback icon |
| Lone dash or blank line where the role was | Placeholder rendered for a missing optional field | Omit the line, or reserve its height on purpose |
| "1 members", "0 member" | Hardcoded plural | Intl.PluralRules or one string per count |
| Numbers jitter on update, columns misalign | Proportional figures | font-variant-numeric: tabular-nums |
1284, 1,284.000000001, NaN, undefined | Raw number rendered | Intl.NumberFormat in the user's locale, with a null guard |
| Translated button label overflows | Fixed-width button | Size from content with min-width, never a fixed width |
| Vietnamese or Thai marks clipped | Tight line-height with overflow: hidden | Looser line-height, or no clipping on text boxes |
| Broken-image icon in the avatar | No onError fallback | Fall back to initials, object-fit: cover for any aspect ratio |
| Truncated text that cannot be read in full | text-overflow: ellipsis alone | A title or tooltip, and the full value in a detail view |
| 1,000 rows stutter on scroll | Every row is rendered | Virtualize or paginate, and say which |
Raw <b>, &, or **text** on screen | Wrong escaping layer | Escape once at render. Never pass user data to dangerouslySetInnerHTML |
Decide per field, not globally.
Q3-report...v12-final.pdf), emails on one long domain, paths, hashes. End truncation makes them look identical.line-clamp: 2) multi-line previews in cards so card heights stay predictable.Done when every applicable catalog row has been tried, every width and environment above checked, and every break has a signature, a cause, and a fix.
Leave the toggle running and report in three parts.
What broke. One row per break, worst first, with file:line for each fix.
| # | Severity | Field | Worst-case value | What happens | Fix |
|---|---|---|---|---|---|
| 1 | Broken | email | [email protected] | Pushes the row menu off screen at 400px | min-width: 0 on the text column, overflow-wrap: anywhere on the email, flex-shrink: 0 on the menu |
| 2 | Ugly | count | 1 | "1 members" | Intl.PluralRules |
| 3 | Fragile | name | none | No max length in schema or form | Add the same limit to both |
Severity: Broken means content is unreadable, an action is unreachable, or wrong data shows. Ugly means readable but visibly wrong. Fragile means fine today and one realistic step from breaking, such as no limit or no fallback.
Decisions for you. Breaks with more than one right answer, one line each, with a recommendation and its reason.
What held up. The worst cases the component already handles. This shows the test was real and tells the user what to leave alone.
Close with where the toggle lives (URL or file path), its states, and: "Say fix all or fix 1, 3 and I'll apply them."
Keep the tone matter-of-fact. The component was built against kind data, as nearly everything is. A short report on a sturdy component is a good result.
Apply the named fixes in the component with the project's conventions and tokens. Flip the toggle through every state again, Demo included, and confirm each fixed break is gone and nothing regressed.
Keep the worst-case fixture unless the user says otherwise. It is the regression test for the next change.
| Invocation | Behavior |
|---|---|
| a component or screen | Steps 1 to 5, then stop |
| a component plus "fix" | Steps 1 to 5, then apply every fix that is not a decision for the user |
fix all or fix 1, 3 | Apply those fixes from the last report and re-check every state |
| "data only" plus a component | Build the fixture and the toggle, skip the report |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub officialunofficial/skills --plugin officialunofficial-skills85 skills in this plugin
/alignmentMeasures a running page for edges, gaps, centres and radii that miss by a pixel or two, judges visual weight, and returns a numbered report with proof./animateBuilds a web animation from scratch and writes the code. Decides in order whether it should animate at all, its purpose, the tool, the properties, the easing and duration or spring, how it interrupts and exits, and reduced motion. Use when asked to animate something, add motion, build a transition, or make a component feel alive. For React Native or Expo use animate-expo. To critique existing motion use review-animations. To audit a whole codebase use improve-animations./animate-expoOther plugins' skills for the same job