deploy-to-vercel
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give…
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.
Claude Code
$ npx -y skills add vercel-labs/agent-skills --skill composition-patterns --agent claude-code
Codex
$ npx skills add vercel-labs/agent-skills --skill composition-patterns -a codex -y
Cursor
$ npx skills add vercel-labs/agent-skills --skill composition-patterns -a cursor -y
Gemini CLI
$ npx skills add vercel-labs/agent-skills --skill composition-patterns -a gemini-cli -y
GitHub Copilot
$ npx skills add vercel-labs/agent-skills --skill composition-patterns -a github-copilot -y
OpenCode
$ npx skills add vercel-labs/agent-skills --skill composition-patterns -a opencode -y
Windsurf
$ npx skills add vercel-labs/agent-skills --skill composition-patterns -a windsurf -y
name: vercel-composition-patterns description: 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 compound components, render props, context providers, or component architecture. Includes React 19 API changes. license: MIT metadata: author: vercel version: '1.0.0'
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.
Reference these guidelines when:
| Priority | Category | Impact | Prefix | | -------- | ----------------------- | ------ | --------------- | | 1 | Component Architecture | HIGH | `architecture-` | | 2 | State Management | MEDIUM | `state-` | | 3 | Implementation Patterns | MEDIUM | `patterns-` | | 4 | React 19 APIs | MEDIUM | `react19-` |
behavior; use composition
context
state is managed
for dependency injection
boolean modes
of renderX props
> **⚠️ React 19+ only.** Skip this section if using React 18 or earlier.
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:
For the complete guide with all rules expanded: `AGENTS.md`
A collection of skills for AI coding agents. Skills are packaged instructions and scripts that extend agent capabilities. Skills follow the Agent Skills format.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give…
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing,…
Comprehensive best practices for React Native and Expo applications. Contains rules across multiple categories covering…
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component,…
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens…
Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.