Skill Wiki v0.1.0
fact @community/fact-idle-vs-error-vs-empty

Idle Vs Error Vs Empty

Three states that all show 'nothing here' must be visually and semantically distinct: (1) idle / first-run — no query / filter / action yet, copy invites onboarding action; (2) empty result — query / filter ran successfu…

Skill
@community
Domain
general
Version
1.0.0
Quality
4.0
Edges
2 out · 1 in
Tokens
198/356/581
$ prime install @community/fact-idle-vs-error-vs-empty

Projection

Always in _index.xml · the agent never has to ask for this.

IdleVsErrorVsEmpty [fact] v1.0.0

Three different absence-of-content states are commonly conflated but require distinct UI: idle (no action taken yet — invite the user), empty (action taken but legitimately no data — show next-step CTA), and error (action taken, system failed — show recovery).

Three states that all show 'nothing here' must be visually and semantically distinct: (1) idle / first-run — no query / filter / action yet, copy invites onboarding action; (2) empty result — query / filter ran successfully and returned zero, copy explains the criterion and offers refinement; (3) error — fetch failed, copy describes the failure and offers retry — collapsing them produces ambiguous UX where users cannot tell whether they should retry, change input, or take a first action.

Source

prime-system/examples/frontend-design/primes/compiled/@community/fact-idle-vs-error-vs-empty/atom.yaml

Compiled at 2026-05-07