/harness-claude:react-server-componentsfrom harness-claude
Teaches the React Server Components pattern: running async components on the server with direct data access, composing with client components, and using the 'use client' directive.
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-server-components 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.
Run components on the server to eliminate client JavaScript and enable direct data access
'use client' unless needed.async/await directly: const data = await db.query(...)'use client' directive at the top of a file when the component needs:
useState, useEffect, or any hookswindow, document)onClick, onChange)children props).// Server Component (no 'use client')
async function ProductPage({ id }: { id: string }) {
const product = await db.products.findById(id); // direct DB access
return (
<div>
<h1>{product.name}</h1>
<AddToCartButton productId={id} /> {/* Client Component */}
</div>
);
}
// Client Component
'use client';
function AddToCartButton({ productId }: { productId: string }) {
return <button onClick={() => addToCart(productId)}>Add to Cart</button>;
}
RSC introduces a server/client component split at the file level. The framework serializes server-rendered output as a JSON-like payload (RSC payload) and sends it to the client for React to reconcile.
What RSC eliminates:
Common mistakes:
'use client' to every file "to be safe" — this negates RSC benefitsuseEffect for data fetching in client components when a server component would workFramework support (2024): Next.js App Router is the primary production implementation. Remix, Waku, and other frameworks have RSC support in various stages.
https://patterns.dev/react/react-server-components
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
react-server-components, server-components, rsc, data-fetching, nextjs
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