JavaScript is disabled. Some features may not work.
vercel-composition-patterns — ★ 28.3K GitHub Stars — Install Guide | SkillsNav
🇺🇸 English🇨🇳 中文
SkillsNav
Home

vercel-composition-patterns

★ 28K repouiSafeIntermediateClaude
🤖 AI Summary

Analyzes React component code to detect boolean prop proliferation and suggests refactoring using composition patterns (e.g., compound components, slots, render props) to create more scalable, reusable component APIs.

How to Install

Claude Code:
git clone --depth 1 https://github.com/vercel-labs/agent-skills.git && cp agent-skills/skills/composition-patterns ~/.claude/skills/composition-patterns -r
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 c

Details

Category Design → ui
Sourcevercel-labs/agent-skills
SKILL.mdView on GitHub →
Repo Stars★ 28.3K
Est. per Skill~1.3K (shared across 22 skills from this repo)
DifficultyIntermediate
Risk LevelSafe

Related Skills

Works Well With

Skills from the same repository — often designed to work together