installskill

Skills / vercel-labs/agent-skills

vercel-react-view-transitions

Animations with React's View Transition API.

Pinned commit
5a37a6329fbaCommitted 2026-11-20
Files
9119 KB
License
MIT
Snapshot taken
2026-11-28
Description from the skill
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install vercel-labs/agent-skills skills/react-view-transitions --agent claude-code --pin 5a37a6329fbad3666c3207392a6a7c0110e92efb

gh picks the directory for the agent, names the folder after the source directory (react-view-transitions), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read b490379f71eee822cf207605ce4fceaff6e10330.

skills CLIpinned

$ npx skills add vercel-labs/agent-skills@5a37a6329fbad3666c3207392a6a7c0110e92efb --skill vercel-react-view-transitions -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/vercel-labs/agent-skills.git "$tmp"
$ git -C "$tmp" checkout --quiet 5a37a6329fbad3666c3207392a6a7c0110e92efb
$ mkdir -p .claude/skills
$ cp -R "$tmp/skills/react-view-transitions" .claude/skills/vercel-react-view-transitions

No extra tooling. Files land byte for byte as published in .claude/skills/vercel-react-view-transitions, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/vercel-react-view-transitions && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expectedab1e8edcab19fbf6c4d42dcc739ce14d0425094270b491b78911b4a74eca3865

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 7SKILL.md · 1Data · 1

Runs commands1

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 1 in docs and other text files

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packages1

Commands that pull and run third-party packages at use time.

0 in scripts · 1 in docs and other text files

Reads env or credentialsNo match

References to environment variables, tokens, keys or credential files.

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • nextjs.org×11
  • github.com×9
  • react.dev×8
  • skills.sh×1

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
ab1e8edcab19fbf6c4d42dcc739ce14d0425094270b491b78911b4a74eca3865
Git tree SHA
b490379f71eee822cf207605ce4fceaff6e10330
PathKindSizeSHA-256
AGENTS.mdDocs58 KB4bfb2fb46451abac…
README.mdDocs2.2 KBaba31b4ac31c1b13…
SKILL.mdSKILL.md14 KB693acbddd1d2dcf7…
metadata.jsonData852 Bb1a5ae09f3904dc8…
references/css-recipes.mdDocs8.1 KBf4a5b92a7aad6bef…
references/implementation.mdDocs9.1 KB87687de5fa2f775a…
references/nextjs.mdDocs10 KBf926a645d5e4c62f…
references/patterns.mdDocs12 KBda24d7f37c7e6b8e…
references/troubleshooting.mdDocs4.8 KBaa6811d276dcf06d…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Novercel-react-view-transitions ≠ react-view-transitions. Installed as vercel-react-view-transitions.
Name uses lowercase letters, digits and hyphens
Yes
Description length
664limit 1,024 characters
SKILL.md body
325 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
MIT
License file
None declared
Repository license
None declared

Change history

No changes recorded since the first snapshot on 2026-11-28.