Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add laguagu/claude-code-nextjs-skills --skill vercel-react-view-transitionsgit clone --depth 1 https://github.com/laguagu/claude-code-nextjs-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/laguagu/claude-code-nextjs-skills/vercel-react-view-transitions)<a href="https://agentmods.dev/skills/laguagu/claude-code-nextjs-skills/vercel-react-view-transitions"><img src="https://agentmods.dev/badge/skills/laguagu/claude-code-nextjs-skills/vercel-react-view-transitions/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/laguagu/claude-code-nextjs-skills/vercel-react-view-transitions"><img src="https://agentmods.dev/badge/skills/laguagu/claude-code-nextjs-skills/vercel-react-view-transitions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00128 | $0.03496 |
| Opus 5.5 | $0.00051 | $0.01398 |
| Sonnet 5.5 | $0.00026 | $0.00699 |
| Haiku 4.5 | $0.00013 | $0.00350 |
Grade A, and why
vercel-react-view-transitions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
91% identical to vercel-react-view-transitions — 57 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 334 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React View Transitions
Animate between UI states using the browser's native document.startViewTransition. Declare what with <ViewTransition>, trigger when with startTransition / useDeferredValue / Suspense, control how with CSS classes. Unsupported browsers skip animations gracefully.
When to Animate
Every <ViewTransition> should communicate a spatial relationship or continuity. If you can't articulate what it communicates, don't add it.
Choose patterns that serve the requested interaction:
| Priority | Pattern | What it communicates |
|---|---|---|
| 1 | Shared element (name) |
"Same thing — going deeper" |
| 2 | Suspense reveal | "Data loaded" |
| 3 | List identity (per-item key) |
"Same items, new arrangement" |
| 4 | State change (enter/exit) |
"Something appeared/disappeared" |
| 5 | Route change (page-level) | "Going to a new place" |
Start with the smallest useful motion change. Add other patterns only when they improve orientation or continuity; preserve reduced-motion behavior.
Choosing Animation Style
| Context | Animation | Why |
|---|---|---|
| Hierarchical navigation (list → detail) | Type-keyed nav-forward / nav-back |
Communicates spatial depth |
| Lateral navigation (tab-to-tab) | Bare <ViewTransition> (fade) or default="none" |
No depth to communicate |
| Suspense reveal | enter/exit string props |
Content arriving |
| Revalidation / background refresh | default="none" |
Silent — no animation needed |
Reserve directional slides for hierarchical navigation (list → detail) and ordered sequences (prev/next photo, carousel, paginated results). For ordered sequences, the direction communicates position: "next" slides from right, "previous" from left. Lateral/unordered navigation (tab-to-tab) should not use directional slides — it falsely implies spatial depth.
Availability
- Next.js: Since Next.js 16.3
<ViewTransition>works in the App Router with no configuration. Do not installreact@canary— the App Router bundles its own React build. Do not add the oldexperimental.viewTransitionflag; on 15.x canary–16.2 read the installed version's docs (seereferences/nextjs.md). - Without Next.js: React 19.3+ exports
ViewTransitionandaddTransitionTypefrom stablereact. On older React they exist only in the Canary and Experimental channels. - TypeScript:
@types/react19.3+ declares both inindex.d.ts. With older types, add/// <reference types="react/canary" />instead of hand-writing a module augmentation. - Browser support: React's integration uses newer View Transitions API features (the
startViewTransitionoptions object with transition types,view-transition-class) — Chromium 125+, Firefox 147+, Safari 18.2+. Some animations may behave differently in Safari. Graceful degradation on unsupported browsers.
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 16d ago Changed 96284f3533ad
- 1mo ago Changed b4ef3ef9aae9
- 2mo ago Changed · +5 lines f5fd988dec87
- 2mo ago Changed 6f2e5e4568ff
- 2mo ago Changed · +8 lines · +1 tokens per session 124dd94e380c
- 3mo ago First seen · 321 lines · 127 tokens per session scan A f8177d444a88
vercel-react-view-transitions is a skill published in the GitHub repository laguagu/claude-code-nextjs-skills (75 stars, last pushed 3d ago), licensed MIT. It adds 128 tokens to every session and 3,496 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to vercel-react-view-transitions, differing in 57 lines, and is treated as a copy.
vercel-react-view-transitions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vercel-react-view-transitionslaguagu/claude-code-nextjs-skills | Skill | 75 | 3d ago | MIT | A | 128 | Claude Code |
| frontend-designmastra-ai/mastra | Skill | 30k | today | none | A | 77 | Claude Code, Codex |
| modern-site-engineeringTheGoat395/Codex-Skills | Skill | 140 | 1mo ago | MIT | A | 12 | Codex |
| frontend-designkrivoox/agent-stack-template | Skill | 30 | 2mo ago | MIT | A | 40 | Claude Code, Codex |
| salgadoia-web-design-engineer-proLuispitik/salgadoia-web-design-engineer-pro | Skill | 5 | 7mo ago | none | C | 299 | Claude Code |
| chakra-ui-builderchakra-ui/chakra-ui | Skill | 41k | today | MIT | A | 214 | Claude Code, Codex |
| magic-uimagicuidesign/magicui | Skill | 24k | today | MIT | A | 56 | Claude Code, Codex |