Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

native-motion

/native-motion

Dodaje natywne animacje mobilne w React Native, SwiftUI, Jetpack Compose i Flutter: sprężyny, przejścia, gesty i wibracje.

Repozytorium
astudio-motion ↗
Licencja
MIT
Ostatnia zmiana repozytorium
03.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 03.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Dodaje natywne animacje mobilne w React Native, SwiftUI, Jetpack Compose i Flutter: sprężyny, przejścia, gesty i wibracje.

Argumenty

/native-motion [screen/component/gesture] [platform: RN/Expo, SwiftUI, Compose, Flutter]
Oryginalny opis (EN)

Native mobile motion by astudio: React Native / Expo with Reanimated 4 (shared values, worklets, CSS-style transitions, layout animations, gestures with react-native-gesture-handler, haptics), SwiftUI (springs, withAnimation, matchedGeometryEffect, PhaseAnimator/KeyframeAnimator, sensoryFeedback), Jetpack Compose (animate*AsState, AnimatedContent, updateTransition, shared element transitions, spring specs) and Flutter (implicit/explicit animations, Hero) - press feedback, sheets, navigation transitions, swipe/drag with velocity, pull-to-refresh, list changes, onboarding, 120fps on the UI threa

Jak działa

  1. The build sequence (same gate as the web, mobile specifics in bold)
  2. Never ship
  3. Output
Sekcje z nagłówków SKILL.md, w oryginale · 38 linii, 371 słów
Podgląd SKILL.md
---
name: native-motion
description: >-
  Native mobile motion by astudio: React Native / Expo with Reanimated 4 (shared values, worklets, CSS-style
  transitions, layout animations, gestures with react-native-gesture-handler, haptics), SwiftUI (springs,
  withAnimation, matchedGeometryEffect, PhaseAnimator/KeyframeAnimator, sensoryFeedback), Jetpack Compose
  (animate*AsState, AnimatedContent, updateTransition, shared element transitions, spring specs) and Flutter
  (implicit/explicit animations, Hero) - press feedback, sheets, navigation transitions, swipe/drag with velocity,
  pull-to-refresh, list changes, onboarding, 120fps on the UI thread, reduced motion. Use for "анимация в
  приложении", "React Native animation", "Reanimated", "Expo animation", "SwiftUI animation", "Compose animation",
  "Flutter animation", "haptics", "жесты".
argument-hint: "[screen/component/gesture] [platform: RN/Expo, SwiftUI, Compose, Flutter]"
---

# astudio · Native motion

Role: Senior Motion Designer & mobile design engineer at astudio.one (15+ years) - app motion that feels native,
runs at 120fps and answers the finger on the same frame. Bar: `<root>/reference/studio-bar.md`; `<root>` = two levels
above this skill's base directory, or the folder holding `scripts/easing.py`.

## The build sequence (same gate as the web, mobile specifics in bold)
1. Should it animate (frequency) and why (purpose) - `<root>/reference/principles.md` §1.
2. Cheapest tool: platform-native transitions first (navigation stack, sheets, system components); then the
   animation API; custom only for signature moments.
3. Properties: transform/opacity (scale, translate, rotate); layout animations via the framework's layout API.
4. **Timing or spring**: springs for anything the finger touches (they carry velocity); durations for system-driven
   fades. Convert the system's springs with `python3 <root>/scripts/easing.py spring --bounce 0.15 --duration 0.4`
   (prints Reanimated, SwiftUI and Compose values from one definition).
5. **Keep it off the JS/main thread** (RN: worklets and shared values; never setState from gesture/scroll handlers;
   `.get()/.set()`; `'worklet'` directive on helpers; `scheduleOnRN` instead of deprecated `runOnJS`).
6. **Press, not hover**: feedback on press-in (scale 0.97 in 100-150ms), commit on press-out; 44pt/48dp targets with
   hitSlop; pressRetentionOffset; Android ripple only in Material-styled apps.
7. **Haptics**: selection for detents/steps, light impact for snaps and commits, medium for heavy landings/destructive,
   success/error notifications - on the same frame as the visual, one per user action, never the only feedback.
8. **Reduced motion and accessibility**: respect system settings (RN `useReducedMotion` / `ReduceMotion.System`,
   SwiftUI `accessibilityReduceMotion`, Android animator duration scale), keep fades, drop travel/parallax.
9. **120fps**: ProMotion/high-refresh devices need `CADisableMinimumFrameDurationOnPhone` (iOS Info.plist) for RN;
   test on a real device - simulators lie about feel.

Platform recipes: `references/react-native.md`, `references/swiftui-compose.md` (SwiftUI, Compose, Flutter).
Motion system and tokens: `<root>/reference/motion-system.md` (store springs as damping ratio + response).

## Never ship
setState per frame from gestures/scroll · animations on the JS thread when a worklet would do · distance-only swipe
dismissal (use velocity) · bounce on utility controls · haptics on scroll/entrances or lagging the visual · ignoring
Reduce Motion · web hover patterns ported to touch · blocking navigation transitions longer than ~400ms.

## Output
The code, then one line each: gate result, tool, curve/spring values (with the cross-platform equivalents), haptic
choice, what to feel-check on device.
Pliki w paczce (3)
  • SKILL.md 4 KB
  • references/react-native.md 4 KB
  • references/swiftui-compose.md 4 KB

Wersje

W bazie nie ma innych skilli o nazwie native-motion.

Migawka bazy z 13.11.2026 · wersja paczki dddc99389e58 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100animate-expo
    Projektuje animacje w React Native i Expo: wątek wykonania, właściwości, sprężyny lub czas, gesty i przejścia ekranów z Reanimated.
  • 100react-native-reanimated
    Prowadzi przez React Native Reanimated: animacje na wątku UI przez worklety i shared values, w tym animacje gestów, przejścia elementów i aktualizację z Reanimated 3 do 4.
  • 100animate-expo
    Pisze animacje w React Native i Expo z Reanimated, Gesture Handler i Expo Router, także przy gestach, arkuszach i reakcji na dotyk.
  • 90apple-ui-motion
    Dobiera animacje w stylu Apple w SwiftUI, CSS, React Native i Flutter: sprężyny, symbole SF, przejścia i tryb ograniczonego ruchu.
  • 90animations-native
    Pisze wydajne animacje i gesty w React Native z Reanimated i gesture handlerem, wykonywane w wątku interfejsu.
  • 95swiftui-animation
    Wdraża i przegląda animacje i przejścia SwiftUI: withAnimation, animacje sprężynowe, PhaseAnimator, KeyframeAnimator, matchedGeometryEffect i efekty symboli SF.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.