本文へスキップ
Kitbay
スキル

vercel-composition-patterns

MIT2026年10月28日 更新33,877GitHubスター

A React skill from Vercel Labs that guides an agent when it designs or refactors component APIs.

スキルの内容

A React skill from Vercel Labs that guides an agent when it designs or refactors component APIs. It sorts its rules by priority across component architecture, state management, implementation patterns and React 19 API changes, with the main aim of replacing long lists of boolean props with compound components, lifted state and composition through children. Each rule lives in its own file in the skill folder, and a compiled document gathers them for agents that read one file. It is general React guidance and does not use the Vercel platform.

できること

  • Refactor components that rely on many boolean props
  • Design compound components that share state through context
  • Apply React 19 API changes in component code
  • Review component architecture against prioritised rules