Skill: React Composition Patterns
by Vercel
Vercel's official skill for React component architecture — replace boolean prop proliferation with compound components, lifted state and explicit variants. Includes React 19 APIs.
Vercel's official guide to React's <ViewTransition> API — shared elements, list identity, Suspense reveals and directional route animations without an animation library.
Add this skill to your favorite AI agent in a few steps.
React View Transitions is an official Vercel agent skill covering React's <ViewTransition> component and the browser's native document.startViewTransition — the way to animate between UI states without pulling in Framer Motion or a comparable runtime.
It leads with restraint, not with API surface. The skill opens with a rule that most animation documentation omits: every transition should communicate a spatial relationship or continuity, and if you cannot articulate what a given animation communicates, you should not add it. From there it gives a prioritised list of five patterns — shared element, Suspense reveal, list identity, enter/exit state change, and route change — to be applied in order, together with a table matching animation style to navigation type. Directional slides are reserved for hierarchical and ordered navigation; using them for tab-to-tab movement falsely implies depth.
Then it gets specific. Roughly 14KB of guidance covers the separation of concerns the API is built on — declare what animates with <ViewTransition>, trigger when with startTransition, useDeferredValue or Suspense, and control how with CSS classes — plus the critical placement rule, transition types and addTransitionType, handling router.back() and the browser back button, shared-element readiness, layout displacement morphs, forcing re-enter with key, how multiple concurrent transitions interact, and the nested-transition limitation.
Framework and accessibility notes that save time. It documents that Next.js App Router already bundles React canary internally, so you should not install react@canary even though npm ls react looks like you need to — a genuinely common misstep. Unsupported browsers skip animations gracefully, and the skill covers prefers-reduced-motion handling.
MIT-licensed, part of vercel-labs/agent-skills, installable with npx skills add vercel-labs/agent-skills.
by Vercel
Vercel's official skill for React component architecture — replace boolean prop proliferation with compound components, lifted state and explicit variants. Includes React 19 APIs.
by Vercel
Vercel Engineering's React and Next.js performance playbook as an agent skill — 70 rules across 8 categories, ordered by impact, for writing and refactoring fast components.
by Datadog
Official Datadog skill that adds or repairs Browser RUM in a web app — detects framework, router, bundler and existing setup, then wires init once and verifies the build still passes.
by Vercel
Vercel's official skill for auditing UI code against the Web Interface Guidelines — accessibility, performance and UX rules reported as terse file:line findings.