๐ŸŽฏ

vercel-composition-patterns

๐ŸŽฏSkill

from vercel-labs/agent-skills

VibeIndex|
What it does
|

React composition patterns skill from Vercel Labs that helps avoid boolean prop proliferation through compound components, state lifting, and internal composition techniques.

Overview

React composition patterns that scale, from the Vercel Labs agent-skills collection. This skill teaches AI coding agents (and developers) how to avoid boolean prop proliferation by applying compound components, state lifting, and internal composition. It provides practical guidelines for refactoring components that have grown unwieldy with too many boolean props, and for designing flexible, reusable component APIs.

Key Features

  • Guides on extracting compound components to simplify complex interfaces
  • State lifting patterns to reduce prop drilling and minimize coupling
  • Internal composition strategies for building flexible component APIs
  • Refactoring recipes for components overloaded with boolean props
  • Designed for use with AI coding agents like Claude Code and Cursor
  • Part of the Vercel Labs agent-skills collection alongside React, Next.js, and web design skills

Who is this for?

React developers and teams building component libraries or design systems who want to keep their component APIs clean and composable as their codebase scales.

๐Ÿ“ฆ

Same repository

vercel-labs/agent-skills(14 items)

vercel-composition-patterns

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add vercel-labs/agent-skills --skill vercel-composition-patterns
skills.sh Installโš  Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add vercel-labs/agent-skills --skill vercel-composition-patterns
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/vercel-composition-patterns/SKILL.md

SKILL.md

80,757Installs
18,734
-
Last UpdatedJan 29, 2026

More from this repository10

๐ŸŽฏ
vercel-react-best-practices๐ŸŽฏSkill

React and Next.js performance optimization guidelines from Vercel Engineering. 40+ rules across 8 categories covering component performance, data fetching, and bundle size optimization.

๐ŸŽฏ
web-design-guidelines๐ŸŽฏSkill

Web interface best practices auditor from Vercel Engineering. Reviews UI code against 100+ standards covering accessibility, animations, forms, images, and UX fundamentals.

๐ŸŽฏ
vercel-react-native-skills๐ŸŽฏSkill

React Native best practices skill with 16 rules across 7 sections covering performance, layout, animation, images, state management, architecture, and platform-specific patterns for Expo and React Native apps.

๐ŸŽฏ
react-native-skills๐ŸŽฏSkill

React Native best practices optimized for AI agents from Vercel Engineering. 16 rules across 7 sections covering mobile performance, layout patterns, animations, and platform-specific implementation.

๐ŸŽฏ
composition-patterns๐ŸŽฏSkill

Guides AI agents in implementing robust software design patterns for component composition, modularity, and reusability across different programming paradigms.

๐ŸŽฏ
deploy-to-vercel๐ŸŽฏSkill

Skill

๐ŸŽฏ
vercel-deploy๐ŸŽฏSkill

Automates Vercel deployment configuration and deployment processes for AI agents, generating optimal deployment settings and triggering builds programmatically.

๐ŸŽฏ
find-skills๐ŸŽฏSkill

Skill

๐ŸŽฏ
hacked_skill๐ŸŽฏSkill

Skill

๐ŸŽฏ
remote_traversal_confirmed๐ŸŽฏSkill

Skill