trove-react-view-transitions

trove-react-view-transitions is a skill for Claude Code from bravew/trove. It costs 68 tokens per session (1,109 once invoked), scanned A, original, MIT.

A React development guide for using the browser’s built-in View Transition API to animate changes between screens and interface states. It is intended for Vite-based React 19 applications using React Router.

In plain words
What is it for?
Use it when implementing page transitions, shared-element effects, Suspense loading reveals, list-item identity changes, or animations between React UI states.
Why use it?
It helps add coordinated page, list, loading, and shared-element animations without adding a separate animation library. Unsupported browsers can skip the animations.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the trove-dev plugin — 15 skills, 1 agent shipped together

Good fit Use it when implementing page transitions, shared-element effects, Suspense loading reveals, list-item identity changes, or animations between React UI states.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bravew/trove/trove-react-view-transitions
View source ↗ bravew/trove
Install

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.

Any agent
npx skills add bravew/trove --skill trove-react-view-transitions
Clone the repo
git clone --depth 1 https://github.com/bravew/trove

Made for: Claude Code.

Or install trove-dev, the plugin that ships this one along with the rest of its 15 skills, 1 agent.

Wrote 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.

agentmods badge for trove-react-view-transitions

README.md
[![agentmods](https://agentmods.dev/badge/skills/bravew/trove/trove-react-view-transitions.svg)](https://agentmods.dev/skills/bravew/trove/trove-react-view-transitions)
Your own site
<a href="https://agentmods.dev/skills/bravew/trove/trove-react-view-transitions"><img src="https://agentmods.dev/badge/skills/bravew/trove/trove-react-view-transitions.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,109 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.01109
Opus 5 $0.00034 $0.00554
Sonnet 5 $0.00014 $0.00222
Haiku 4.5 $0.00007 $0.00111

Measured 8d ago against content hash c5f7be780d20, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

trove-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 8d 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.

plugins/trove-dev/.agents/skills/trove-react-view-transitions/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Trove · v2026.7.4

Session Init

This skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.

React View Transitions

Animate between UI states using the browser's native View Transition API. Declare what animates with <ViewTransition>, trigger when with startTransition, useDeferredValue, or Suspense, and control how with CSS classes from references/css-recipes.md. Unsupported browsers skip animations.

Stack Notes

This skill assumes a Vite-based React 19 app (React Router, not Next.js App Router). The React <ViewTransition> component is canary-only for Vite; use react@canary react-dom@canary and verify with npm ls react. The references/nextjs.md file is only for future Next.js work.

Load On Demand

  • references/implementation.md - required workflow when adding transitions.
  • references/css-recipes.md - CSS recipes to copy into the global stylesheet.
  • references/patterns.md - examples, events API, timing, and troubleshooting.
  • references/nextjs.md - Next.js App Router reference only.

Do not inline those references into the conversation. Load the relevant file when the implementation step needs it.

When To Animate

Every transition must communicate continuity or spatial relationship. If you cannot name what the motion communicates, skip it.

Apply every fitting pattern in this order:

Priority Pattern Communicates
1 Shared element (name) Same thing, going deeper
2 Suspense reveal Data loaded
3 List identity (key) Same items, new arrangement
4 State change (enter/exit) Something appeared/disappeared
5 Route change Going to a new place

Use directional slides only for hierarchy or ordered sequences. Lateral tabs should use a cross-fade or no animation.

Implementation Workflow

  1. Load references/implementation.md and start with the audit. Map every <Link>, router navigation, <Suspense> boundary, page component, persistent element, and shared visual element.
  2. Copy the complete CSS recipe set from references/css-recipes.md into the global stylesheet before wiring components.
  3. Isolate persistent headers, navbars, sidebars, sticky controls, and matching skeleton/content controls with viewTransitionName.
  4. For hierarchical route changes, tag direction with addTransitionType inside startTransition, then wrap page components, not layouts, in a type-keyed <ViewTransition>.
  5. For Suspense, wrap fallback and content separately. Use string props, not type maps; Suspense resolves fire as separate transitions without route type.
  6. For shared elements, use globally unique name values such as photo-${id} and add fallback enter/exit when a pair might not form.
  7. Verify every row in the navigation map: mount/unmount behavior, named-pair formation, default="none", persistent element isolation, and reduced motion.

Read the full file on GitHub · 108 lines

Files

What ships with it

4 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.

Changes

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.

  1. 8d ago First seen · 108 lines · 68 tokens per session scan A c5f7be780d20

Subscribe to this mod's changes

trove-react-view-transitions is a skill published in the GitHub repository bravew/trove (10 stars, last pushed 9d ago), licensed MIT. It adds 68 tokens to every session and 1,109 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

material-ui-tailwind

Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.

mui/material-ui · 67 tokens

r3f-best-practices

React Three Fiber (R3F) and Poimandres ecosystem best practices. Use when writing, reviewing, or optimizing R3F code. Triggers on tasks involving @react-three/fiber, @react-three/drei, zustand, @react-three/postprocessing, @react-three/rapier, or leva.

zebbern/claude-code-guide · 74 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

fast-typescript-check

Keep www-sacred's TypeScript fast to type-check and fast to run. Use when touching the ASCII/canvas animation components (the only real per-frame code here), tightening type-check wall-clock, or auditing a change for runtime or compiler regressions. Scoped to this repo — a React 19 / Next.js 16 component library plus…

internet-development/www-sacred · 84 tokens

menu-testing-ssr

Server rendering and testing for react-horizontal-scrolling-menu: the library is client-only ('use client' required in React Server Components, else "createContext is not a function"), SSR first paint is controlled by the useIsVisible defaultValue argument (canonical ('first', true) / ('last', false))…

asmyshlyaev177/react-horizontal-scrolling-menu · 144 tokens