मुख्य सामग्री पर जाएँ
Skillpedia
मोबाइल ऐप48k · #4568

expo-animation

यह क्या करती है

यह टूल मोबाइल ऐप्स के लिए सहज और तेज़ी से प्रतिक्रिया देने वाले एनिमेशन बनाने में मदद करता है, ताकि वे अलग-अलग डिवाइस पर अच्छे से चलें।

कब इस्तेमाल करें

  • ✓जब आप चाहते हैं कि छूने पर कोई एलिमेंट सहजता से हिले।
  • ✓जब स्क्रीन या एलिमेंट के बीच ट्रांज़िशन बनाना हो।
  • ✓जब यूज़र अनुभव को बेहतर बनाने के लिए विज़ुअल इफ़ेक्ट जोड़ने हों।

Skill का लिंक

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/expo-animation/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/expo-animation/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“जब बटन स्क्रीन पर आए, तब उसके लिए फ़ेड-इन एनिमेशन बनाओ।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह Reanimated जैसे खास टूल का इस्तेमाल करता है, जो फ़ोन के सही 'thread' पर चलते हैं, ताकि एनिमेशन अटकें नहीं। इसका फोकस यह है कि एनिमेशन ऐप के बाकी हिस्सों में दखल दिए बिना चले।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

When to Use

  • Use when this upstream workflow matches the user's stated goal.
  • Use when the task requires the procedures documented in this skill.

Building Animations in Expo

This skill was created in collaboration with Emil Kowalski and can also be found in the emilkowalski/skills repository, along with other useful animation skills.

A construction skill for React Native. It turns a request for motion into an implementation that survives a strict review on a real device — not in the simulator, not on a flagship phone in dev mode.

Mobile changes three things about animation, and everything in this skill follows from them:

  1. There is no hover. Every affordance the web puts in hover has to live in press, position, or nothing.
  2. There are two runtimes. Worklets (Reanimated 4) makes this explicit: the React Native runtime, where React renders and your app logic runs, and the UI runtime, where worklets run every frame (plus optional worker runtimes for background work). An animation that touches the RN runtime stutters the moment the app does anything else. The whole craft is keeping motion on the UI runtime.
  3. The user's finger is on the element. Gestures are the primary input, so interruptibility and velocity handoff aren't polish — they're the baseline.

Operating Posture

You are a senior mobile engineer building the animation yourself. Make the call, state the reasoning in one line, write the code. Never present motion options as a menu.

Two failure modes, and the first is worse:

  1. Animating something that shouldn't animate. The gate below exists to produce zero lines of code sometimes.
  2. Animating the right thing on the wrong thread — a setState per frame, a PanResponder, an animated height. It looks fine in dev on your phone and drops to 20fps on a three-year-old Android.

Hard Rules

  1. Run the sequence in order. Steps 1 and 2 gate everything.
  2. Reanimated, not core Animated. Core Animated can't be driven by a gesture without crossing the bridge, and useNativeDriver refuses anything but transform and opacity anyway. Reanimated worklets run on the UI thread and keep running while JS is busy.
  3. No approximated values. Curves and spring configs come from the tables below.
  4. Reduced motion ships with the animation, not as a follow-up.
  5. Feel is judged on a release build on the slowest device you support. Nothing else counts as verified.

The Build Sequence

1. Should this animate at all?

Frequency Decision
100+ times/day — tab switches, keyboard open/close, scrolling, toggles in settings No animation. Platform default or nothing. Stop here.
Tens of times/day — press feedback, list navigation, row selection Near-imperceptible only: under 150ms, or nothing
Occasional — sheets, modals, toasts, onboarding steps Standard animation
Rare / first-time — success states, empty-state illustrations, celebration The delight budget lives here

Tab switches never slide. Tabs are peers, not a hierarchy — sliding implies depth that isn't there, and the user pays for it dozens of times a session. animation: 'none'.

If the request fails this gate, say so and don't write it.

2. What is the purpose?

Name it in one word before continuing: feedback, spatial consistency, state indication, preventing a jarring change, explanation, or delight (rare tier only).

Can't name it? Don't build it.

3. Pick the tool — cheapest that works

Walk down; stop at the first that fits.

Need Tool
A state-driven change with no gesture — press, toggle, color, a value flipping Reanimated CSS transition (transitionProperty in the style)
Loop, multi-stage, or plays on mount with no state change Reanimated CSS animation (animationName keyframes)
An element mounting or unmounting, or a list reflowing Layout animations (entering / exiting / itemLayoutAnimation)
Anything a finger touches, or anything derived from scroll useSharedValue + Gesture + useAnimatedStyle
Screen to screen Native stack options in Expo Router. Never hand-roll this
A bottom sheet that is its own screen presentation: 'formSheet' — it's a real UISheetPresentationController, free and correct

…

अक्सर पूछे जाने वाले सवाल

हर चीज़ में एनिमेशन क्यों न लगाएँ?

ज़रूरत से ज़्यादा एनिमेशन ऐप को धीमा कर सकते हैं। यह टूल तय करने में मदद करता है कि एनिमेशन सच में उपयोगी है या बेहतर होगा कि कोई एनिमेशन न हो।

'worklets' क्या होते हैं?

ये कोड के छोटे टुकड़े होते हैं जो सीधे 'UI thread' (जो इंटरफ़ेस को संभालता है) पर चलते हैं, जिससे एनिमेशन बहुत तेज़ और सहज रहते हैं।

धीमे डिवाइस पर ध्यान क्यों दिया जाता है?

ताकि एनिमेशन सभी यूज़र्स के लिए ठीक से चले, चाहे उनके पास पुराना या कम ताकत वाला फ़ोन हो।

जानकारी

लेखक का मूल विवरण

Curated upstream guidance for Expo Animation; use when the workflow matches the user goal.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#4568
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills