More screenshots

    Works with the AI Agents you already use

    State Completeness

    by Rommel Jay Ocon

    1

    Audit UI components and onboarding flows to ensure every loading, error, empty, and edge state is designed and handled.

    Free

    Security scanned
    State Completeness

    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

    StateStatusRequirement
    Initial / idleMissingDefine if the table should be empty or show a search prompt before the first fetch.
    LoadingPartialMove from a full-page spinner to a skeleton layout that matches the table rows to prevent layout shift.
    Empty (First Use)MissingProvide a "Add your first item" call to action. Do not just show an empty header.
    Empty (No Results)MissingEcho the search query and provide a "Clear filters" button.
    Error (Recoverable)MissingCatch 5xx/network errors. Show "Unable to load inventory" with a "Retry" button. Keep any local filter state.
    PartialMissingIf bulk-updating items, show which rows succeeded and which failed.
    OfflineMissingDisable the "Add Item" button and show a "Changes will sync when online" banner.
    OverflowMissingTest with long SKU strings and 10,000+ rows (ensure pagination or virtualization).
    StaleMissingAdd an "Updated X minutes ago" label if the inventory data is shared.

    Next steps

    1. Add an isEmpty branch to the render logic to handle the "First Use" vs "No Results" distinction.
    2. Implement a skeleton screen for the loading state to stabilize the layout.
    3. 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

    1. Dependency Mapping to list all data sources and async triggers a component relies on.
    2. State Resolution where the skill evaluates the component against the full matrix of states like stale, partial, and permission-denied.
    3. Gap Analysis to flag missing logic branches in the code that would lead to broken or blank UI.
    4. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Network Access
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    This skill performs a systematic audit of your UI components and onboarding flows to identify missing states like loading, error, empty, and partial data. It ensures your application remains resilient by providing specific design directions for edge cases like network drops, permission denials, and data overflows.

    You do not need any specific software or external accounts. The skill works by evaluating your existing component logic, data sources, and async triggers against a comprehensive matrix of potential states and constraints.

    You receive a detailed gap analysis identifying missing logic branches in your code and a state resolution matrix. This includes design directions for skeletons, specific error recovery instructions, and a strategy for first run onboarding that leads users to value quickly.

    While this skill provides the logic, requirements, and design directions for every state, it does not generate actual CSS or component code. It focuses on the procedural checklist for code completeness and communication standards rather than visual styling.

    You can ask your agent to audit a specific component that fetches data, review a new dashboard for loading states, or design a first run experience for a blank slate account. It is especially useful when refactoring forms to handle network resilience or checking if a layout breaks with long translations.

    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.

    Free