OpenParable
Skip to content
← Back to skills

Loading Empty Error States

Design
loading-empty-error-states

Loading Empty Error States is an Agent Skill for design published in the Archive228/loopkit repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Design the three states every data UI forgets. Use for any component that fetches or lists data.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Archive228/loopkit/blob/HEAD/skills/loading-empty-error-states/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/loading-empty-error-states, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Loading / Empty / Error States

AI-built UIs handle the happy path and crash on the other three. Design all four:

  • Loading — skeletons that match the final layout (not a centered spinner that shifts everything).
  • Empty — a real first-run state: what it is, and the one action to fill it. Not a blank box.
  • Error — what failed, in human terms, plus a retry. Never a raw stack trace or silent nothing.
  • Partial — slow/streaming data, optimistic updates that can roll back. For each fetch in the diff, confirm all four exist. The empty and error states are where products feel broken.