MCP.so
登录

vercel-composition-patterns

vercel-labs / agent-skills

关于 vercel-composition-patterns

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.

#React#Next.js#Design & UI

安装 vercel-composition-patterns

npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-composition-patterns

基本信息

分类

设计与 UI

代码仓库

vercel-labs / agent-skills

Skill

vercel-composition-patterns

功能与用途

  • Covers four priority categories: component architecture, state management, implementation patterns, and React 19 APIs, each with specific rules and code examples

  • Includes 10+ named patterns addressing compound components, context providers, state lifting, and explicit variants

  • Designed for refactoring bloated components, building reusable libraries, and reviewing component architecture decisions

  • React 19 specific guidance on removing forwardRef and using use() instead of useContext()

设计与 UI分类下的其他 Skills