error-empty-states
Installation
SKILL.md
Error & Empty States
Every screen needs intentional empty, error, loading, and success treatment. Pattern summary also in interaction-design-patterns; first-run empties overlap onboarding-ux.
State picker
| Situation | Treat as | Primary goal |
|---|---|---|
| Never had data | First-use empty | Teach + CTA to create value |
| User deleted all | Cleared empty | Confirm + undo + create |
| Query matched nothing | No results | Explain + refine/clear |
| Network/server failure | Error | Explain + retry/recovery |
| No connectivity | Offline | What's available + retry |
| Lacks entitlement | Permission / plan | Why + request/upgrade |
| Waiting | Loading | Skeleton/progress + cancel if long |
Message formula
What happened → Why (if useful) → What to do next (recovery CTA).