state-completeness
Review a design for complete user-visible states, transitions, permissions, loading, empty data, validation, failure, interruption, concurrency, success, and…
by Dadmin88★ 52 GitHub stars
Install state-completeness in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
State Completeness
Use when a design looks polished in the happy path but may omit the states users encounter in a real system.
Procedure
- Start from the user goal and list every step that reads remote state, accepts input, changes durable state, waits, navigates, or can be interrupted.
- For each step, enumerate meaningful states: initial/idle, loading, populated, empty, partial, disabled, validation error, authorization/permission, conflict/stale data, dependency failure, offline/disconnected, success, cancellation, and recovery where applicable.
- Review transitions between those states. Define what triggers the transition, what the user sees, which actions remain possible, and what state is preserved or reset.
- Check first-use versus returning-use, fresh versus existing data, and role/permission variations that change what controls or information should appear.
- Review repeated/rapid actions, optimistic updates, duplicate submission, stale refresh, concurrent edits, and eventual completion when the product workflow can encounter them.
- Review interruption: route away/back, close/reopen, refresh/restart, lost connection, modal dismissal, cancellation, or resumed background operation as relevant.
- Ensure loading/waiting states communicate whether work is still progressing and prevent or allow duplicate actions intentionally rather than by accident.
- Ensure error states preserve useful user input/context and offer a recovery action appropriate to the failure instead of dead-ending at a generic message.
- Check completion/empty/zero-result states for a sensible next action and confirmation that the user's intended effect actually occurred.
- Record missing or ambiguous states as product/design decisions with owner and impact, not as instructions for engineers to guess during implementation.
Decision rules
- A state belongs in the design when it changes what the user can perceive, decide, or do.
- Do not create decorative states for impossible conditions; ground the state map in real system/product behavior.
- Error text alone is not a recovery design.
- If backend semantics or concurrency rules are unknown, route the unresolved contract to Product/Engineering rather than inventing technical behavior in design review.
Quality gate
The design is state-complete when critical flows cover the realistic loading, empty, error, permission, conflict, interruption, success, and recovery conditions that affect user decisions; transitions and preserved state are clear; and implementers are not forced to invent material product behavior at build time.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the state-completeness skill do?
Review a design for complete user-visible states, transitions, permissions, loading, empty data, validation, failure, interruption, concurrency, success, and recovery so implementation does not invent missing product behavior.
How do I install the state-completeness skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the state-completeness skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…