Vercel's take on keeping React components maintainable as they grow. The main insight is practical: stop adding boolean props to handle variants, use composition and compound components instead. Covers lifting state into providers, building flexible APIs with context, and structuring component libraries that don't turn into prop soup. Also includes React 19 specific guidance like dropping forwardRef. The rules are prioritized by impact, so you can focus on architecture patterns first before diving into implementation details. If you're refactoring a component that's accumulated six boolean flags or building a design system, this gives you patterns that scale better for both humans and AI agents working in the codebase.
npx -y skills add vercel-labs/agent-skills --skill vercel-composition-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
sickn33/antigravity-awesome-skills
moizibnyousaf/ai-agent-skills
github/awesome-copilot