Index of every page on this site: llms.txt
All skills
tristanmanchester avatar

/animating-react-native-expo

@3323bc9
Run it yourself

Implement and debug React Native or Expo motion with Reanimated 4 and Gesture Handler 3: state transitions, layout, gestures, scroll, worklets, cancellation, and accessible alternatives. Use for native UI motion, not web Motion or a reason to add canvas graphics to ordinary views.

Use this Skill: https://skilld.dev/gh/tristanmanchester/agent-skills/animating-react-native-expo

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescss-transitions-and-animations.md

≈416 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Reanimated 4 CSS transitions & animations (quick reference)

Use these when you want “animate on style change” rather than writing worklets.

CSS transitions

Minimal:

<Animated.View
  style={{
    width: expanded ? 260 : 180,
    transitionProperty: 'width',
    transitionDuration: 220,
  }}
/>

Key properties (official docs):

  • transitionProperty: which property (or array of properties) should transition.
  • transitionDuration: how long the transition lasts.
  • transitionDelay, transitionTimingFunction, transitionBehavior.

Docs:

Important remarks from transitionProperty docs:

  • You need transitionDuration alongside transitionProperty.
  • Discrete props (e.g. flexDirection, justifyContent) can’t transition smoothly; use Layout Animations.
  • Avoid transitionProperty: 'all' (performance risk).

CSS animations (keyframes)

Minimal:

<Animated.View
  style={{
    animationName: {
      from: { transform: [{ scale: 0.95 }] },
      to: { transform: [{ scale: 1.05 }] },
    },
    animationDuration: '600ms',
  }}
/>

Docs:

Rules of thumb:

  • Prefer transitions for “state flips” (collapsed/expanded, selected/unselected).
  • Prefer animations (keyframes) for looping, staged motion, and micro-interactions.
  • Prefer shared values/worklets for gestures and scroll.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo5 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill provides documentation, code examples, and a diagnostic script for implementing animations in React Native (Expo) apps using Reanimated v4 and Gesture Handler. No malicious patterns or security risks were detected.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

  • Runlayer8mo

    9/9 files flagged

  • ZeroLeaks6mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 3323bc9. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Steadyupdated last month
metadata
{
  "version": "2.0.0",
  "reviewed": "2026-09-13"
}
Other metadata
compatibility
Requires a compatible React Native New Architecture, Reanimated 4, Worklets, and Gesture Handler 3 stack. Resolve versions through the app's Expo SDK or upstream compatibility tables; native verification needs a device or simulator build.

README badge

README badge for tristanmanchester/agent-skills/animating-react-native-expo