zakariaf/flutter-skills/ui-states-and-feedback
Enforces the non-happy paths every screen owes the user — loading/empty/error/content resolved in ONE switch over an AsyncValue or sealed view state, never an isLoading+error+data bool triple; a delayed skeleton shaped like the result instead of a spinner that flashes; a refresh that keeps stale content on screen; "nothing yet" distinguished from "nothing matches this filter", each with its own action; error text from a typed Failure code (never e.toString()) plus a retry that invalidates the pr
Agent skill · version 1.0.0 · from zakariaf/Flutter-Skills
Install
npx yarkr-cli add skill:zakariaf/flutter-skills/ui-states-and-feedbackWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/ui-states-and-feedback
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/ui-states-and-feedbackOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:zakariaf/flutter-skills/ui-states-and-feedbackWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.