OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add davila7/claude-code-templates --skill react-ui-patterns
Modern React UI patterns for loading states, error handling, and data fetching. Use when building UI components, handling async data, or managing UI states.
npx skills add davila7/claude-code-templates --skill react-ui-patterns
Show loading indicator ONLY when there's no data to display.
| Use Skeleton When | Use Spinner When |
|---|---|
| Known content shape | Unknown content shape |
| List/card layouts | Modal actions |
| Initial page load | Button submissions |
| Content placeholders | Inline operations |
CRITICAL: Never swallow errors silently.
CRITICAL: Always disable triggers during async operations.
Every list/collection MUST have an empty state:
Before completing any UI component:
UI States:
Data & Mutations: