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.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionreact-native-ease-refactorExecute the skills CLI command in your project's root directory to begin installation:
Fetches react-native-ease-refactor from appandflow/react-native-ease and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate react-native-ease-refactor. Access via /react-native-ease-refactor in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
678
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
678
stars
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 5Use 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, 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 }} |
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.
withSpring → EaseView spring| Parameter | Reanimated default | EaseView default | Action |
|---|---|---|---|
damping |
10 |
15 |
Must set damping: 10 |
stiffness |
100 |
120 |
Must set stiffness: 100 |
mass |
1 |
1 |
Same — omit |
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) — must set damping: 10, stiffness: 100 to match
transition={{ type: 'spring', damping: 10, stiffness: 100 }}
Note: Reanimated v3+ uses duration-based spring by default (duration: 550, dampingRatio: 1) when no physics params are set. If migrating code that uses withSpring without any config, use damping: 10, stiffness: 100 which matches the physics-based fallback. 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 |
|---|---|---|---|
| stiffness (tension) | 40 |
120 |
Must set stiffness: 40 |
| damping (friction) | 7 |
15 |
Must set damping: 7 |
| mass | 1 |
1 |
Same — omit |
'45deg' strings in transforms → EaseView uses 45 (number, degrees). Strip the 'deg' suffix and parse to number.ALWAYS print this report before asking the user to select components. This report must be visible to the user before Phase 4.
Print a structured report. Do NOT apply any changes yet.
Format:
## Migration Report
### Summary
- Files scanned: X
- Components with animations: Y
- Migratable: Z | Not migratable: W
### Migratable Components
#### `path/to/file.tsx` — ComponentName
**Current:** Brief description of what the animation does and which API it uses
**Proposed:** What the EaseView equivalent looks like (include exact transition values with mapped defaults)
**Changes:** What will be added/removed/modified
**Note:** (only if applicable) "Requires state changes for exit animation" or other caveats
### Not Migratable (will be skipped)
#### `path/to/file.tsx` — ComponentName
**Reason:** Why it can't be migrated (from decision tree)
This report MUST be printed as text output in the conversation — not inside a plan, not collapsed. The user needs to read it before selecting components in Phase 4.
CRITICAL: You MUST use the AskUserQuestion tool here. Do NOT use plan mode, do NOT use text prompts, do NOT ask inline. Call the AskUserQuestion tool directly.
Call AskUserQuestion with these exact parameters:
multiSelect: truequestions: a single question object with:
header: "Migrate"question: "Which components should be migrated to EaseView? All are selected — deselect any to skip."multiSelect: trueoptions: one entry per migratable component, each with:
label: the component name (e.g., "AnimatedButton")description: file path and brief animation description (e.g., "src/components/animated-button.tsx — spring scale on press")Example tool call for 2 migratable components:
{
"questions": [
{
"header": "Migrate",
"question": "Which components should be migrated to EaseView? All are selected — deselect any to skip.",
"multiSelect": true,
"options": [
{
"label": "AnimatedButton",
"description": "src/components/simple/animated-button.tsx — spring scale on press"
},
{
"label": "Collapsible",
"description": "src/components/ui/collapsible.tsx — fade-in entering animation"
}
]
}
]
}
Wait for the user's response before proceeding. Do not enter plan mode. Do not apply any changes without the user selecting components.
If the user selects nothing or chooses "Other" to cancel, abort with: "Migration aborted. No changes were made."
Only proceed to Phase 5 with the components the user confirmed.
For each confirmed component, apply the migration:
Add EaseView import if not already present:
import { EaseView } from 'react-native-ease';
1b. If usesNativeWind is true, check if import 'react-native-ease/nativewind' already exists in the project (search all files). If not, add it to the app's root entry point (e.g., _layout.tsx, App.tsx, or index.tsx — whichever is the earliest entry). This only needs to be done once across all migrations, not per component.
Replace the animated view:
Animated.View → EaseView<Animated.View style={[styles.box, animatedStyle]}> → <EaseView style={styles.box} animate={{ ... }} transition={{ ... }}>Convert animation hooks to props:
useSharedValue, useAnimatedStyle, withTiming, withSpring, withRepeat callsanimate, initialAnimate, and transition propsConvert entering/exiting animations:
entering={FadeIn} → initialAnimate={{ opacity: 0 }} on the EaseView + animate={{ opacity: 1 }}
For exiting: introduce a state variable and onTransitionEnd callback:
const [visible, setVisible] = useState(true);
const [mounted, setMounted] = useStatePrerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
asyrafhussin/agent-skills
anthropics/claude-code
mblode/agent-skills
github/awesome-copilot
sickn33/antigravity-awesome-skills
leonxlnx/taste-skill
react-native-ease-refactor fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Keeps context tight: react-native-ease-refactor is the kind of skill you can hand to a new teammate without a long onboarding doc.
Useful defaults in react-native-ease-refactor — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
I recommend react-native-ease-refactor for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
react-native-ease-refactor is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
react-native-ease-refactor reduced setup friction for our internal harness; good balance of opinion and flexibility.
Registry listing for react-native-ease-refactor matched our evaluation — installs cleanly and behaves as described in the markdown.
Solid pick for teams standardizing on skills: react-native-ease-refactor is focused, and the summary matches what you get after install.
Solid pick for teams standardizing on skills: react-native-ease-refactor is focused, and the summary matches what you get after install.
react-native-ease-refactor is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 41