Guides designing UI states beyond the happy path: empty, loading, error, success, and destructive confirmations. Includes microcopy rules and a state inventory checklist for forms, lists, dashboards, and settings screens.
Ships in browser-extensions. 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.
None: SKILL.md is the whole skill.
Most screens are designed in one state: full of realistic data, with every request succeeding. Users mostly see the others — empty on day one, loading on a slow network, an error on a typo. Those states are where an app feels either finished or neglected.
For every screen, list and design each of these before calling it done:
| State | Question it answers |
|---|---|
| First run / empty | "What is this and what do I do first?" |
| Loading | "Is it working?" |
| Partial / some data | "Does it still look intentional with one item?" |
| Full / overflow | "What happens with 500 items or a very long name?" |
| Error | "What went wrong, and what do I do now?" |
| Success | "Did it work?" |
| Offline / permission denied | "Why can't I do this?" |
Seed local data for each and screenshot them; reviewers should see every state.
An empty state is the product's best onboarding surface. Replace "No items." with:
Distinguish empty because new from empty because filtered ("No results for 'acme' — clear filters") from empty because of an error (that is an error state, not an empty one).
aria-describedby (see the building-accessible-interfaces skill).email, tel, number, date, autocomplete
attributes) so phones show the right keyboard and browsers can autofill.A good error message has three parts: what happened, why (if known), what to do next.
| Bad | Good |
|---|---|
| "Error 500" | "We couldn't save your changes. Your edits are still here — try again in a moment." |
| "Invalid input" | "Enter a date in the future." |
| "Failed to fetch" | "You're offline. We'll retry when you reconnect." |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ui-states, empty-state, loading-state, error-state, microcopy, ux-design
/browser-extensions:designing-interaction-statesfrom browser-extensions
npx claudepluginhub wdm0006/python-skills --plugin browser-extensions10 skills in this plugin
/building-accessible-interfacesMakes web and app UIs usable by keyboard, screen-reader, low-vision and motion-sensitive users — semantic HTML before ARIA, labelled controls, visible focus, WCAG AA contrast measured rather than eyeballed, touch targets, reduced motion, and automated axe checks plus a manual keyboard pass in CI or before every UI PR. Use when building or restyling a screen, adding a form, modal, menu or custom control, choosing colors, or reviewing a UI change./wiring-application-configLoad, merge, and validate layered application configuration (defaults plus a user YAML/TOML/JSON file or a stored settings object) so a mis-wired or misspelled key fails loudly instead of silently reverting to the default — sections the code reads that exist nowhere, sections that exist but nothing reads, unvalidated recursive merges, `bool`-passes-as-`int`, defaults aliased by a shallow merge, falsy-but-valid values killed by `or`/`||`, partial write-backs that are stickier than a missing file, and bootstrap ordering that swallows the loader's own warnings. Use when adding a config key, writing or reviewing a config loader/merge/schema, reading a setting in a new module, persisting user settings, wiring logging from config, or debugging a setting that "has no effect".Other plugins' skills for the same job