/harness-claude:react-suspense-patternfrom harness-claude
Declaratively handles async loading states with React Suspense boundaries for lazy-loaded components and data fetching.
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /harness-claude:react-suspense-pattern still runs it.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
Declaratively handle async loading states with React Suspense boundaries
React.lazy() — Suspense is requireduseEffect<Suspense fallback={<LoadingUI />}>.<ErrorBoundary> to handle promise rejections.React.lazy(() => import('./Component')).const HeavyChart = React.lazy(() => import('./HeavyChart'));
function Dashboard() {
return (
<ErrorBoundary fallback={<p>Failed to load chart</p>}>
<Suspense fallback={<ChartSkeleton />}>
<HeavyChart />
</Suspense>
</ErrorBoundary>
);
}
Suspense works by components "throwing" a promise when they are not ready. React catches the promise at the nearest Suspense boundary and renders the fallback until the promise resolves.
React 18 changes: startTransition lets you mark state updates as non-urgent, preventing Suspense fallbacks from showing for fast transitions (the previous content stays visible until the new content is ready).
Library support: Not all data-fetching approaches support Suspense. Use libraries that explicitly support it (useSuspenseQuery in React Query, use() hook in React 18+ with compatible data sources).
Common mistake: Placing the Suspense boundary too high (at the page level) shows a full-page spinner for small widget loads. Granular boundaries improve perceived performance.
https://patterns.dev/react/suspense-pattern
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub intense-visions/harness-engineering --plugin harness-claudeRead when SKILL.md points to them.
793 skills in this plugin
/a11y-aria-patternsARIA Patterns> Apply ARIA roles, states, and properties correctly to enhance assistive technology support for custom widgets/a11y-color-contrastColor Contrast and Color Independence> Ensure sufficient color contrast ratios and never use color as the sole means of conveying information/a11y-form-patternsAccessible Form Patterns> Build accessible forms with proper labeling, grouped controls, inline validation, and clear error communicationOther plugins' skills for the same job