Skip to content
Back to skills

Ztc Cinematic Transitions Spa Native View Transitions

ASecurity

Focused implementation and verification of spa native view transitions in Cinematic Page Transition Engine.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
designreactapiperformance

Works with

  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Realjustawall/Perfect-AI --skill ztc-cinematic-transitions-spa-native-view-transitions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ztc Cinematic Transitions Spa Native View Transitions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ztc Cinematic Transitions Spa Native View Transitions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/realjustawall-ztc-cinematic-transitions-spa-native-view-transiti/badge)](https://www.skillsdirectory.com/skills/realjustawall-ztc-cinematic-transitions-spa-native-view-transiti)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ztc-cinematic-transitions-spa-native-view-transitions
description: "Focused implementation and verification of spa native view transitions in Cinematic Page Transition Engine."
---
# Spa Native View Transitions

Parent: `ztc-cinematic-transitions` — read its acceptance gate and `../../src/transitions.mjs` before editing.

## Required implementation
Prefer document.startViewTransition for same-document changes when supported. Update DOM inside callback. Await finished. Always provide a no-motion fallback.

### Exact workflow
1. Inspect current code ownership and versions; write down the affected components, selectors, assets and timeline owners.
2. Reproduce baseline at 320px/390px/768px/1440px, with pointer/touch, navigation, RTL if applicable, and reduced-motion.
3. Integrate the smallest change confined to this responsibility. Use typed/validated props and explicit lifecycle cleanup. Ensure failed assets, missing browser APIs and aborted interactions degrade gracefully.
4. Instrument observable state (progress, time, active selection, DOMRect, material parameters or frame index). Avoid non-deterministic quality claims.
5. Verify start, mid, end and reverse progress; resize after loading fonts/images; test one failure path and repeated navigation; inspect browser console and screenshots.
6. Compare user-facing behavior and performance to baseline. If a regression is observed, roll back just this change and record the cause.

## Contract
- **Input:** authenticated/validated application state, viewport, user preference, and dependencies explicitly available in target project.
- **Output:** meaningful accessible DOM and stable optional visual enhancement; no hidden input-only navigation.
- **Acceptance:** Navigate forward/back across two routes at 390 and 1440px; shared keys match, focus moves to new heading, browser back works; test missing keys and reduced motion.
- **Limitations:** Web View Transitions do not automatically transform live WebGL objects. Persistent scene interpolation requires app integration.
- **Evidence:** file paths, screenshot artifact paths, browser/driver, commands, actual test results, and unresolved TODOs.

## References
- https://developer.mozilla.org/en-US/docs/Web/API/View_Transition_API
- https://gsap.com/docs/v3/Plugins/Flip/
- https://motion.dev/docs/react-layout-animations

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.