Skip to content

BjornMelin/dev-skills / plugins/design-motion/skills/r3f-scene-polish

r3f-scene-polish

Verified

Art-directs an existing three.js or React Three Fiber scene to cinematic quality with postprocessing, HDRI and PBR lighting, contact shadows, transmission materials, and camera choreography. Use for look-development once the scene renders, not for scene setup or lifecycle.

references/performance-accessibility.md

View on GitHub
# Performance and Accessibility Gates

## R3F and three.js gates

- No React state in `useFrame` or high-frequency pointer handlers.
- Use delta time.
- Reuse temporary objects.
- Clamp DPR.
- Use demand rendering for mostly static scenes.
- Use instancing for repeated geometry.
- Reuse materials and geometries.
- Compress GLB and textures.
- Budget postprocessing passes.
- Budget dynamic shadows.
- Add low, medium, high, and reduced quality paths.
- Pause loops, particles, and shader time when hidden.

## Reanimated and Expo gates

- Gesture and hot animation logic runs on shared values and worklets.
- Avoid per-frame JS-thread state updates.
- Preserve velocity on release.
- Cancel and retarget animations on interruption.
- Use transform and opacity where possible.
- Budget shadows, blur, list cell animations, and layout transitions.
- Stop repeating animations offscreen.
- Validate on real iOS device and release build.

## Reduced-motion gates

- Disable camera travel, orbit, aggressive zoom, parallax, particles, loops, and sensor motion.
- Replace large movement with opacity, small transform, or instant state.
- Remove bounce and overshoot where it can cause discomfort.
- Keep pressed, selected, success, error, and focus states clear.
- Provide skip behavior for long hero intros.

## Accessibility gates

- Preserve readable text during motion.
- Avoid rapid flashes.
- Keep touch targets stable and large enough.
- Provide keyboard focus states for interactive elements.
- Do not hide critical state only in motion.
- Do not trap users in scroll-driven or gesture-only interactions.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall