Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs all non-happy UI states (loading, empty, error, partial, conflict, offline) and turns impossible boolean states into state machines.
55% 55%0 ptsof test cases passed
Passed 12 of 22 test cases with the skill, and 12 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Claude Directory skills edition. This package provides instructions only: no bundled MCP server, command hook, executable helper, or review agent. Do not install or launch UI Craft tools on its behalf. Use the supplied references for manual reviews. Never invent detector results, a deterministic UICraftScore, seeded draws, or browser measurements. State what was actually inspected and mark unavailable checks as not verified. Use only capabilities already available and authorized in the current session; otherwise request source or screenshots. Write project files only with available, authorized tools; otherwise return the proposed content as text and do not claim it was saved. References named below live in the ui-craft skill's references/ directory.
Context: this sub-skill is one lens of the broader ui-craft skill. If the ui-craft skill is also installed, read its SKILL.md first for Discovery + Anti-Slop + Craft Test, then apply the specific lens below.
Design every non-happy state for the UI at $ARGUMENTS. Load the ui-craft skill and read references/state-design.md.
Step 1 — Inventory. List every data source and interactive surface in the target. For each, enumerate its states:
| Surface | idle | loading | empty | error | partial | conflict | offline |
|---|
Mark each cell as designed (exists in code), missing (must add), or N/A (not applicable — e.g., a read-only view has no conflict state).
Step 2 — Fill the missing states. For each missing state, either stub it inline or add a follow-up task comment. Use references/state-design.md for:
Step 3 — Audit the happy path. Flag every spot where the happy path assumes resource presence without checking. Fix with early-returns, state guards, or discriminated-union state handling. Booleans like isLoading && !error && data that allow impossible states are findings — refactor to a proper state machine or reducer.
Step 4 — Optimistic UI + reconciliation. For offline-likely actions (saves, sends, edits, toggles), implement optimistic UI with reconciliation on reconnect. Queue writes locally. Surface any rejected writes — never swallow them.
Knob gating (CRAFT_LEVEL):
| CRAFT_LEVEL | Required states to stub |
|---|---|
| ≤ 4 | idle, loading, error |
| 5-7 | idle, loading, empty, error, success |
| 8+ | all six — add partial, conflict, offline |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.