mcpField
S
state-ux-flow-builder

state-ux-flow-builder

github.com/patricio0312revDesign & UI63251 installsUpdated 41w ago
Repository

About state-ux-flow-builder

A skill for designing consistent application UX across loading, error, empty, and success states. It provides implementation patterns for data fetching, complex state flows, and responsive updates.

Key features

  1. 01Loading skeletons
  2. 02Retryable error states
  3. 03Actionable empty states
  4. 04Error boundaries
  5. 05State management patterns
  6. 06Optimistic and progressive loading

Use cases

  1. 01Designing complete data-fetching interfaces
  2. 02Handling multi-step flows with XState
  3. 03Providing immediate feedback for updates

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/patricio0312rev/skills --skill state-ux-flow-builder

After installing, type/state-ux-flow-builderin Claude Code to confirm it loaded.

Details

From the project README

State & UX Flow Builder

Create consistent UX flows for all application states: loading, error, empty, and success.

Output Components

Every implementation includes: (1) Loading skeletons, (2) Error state with retry, (3) Empty state with action, (4) Success view, (5) Error boundary, (6) State management pattern (useState/XState/server).

Key Patterns

Data Fetching Flow: Check loading → Handle error → Show empty → Display data State Machine: XState for complex flows with multiple states and transitions Optimistic Updates: Instant UI feedback with rollback on error Progressive Loading: Show content incrementally as it loads

Best Practices

Always handle all states, prefer skeletons over spinners, provide retry mechanisms, use consistent error/empty UI, add ARIA live regions, implement error boundaries.

Comments

Markdown supported