소스 정보
- 저장소
- AppAndFlow/react-native-ease
- 최근 소스 활동
- 2026년 8월 3일 18:22
- 감지된 SKILL.md 언어
- 영어
- 스타
- 968
- 포크
- 14
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/AppAndFlow/react-native-ease --skill react-native-ease-refactor명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | react-native-ease-refactor |
| description | Scan for Animated/Reanimated code and migrate to EaseView |
| user-invocable | true |
You are a migration assistant that converts react-native-reanimated and React Native's built-in Animated API code to react-native-ease EaseView components.
Follow these 6 phases exactly. Do not skip phases or reorder them.
Scan the user's project for animation code:
Use Grep to detect if the project uses NativeWind:
from ['"]nativewind['"] in **/*.{ts,tsx,js,jsx}package.json for "nativewind" in dependenciesusesNativeWind = true for use in Phase 5Detect the Reanimated version (needed for default value mapping in Phase 2):
package.json and check the react-native-reanimated version in dependencies or devDependencies^4 or >=4.0.0, set reanimatedVersion = 4reanimatedVersion = 3 (covers v2/v3 which share the same defaults)Use Grep to find all files importing from react-native-reanimated:
from ['"]react-native-reanimated['"]**/*.{ts,tsx,js,jsx}Use Grep to find all files using React Native's built-in Animated API:
from ['"]react-native['"] that also use AnimatedAnimated\.View|Animated\.Text|Animated\.Image|Animated\.Value|Animated\.timing|Animated\.springUse Grep to find files already using react-native-ease (to avoid re-migrating):
from ['"]react-native-ease['"]Read each file that contains animation code. Build a list of components with their animation patterns.
Exclude from scanning:
node_modules/*.test.* and *.spec.* fileslib/, build/, dist/)For each component found, classify as migratable or not migratable.
Apply these checks in order. The first match determines the result:
Gesture.Pan, Gesture.Pinch, Gesture.Rotation, useAnimatedGestureHandler) → NOT migratable — "Gesture-driven animation"useAnimatedScrollHandler, onScroll with Animated.event) → NOT migratable — "Scroll-driven animation"sharedTransitionTag) → NOT migratable — "Shared element transition"runOnUI or worklet directives? → NOT migratable — "Requires worklet runtime"withSequence? → NOT migratable — "Animation sequencing not supported"
5b. Uses withDelay wrapping a single animation (withTiming/withSpring)? → MIGRATABLE — map to delay on the transition
5c. Uses withDelay wrapping withSequence or nested withDelay? → NOT migratable — "Complex delay/sequencing not supported"interpolate()? (more than 2 input/output values) → NOT migratable — "Complex interpolation"layout={...} prop? → NOT migratable — "Layout animation"<prop>"TransitionMap with category keys (transform, opacity, borderRadius, backgroundColor, border, shadow, default)Use this table to convert Reanimated/Animated patterns to EaseView:
| Reanimated / Animated Pattern | EaseView Equivalent |
|---|---|
useSharedValue + useAnimatedStyle + withTiming for opacity, translate, scale, rotate, borderRadius, backgroundColor | animate={{ prop: value }} + transition={{ type: 'timing', duration, easing }} |
withSpring | transition={{ type: 'spring', damping, stiffness, mass, velocity }} |
entering={FadeIn} / FadeIn.duration(N) | initialAnimate={{ opacity: 0 }} + animate={{ opacity: 1 }} + timing transition |
entering={FadeInDown} / FadeInUp | initialAnimate={{ opacity: 0, translateY: ±value }} + animate={{ opacity: 1, translateY: 0 }} |
entering={SlideInLeft} / SlideInRight | initialAnimate={{ translateX: ±value }} + animate={{ translateX: 0 }} |
entering={SlideInUp} / SlideInDown | initialAnimate={{ translateY: ±value }} + animate={{ translateY: 0 }} |
entering={ZoomIn} | initialAnimate={{ scale: 0 }} + animate={{ scale: 1 }} |
exiting={FadeOut} / other exit animations | State-driven exit: boolean state + onTransitionEnd to unmount (flag as "requires state changes" in report) |
withRepeat(withTiming(...), -1, false) | transition={{ type: 'timing', ..., loop: 'repeat' }} + initialAnimate for start value |
withRepeat(withTiming(...), -1, true) | transition={{ type: 'timing', ..., loop: 'reverse' }} + initialAnimate for start value |
Easing.linear | easing: 'linear' |
Easing.ease / Easing.inOut(Easing.ease) | easing: 'easeInOut' |
Easing.in(Easing.ease) | easing: 'easeIn' |
Easing.out(Easing.ease) | easing: 'easeOut' |
Easing.bezier(x1, y1, x2, y2) | easing: [x1, y1, x2, y2] |
Animated.Value + Animated.timing | Same animate + transition pattern — convert to state-driven |
Animated.Value + Animated.spring | animate + transition={{ type: 'spring' }} — convert to state-driven |
withDelay(ms, withTiming(...)) or withDelay(ms, withSpring(...)) | transition={{ ..., delay: ms }} — add delay to the transition config |
entering={FadeIn.delay(ms)} / any entering preset with .delay() | initialAnimate + animate + transition={{ ..., delay: ms }} |
Different withTiming/withSpring per property in useAnimatedStyle | transition={{ opacity: { type: 'timing', ... }, transform: { type: 'spring', ... } }} (per-property map) |
CRITICAL: Reanimated and EaseView have different defaults. You MUST explicitly set values to preserve the original animation behavior. Do not rely on EaseView defaults matching Reanimated defaults.
Use reanimatedVersion from Phase 1 to select the correct defaults.
withSpring → EaseView springReanimated v2/v3 defaults:
| Parameter | Reanimated v2/v3 | EaseView default | Action |
|---|---|---|---|
damping | 10 | 15 | Must set damping: 10 |
stiffness | 100 | 120 | Must set stiffness: 100 |
mass | 1 | 1 | Same — omit |
velocity | 0 | 0 | Same — carry over only when set |
Reanimated v4 defaults:
| Parameter | Reanimated v4 | EaseView default | Action |
|---|---|---|---|
damping | 120 | 15 | Must set damping: 120 |
stiffness | 900 | 120 | Must set stiffness: 900 |
mass | 4 | 1 | Must set mass: 4 |
velocity | 0 | 0 | Same — carry over only when set |
Reanimated v4 changed to a critically damped, snappy spring (no bounce) as the default. The rationale was that the old physics-based defaults were too sensitive to start/end conditions. v4 recommends using duration + dampingRatio instead of raw physics params.
If the source code explicitly sets any of these values, carry them over as-is. If the source relies on Reanimated defaults (no explicit value), set the Reanimated default explicitly on the EaseView transition.
Example — bare withSpring(1) with no config:
// Before (Reanimated)
scale.value = withSpring(1);
// After (EaseView) — v2/v3: set damping: 10, stiffness: 100
transition={{ type: 'spring', damping: 10, stiffness: 100 }}
// After (EaseView) — v4: set damping: 120, stiffness: 900, mass: 4
transition={{ type: 'spring', damping: 120, stiffness: 900, mass: 4 }}
Duration-based spring: Reanimated v3+ also supports withSpring(target, { duration, dampingRatio }). If the code explicitly sets dampingRatio/duration, convert using: damping = dampingRatio * 2 * sqrt(stiffness * mass).
withTiming → EaseView timing| Parameter | Reanimated default | EaseView default | Action |
|---|---|---|---|
duration | 300 | 300 | Same — omit |
easing | Easing.inOut(Easing.quad) | 'easeInOut' (cubic) | Must set easing: [0.455, 0.03, 0.515, 0.955] |
The easing curves are different! Reanimated's default is quadratic ease-in-out, EaseView's is cubic. Always set the easing explicitly when the source doesn't specify one.
Example — bare withTiming(1) with no config:
// Before (Reanimated)
opacity.value = withTiming(1);
// After (EaseView) — must set quad easing to match
transition={{ type: 'timing', duration: 300, easing: [0.455, 0.03, 0.515, 0.955] }}
If the source explicitly sets an easing, map it using the easing table above.
Animated.timing (old RN API) → EaseView timing| Parameter | RN Animated default | EaseView default | Action |
|---|---|---|---|
duration | 500 | 300 | Must set duration: 500 |
easing | Easing.inOut(Easing.ease) | 'easeInOut' | Same curve — omit |
Animated.spring (old RN API) → EaseView springRN Animated uses friction/tension by default: friction: 7, tension: 40. These map to: stiffness = tension, damping = friction.
| Parameter | RN Animated default | EaseView default | Action |
|---|