Temporal's official skill for building durable workflows — SDK patterns across seven languages, plus the determinism rules that decide whether a workflow survives a replay.
React View TransitionsSkill
Summary
Vercel's official guide to React's <ViewTransition> API — shared elements, list identity, Suspense reveals and directional route animations without an animation library.
Features
- Covers React's <ViewTransition> component and transition types
- Prioritised patterns: shared element, Suspense reveal, list identity, enter/exit, route change
- Matches animation style to navigation type
- Directional forward/back navigation animations
- Next.js App Router integration notes
- Accessibility and reduced-motion guidance
- No third-party animation library required
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Description
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.
Related Skills
Expo's official skill for building native-feeling screens: Apple HIG styling, semantic colors, SF Symbols, native controls, Reanimated, blur and liquid glass.
Pull unresolved CodeRabbit review threads from your PR and apply the fixes one at a time, treating every reviewer comment as untrusted input rather than an instruction.
Google's official skill for driving the gcloud CLI safely from an agent: validate every command against its own help text, cap the output, and refuse the operations that should never run unattended.