Frontend

Vercel Composition Patterns

Use compound components, state lifting, and composition to avoid boolean-prop explosions.

  • Official source

Use it when

Reusable component API/design system; simple leaf component may not be needed.

Install command

This is the command stored in the directory. Read the source, then run it on work you can undo.

npx skills add vercel-labs/agent-skills --skill vercel-composition-patterns

Source

Inspect it before you install it

Treat the skill like a dependency. The directory entry is a shortlist, and the source is the thing you are about to run.

  • Read the instructions and any scripts before you grant tools, files, or credentials.
  • Test it on reversible work. Keep deploy, send, publish, and payment steps for a person.
  • Keep it when the output is easier to review. Remove it when it only adds steps.

Keep going