vercel-composition-patterns — vercel-composition-patterns react vercel-composition-patterns, zent-ui, community, vercel-composition-patterns react, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Frontend Agents needing to build flexible and maintainable React components with reduced boolean prop proliferation. Vercel-composition-patterns is a set of guidelines for building maintainable React components using compound components, state lifting, and internal composition.

Features

Uses compound components to avoid boolean prop proliferation
Employs state lifting for improved code organization
Composes internals for enhanced flexibility and scalability
Simplifies component APIs for easier reuse and maintenance
Improves codebase readability for both humans and AI agents

# Core Topics

flourine95 flourine95
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The vercel-composition-patterns skill by flourine95 is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for vercel-composition-patterns react.

Ideal Agent Persona

Perfect for Frontend Agents needing to build flexible and maintainable React components with reduced boolean prop proliferation.

Core Value

Empowers agents to simplify codebases and improve scalability by utilizing compound components, lifting state, and composing internals, making it easier to work with React components and APIs.

Capabilities Granted for vercel-composition-patterns

Refactoring components with multiple boolean props
Building reusable component libraries with flexible APIs
Designing maintainable and scalable React applications

! Prerequisites & Limits

  • Requires knowledge of React and JavaScript
  • Specific to React composition patterns, not applicable to other frameworks
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

vercel-composition-patterns

Install vercel-composition-patterns, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command...

SKILL.md
Readonly

React Composition Patterns

Composition patterns for building flexible, maintainable React components. Avoid boolean prop proliferation by using compound components, lifting state, and composing internals. These patterns make codebases easier for both humans and AI agents to work with as they scale.

When to Apply

Reference these guidelines when:

  • Refactoring components with many boolean props
  • Building reusable component libraries
  • Designing flexible component APIs
  • Reviewing component architecture
  • Working with compound components or context providers

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Component ArchitectureHIGHarchitecture-
2State ManagementMEDIUMstate-
3Implementation PatternsMEDIUMpatterns-
4React 19 APIsMEDIUMreact19-

Quick Reference

1. Component Architecture (HIGH)

  • architecture-avoid-boolean-props - Don't add boolean props to customize behavior; use composition
  • architecture-compound-components - Structure complex components with shared context

2. State Management (MEDIUM)

  • state-decouple-implementation - Provider is the only place that knows how state is managed
  • state-context-interface - Define generic interface with state, actions, meta for dependency injection
  • state-lift-state - Move state into provider components for sibling access

3. Implementation Patterns (MEDIUM)

  • patterns-explicit-variants - Create explicit variant components instead of boolean modes
  • patterns-children-over-render-props - Use children for composition instead of renderX props

4. React 19 APIs (MEDIUM)

⚠️ React 19+ only. Skip this section if using React 18 or earlier.

  • react19-no-forwardref - Don't use forwardRef; use use() instead of useContext()

How to Use

Read individual rule files for detailed explanations and code examples:

rules/architecture-avoid-boolean-props.md
rules/state-context-interface.md

Each rule file contains:

  • Brief explanation of why it matters
  • Incorrect code example with explanation
  • Correct code example with explanation
  • Additional context and references

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is vercel-composition-patterns?

Perfect for Frontend Agents needing to build flexible and maintainable React components with reduced boolean prop proliferation. Vercel-composition-patterns is a set of guidelines for building maintainable React components using compound components, state lifting, and internal composition.

How do I install vercel-composition-patterns?

Run the command: npx killer-skills add flourine95/zent-ui/vercel-composition-patterns. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for vercel-composition-patterns?

Key use cases include: Refactoring components with multiple boolean props, Building reusable component libraries with flexible APIs, Designing maintainable and scalable React applications.

Which IDEs are compatible with vercel-composition-patterns?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for vercel-composition-patterns?

Requires knowledge of React and JavaScript. Specific to React composition patterns, not applicable to other frameworks.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add flourine95/zent-ui/vercel-composition-patterns. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use vercel-composition-patterns immediately in the current project.

Related Skills

Looking for an alternative to vercel-composition-patterns or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI