← Registry
Skill Official

Composition Patterns

React composition patterns that scale — use when refactoring components toward more composable, maintainable structures.

Install

npx skills add vercel-labs/agent-skills
$

An agent skill teaching React composition patterns that scale: compound components, render props, lifting state, and composing internals instead of letting boolean props proliferate. Trigger it when refactoring components with too many flags, designing reusable component-library APIs, or working with context providers. It includes React 19 API changes so generated code stays current.