Skip to content
Skill

Vercel composition patterns

React composition patterns that scale

Install
Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
34.3K
Last commit
5 days ago
License
MIT
Listing updated
today

When your agent uses it

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 14 files (49 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Install

Copy the skill folder to ~/.claude/skills/vercel-composition-patterns to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vercel-labs/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/vercel-composition-patterns &&
cp -R "$tmp/skills/composition-patterns" ~/.claude/skills/vercel-composition-patterns &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/vercel-composition-patterns inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/vercel-composition-patterns to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vercel-labs/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/vercel-composition-patterns &&
cp -R "$tmp/skills/composition-patterns" ~/.agents/skills/vercel-composition-patterns &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/vercel-composition-patterns inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/vercel-composition-patterns to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vercel-labs/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/vercel-composition-patterns &&
cp -R "$tmp/skills/composition-patterns" ~/.cursor/skills/vercel-composition-patterns &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/vercel-composition-patterns inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/vercel-labs/agent-skills.git --path skills/composition-patterns

Or copy the folder to ~/.gemini/skills/vercel-composition-patterns yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/vercel-composition-patterns:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vercel-labs/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/vercel-composition-patterns &&
cp -R "$tmp/skills/composition-patterns" ~/.copilot/skills/vercel-composition-patterns &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/vercel-composition-patterns inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/vercel-labs/agent-skills.git

Then copy agent-skills/skills/composition-patterns into your agent's skills folder as vercel-composition-patterns. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

Vercel composition patterns FAQ

How do I install Vercel composition patterns in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/vercel-composition-patterns to use it in all your projects, or to .claude/skills/vercel-composition-patterns in one project.

Does Vercel composition patterns run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Vercel composition patterns?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Vercel composition patterns?

The closest alternatives to Vercel composition patterns are Gem devops guidelines, Azure logic apps standard CLI, Azure container registry CLI, Azure devops CLI and Terraform azurerm set diff analyzer.

More from vercel-labs/agent-skills

  1. React Native and Expo best practices for building performant mobile apps

    • Open source
    • 34.3K GitHub stars
    • Cloud and infrastructure
  2. Deploy and manage projects on Vercel using token-based authentication

    • 34.3K GitHub stars
    • Cloud and infrastructure
  3. Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps

    • 34.3K GitHub stars
    • Cloud and infrastructure
  4. Review UI code for Web Interface Guidelines compliance

    • 34.3K GitHub stars
    • Design and media
  5. Deploy applications and websites to Vercel

    • 34.3K GitHub stars
    • Cloud and infrastructure

Alternatives to Vercel composition patterns

  1. Design or review infrastructure, deployment, CI/CD, Docker, Kubernetes, health checks, rollback, feature flags, production readiness, and mo

    • Open source
    • 41.3K GitHub stars
    • Cloud and infrastructure
  2. Create, inspect, validate, test, run, debug, package, and deploy Azure Logic Apps Standard projects using the Azure CLI logicapp extension

    • Open source
    • 41.3K GitHub stars
    • Cloud and infrastructure
  3. Manage Azure Container Registry via the az acr CLI including registries, images, cloud builds, ACR Tasks, authentication, tokens, geo-replic

    • Open source
    • 41.3K GitHub stars
    • Cloud and infrastructure
  4. Manage Azure DevOps resources via CLI including projects, repos, pipelines, builds, pull requests, work items, artifacts, and service endpoi

    • Open source
    • 41.3K GitHub stars
    • Cloud and infrastructure
  5. Analyze Terraform plan JSON output for AzureRM Provider to distinguish between false-positive diffs (order-only changes in Set-type attribut

    • Open source
    • 41.3K GitHub stars
    • Cloud and infrastructure
  6. Performs comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permi

    • Open source
    • 41.3K GitHub stars
    • Cloud and infrastructure