Giverny

React Composition Patterns

React composition patterns that scale.

by tech-leads-club★ 7,232Performance

What React Composition Patterns does

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes. Do NOT use for React/Next.js performance optimization (use react-best-practices instead).

How to install React Composition Patterns in Claude Code

Giverny gives you a ready prompt with the exact install command from tech-leads-club/agent-skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone tech-leads-club/agent-skills and copy the packages/skills-catalog/skills/(architecture)/react-composition-patterns folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads React Composition Patterns on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the react-composition-patterns skill on my current project.”

More Claude skills for performance