ux-feedback

Add loading, empty, error, and success states to data-dependent UI components.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/anonymouswhite07/Portfolio-v1 --skill ux-feedback
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ux-feedback
Source: https://github.com/anonymouswhite07/Portfolio-v1/tree/main/.agents/skills/ux-feedback
Command: npx skills add https://github.com/anonymouswhite07/Portfolio-v1 --skill ux-feedback

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Data-dependent UI often stalls or feels incomplete without explicit feedback during load, empty, error, or success states. This Skill provides four core states to improve clarity and resilience.

Core Features & Use Cases

  • Loading skeletons that match final layout.
  • Empty state with friendly explanation and a next action.
  • Error state with plain-language failure messages and recovery options.
  • Success state with lightweight confirmations and optional undo for destructive changes.
  • Use cases: data fetches, mutations, and navigation across lists, cards, and detail views.

Quick Start

Apply four-state feedback to a data-driven component by adding loading skeletons, an informative empty state, actionable error messaging, and a lightweight success toast.

Frequently Asked Questions about ux-feedback

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the core UI states needed for reliable data fetching components?

To implement loading and empty states for UI components, add loading skeletons that match the final layout, provide an informative empty state with a next action, and include actionable error messaging. This four-state feedback approach ensures deterministic rendering for data-dependent lists, cards, and detail views.

How do I handle error states in asynchronous data-driven UI?

Error states in asynchronous data-driven UI should display plain-language failure messages and straightforward recovery options with minimal UI disruption. This approach ensures accessible messaging while allowing users to retry data fetches or mutations without losing their current context.

Can I apply four-state feedback to existing lists, cards, and detail views?

Yes, you can apply four-state feedback to existing lists, cards, and detail views that fetch or mutate asynchronous data. The pattern integrates directly into data-dependent components to provide explicit loading, empty, error, and success states without requiring external dependencies.

What is the best way to show success confirmations for destructive data mutations?

The best way to show success confirmations for destructive data mutations is using lightweight success toasts with an optional undo action. This minimizes UI disruption while giving users a clear, accessible confirmation and a straightforward path to reverse destructive changes.

When should I add empty states to data-dependent UI components?

You should add empty states to data-dependent UI components whenever a data fetch returns no results, ensuring the component provides a friendly explanation and a clear next action. This prevents the UI from appearing broken or incomplete during asynchronous data retrieval.