Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Add appropriate user feedback states (loading, success, error, empty) to a component or page
.claude/skills/bilal140202-ss-feedback/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 71% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 1% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -31% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -18% | 0% |
/ss-copy/ss-a11y/ss-componentTarget: $ARGUMENTS
DESIGN-LANGUAGE.md sections on Loading States (Skeleton), Empty States, Error Statestsx// Skeleton must match the final layout shape <div className="bg-card rounded-2xl p-6 shadow-[var(--shadow-card)]"> <div className="flex items-center gap-2 mb-3"> <div className="size-7 bg-surface-muted rounded-lg animate-pulse" /> <div className="h-3 w-16 bg-surface-muted rounded animate-pulse" /> </div> <div className="h-9 w-24 bg-surface-muted rounded-lg animate-pulse mb-3" /> <div className="h-3 w-12 bg-surface-muted rounded animate-pulse" /> </div>
Rules:
animate-pulse (1.5s cycle)tsx<EmptyState icon={PackageIcon} title="No activity yet" description="Create your first project to get started." action={<Button>Create Project</Button>} />
Rules:
text-text-tertiarytext-text-secondarytsx<div className="flex flex-col items-center justify-center py-8 text-center"> <AlertCircle className="size-8 text-destructive mb-3" /> <p className="text-[14px] text-text-secondary mb-4">Couldn't load the data</p> <Button variant="brandGhost" size="sm" onClick={retry}>Try again</Button> </div>
Rules:
tsx// Toast notification for action confirmations toast("Changes saved") // With undo for destructive actions toast("Item deleted", { action: { label: "Undo", onClick: handleUndo } })
Rules:
tsxfunction DataCard({ data, isLoading, error }) { if (isLoading) return <DataCardSkeleton /> if (error) return <DataCardError onRetry={refetch} /> if (!data || data.length === 0) return <DataCardEmpty /> return <DataCardContent data={data} /> }
prefers-reduced-motion — disable animate-pulse when reduced motion is preferred.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 18,841 | 14,271 | -24% | 1 | 1 | 0% | 4,405 | 4,343 | -1% | 0 | 0 | — |
case-02 | fail→fail | 18,958 | 15,331 | -19% | 1 | 1 | 0% | 4,794 | 4,900 | +2% | 0 | 0 | — |
case-03 | fail→fail | 26,047 | 16,922 | -35% | 1 | 1 | 0% | 6,216 | 4,950 | -20% | 0 | 0 | — |
case-04 | fail→pass | 10,285 | 9,865 | -4% | 1 | 1 | 0% | 1,763 | 3,006 | +71% | 0 | 0 | — |
case-05 | pass→pass | 10,665 | 5,671 | -47% | 1 | 1 | 0% | 1,783 | 2,066 | +16% | 0 | 0 | — |
case-06 | fail→pass | 13,695 | 6,957 | -49% | 1 | 1 | 0% | 2,383 | 2,128 | -11% | 0 | 0 | — |
case-07 | fail→pass | 8,375 | 3,479 | -58% | 1 | 1 | 0% | 1,461 | 1,473 | +1% | 0 | 0 | — |
case-16 | fail→pass | 11,654 | 2,571 | -78% | 1 | 1 | 0% | 1,908 | 1,322 | -31% | 0 | 0 | — |
case-08 | fail→pass | 9,016 | 2,724 | -70% | 1 | 1 | 0% | 1,660 | 1,369 | -18% | 0 | 0 | — |
case-09 | fail→pass | 10,628 | 2,170 | -80% | 1 | 1 | 0% | 2,120 | 1,294 | -39% | 0 | 0 | — |
case-10 | fail→pass | 15,024 | 1,912 | -87% | 1 | 1 | 0% | 3,625 | 1,147 | -68% | 0 | 0 | — |
case-11 | fail→pass | 10,112 | 4,878 | -52% | 1 | 1 | 0% | 2,154 | 1,883 | -13% | 0 | 0 | — |
case-17 | fail→pass | 10,210 | 5,390 | -47% | 1 | 1 | 0% | 1,746 | 1,775 | +2% | 0 | 0 | — |
case-12 | pass→pass | 7,050 | 3,546 | -50% | 1 | 1 | 0% | 1,484 | 1,603 | +8% | 0 | 0 | — |
case-13 | fail→pass | 9,758 | 2,528 | -74% | 1 | 1 | 0% | 1,809 | 1,428 | -21% | 0 | 0 | — |
case-14 | fail→pass | 9,151 | 1,541 | -83% | 1 | 1 | 0% | 1,753 | 1,160 | -34% | 0 | 0 | — |
case-15 | pass→pass | 9,160 | 2,712 | -70% | 1 | 1 | 0% | 1,559 | 1,400 | -10% | 0 | 0 | — |
case-18 | fail→pass | 10,887 | 7,498 | -31% | 1 | 1 | 0% | 1,926 | 2,523 | +31% | 0 | 0 | — |
case-19 | fail→pass | 5,988 | 2,799 | -53% | 1 | 1 | 0% | 1,158 | 1,427 | +23% | 0 | 0 | — |
case-20 | pass→pass | 8,181 | 5,758 | -30% | 1 | 1 | 0% | 1,588 | 2,102 | +32% | 0 | 0 | — |
case-21 | fail→pass | 4,461 | 1,316 | -70% | 1 | 1 | 0% | 751 | 1,050 | +40% | 0 | 0 | — |
case-22 | pass→pass | 11,104 | 7,811 | -30% | 1 | 1 | 0% | 2,105 | 2,684 | +28% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +64 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.