# State Completeness

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

State Completeness is a free AI agent skill on Agensi by Rommel Jay Ocon, in UX & UI Design. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Rommel Jay Ocon](https://www.agensi.io/creators/rommelocon)
- Category: [UX & UI Design](https://www.agensi.io/skills/ux-ui-design)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/state-completeness
- Tags: ui-ux, ux-design, frontend-development, onboarding, state-management

## 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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the State Completeness skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What specific UI problems does this skill help me solve?

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.

### Do I need to provide any specific files or access to use this skill?

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.

### What kind of output will my AI agent produce when using this skill?

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.

### Are there any limitations on the type of code this skill provides?

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.

### How should I instruct my agent to apply this skill to my project?

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.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
