Agent skill

Vercel React Composition Patterns Skill

Guidance for coding agents refactoring React components into composable APIs with shared context and clearer state boundaries.

About this listing

This Vercel agent skill focuses on the architecture of reusable React components. It helps an agent review components with too many boolean options and replace mode switches with composition, explicit variants and compound components. It is distinct from general React performance advice: the emphasis is on how component interfaces and state responsibilities fit together.

The skill groups its guidance into component architecture, state management, implementation patterns and React 19 APIs. Its state rules cover moving shared state into providers and defining context interfaces with state, actions and metadata. Individual rule files contain explanations and contrasting implementation examples. Apply the React 19 section only to projects using that generation of React.

Free refers to the MIT-labelled skill files. A coding agent, model service, development infrastructure or deployment may have separate costs. This is a set of instructions for an agent, not a hosted application or a guarantee that generated changes are correct.

Source: Visionary Junction · Reuse terms