Skip to content
Agent Orchestration
Skill

/loading-empty-error-states

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

BOOST
From plugin
loopkit
75553 skills1 agent4 commands2 MCP
Install
$ npx -y skills add Archive228/loopkit --skill loading-empty-error-states --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/loading-empty-error-states

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

loading-empty-error-states.SKILL.md
name: loading-empty-error-states
description: Design the three states every data UI forgets. Use for any component that fetches or lists data.
when_to_use: a list, a fetch, a dashboard, anything async in the UI

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.

Ships withloopkit

33 battle-tested skills + minimal .claude harness for any coding agent (Claude Code, Cursor, Codex, Gemini CLI).

Get the whole plugin

Other skills on loopkit.