$npx -y skills add Archive228/loopkit --skill loading-empty-error-statesDesign the three states every data UI forgets. Use for any component that fetches or lists data.
| 1 | # Loading / Empty / Error States |
| 2 | AI-built UIs handle the happy path and crash on the other three. Design all four: |
| 3 | - **Loading** — skeletons that match the final layout (not a centered spinner that shifts everything). |
| 4 | - **Empty** — a real first-run state: what it is, and the one action to fill it. Not a blank box. |
| 5 | - **Error** — what failed, in human terms, plus a retry. Never a raw stack trace or silent nothing. |
| 6 | - **Partial** — slow/streaming data, optimistic updates that can roll back. |
| 7 | For each fetch in the diff, confirm all four exist. The empty and error states are where products feel broken. |