- Home
- Skills
- UX & UI Design
- State Completeness
More screenshots
Works with the AI Agents you already use
State Completeness
Audit UI components and onboarding flows to ensure every loading, error, empty, and edge state is designed and handled.
Free
State Completeness
Example session with this skill installed
Review the data fetching logic for our new InventoryTable component. It currently shows a spinner while loading and the table once data arrives. What are we missing?
- Read your context and instructions
- Compiled the state completeness
I have audited the InventoryTable component logic. While the happy path and basic loading state are handled, several critical edge cases are missing logic branches.
State Completeness Audit: InventoryTable
| State | Status | Requirement |
|---|---|---|
| Initial / idle | Missing | Define if the table should be empty or show a search prompt before the first fetch. |
| Loading | Partial | Move from a full-page spinner to a skeleton layout that matches the table rows to prevent layout shift. |
| Empty (First Use) | Missing | Provide a "Add your first item" call to action. Do not just show an empty header. |
| Empty (No Results) | Missing | Echo the search query and provide a "Clear filters" button. |
| Error (Recoverable) | Missing | Catch 5xx/network errors. Show "Unable to load inventory" with a "Retry" button. Keep any local filter state. |
| Partial | Missing | If bulk-updating items, show which rows succeeded and which failed. |
| Offline | Missing | Disable the "Add Item" button and show a "Changes will sync when online" banner. |
| Overflow | Missing | Test with long SKU strings and 10,000+ rows (ensure pagination or virtualization). |
| Stale | Missing | Add an "Updated X minutes ago" label if the inventory data is shared. |
Next steps
- Add an
isEmptybranch to the render logic to handle the "First Use" vs "No Results" distinction. - Implement a skeleton screen for the loading state to stabilize the layout.
- Update the error boundary to include a retry function that re-triggers the fetch hook.
Connects securely to your tools. The creator never sees your data.
About this skill
Building a feature usually starts with the happy path, but users experience the other 90 percent. Applications break when developers forget to handle what happens during a 500 error, a slow 3G connection, or an empty search result. This skill ensures your components are resilient by forcing a design for every possible state a user can encounter.
What it does
- State Auditing identifies missing UI branches for loading, error, empty, and partial data scenarios.
- Empty State Design defines specific treatments for first-use vs. no-results scenarios to prevent user churn.
- Onboarding Logic provides a strategy for "one step to value" to avoid front-loading complex setup wizards.
- Error Handling ensures recoverable errors provide clear instructions and a retry path instead of vague codes.
- Network Resilience maps out offline banners and queued action states for mobile or PWA environments.
- Constraint Testing checks layouts against overflow, long translations, and extreme data volumes.
How it works
- Dependency Mapping to list all data sources and async triggers a component relies on.
- State Resolution where the skill evaluates the component against the full matrix of states like stale, partial, and permission-denied.
- Gap Analysis to flag missing logic branches in the code that would lead to broken or blank UI.
- Copy Refinement ensuring every state uses the specific communication standards for clarity and next actions.
Why this beats prompting it yourself
Generic prompts often only remind you to add a spinner. This skill provides a systematic matrix that includes edge cases like stale data, partial successes, and permission-blocked controls that even senior developers overlook. It moves beyond "UI tips" into a strict procedural checklist for code completeness.
Use cases
- Auditing a new dashboard to ensure it remains usable while data is loading.
- Designing a first-run experience that leads users to value without a tour.
- Refactoring forms to handle network drops and validation errors gracefully.
- Checking if a layout breaks when localized into longer languages or RTL text.
Known limitations
Does not provide actual CSS or component code; it focuses on the logic, requirements, and design directions for states.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 4 days ago
- Free with an Agensi account
Permissions
What's inside
Frequently Asked Questions
New in UX & UI Design
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for UX & UI Design.