Compose Motion (Jetpack Compose Animation)
A Jetpack Compose animation playbook: which API to pick, opinionated spring specs, and the performance anti-patterns to avoid.
Dev & CodingIntermediate★ 286⑂ 25AI score 9/10Last updated: Jul 31, 2026
What it does
- Gives a decision tree for choosing between
animate*AsState,AnimatedVisibility,Crossfade,AnimatedContent,updateTransition,Animatable, andSharedTransitionLayout. - Supplies opinionated spring defaults (stiffness / dampingRatio) for UI snaps, tactile feedback, bouncy reveals and 1:1 drag tracking.
- Corrects performance anti-patterns with BAD/GOOD snippets: animating layout width,
LaunchedEffect(true), missingkeyinLazyColumn, nestingAnimatedContentper list row. - Includes a gesture modifier map (
draggable,anchoredDraggable,transformable) and reduced-motion accessibility handling.
Who it's for
- Android engineers building UI with Jetpack Compose or Compose Multiplatform.
- Anyone chasing jank or dropped frames in animated lists.
- Developers adding hero / shared-element transitions between screens.
Example uses
- "Slide-animate my tab switcher" → get an
AnimatedContent+togetherWithtransitionSpec. - "Animate the thumbnail from list to detail screen" → get the
SharedTransitionLayout+rememberSharedContentState(key)scope-plumbing pattern. - "My expanding card animation drops frames" → get refactored from animated
widthtographicsLayerscale.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/AThevon/genjutsu/HEAD/skills/_jutsu/compose-motion/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/_jutsu/compose-motion folder from the GitHub repo AThevon/genjutsu into my ~/.claude/skills/compose-motion/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/AThevon/genjutsu.git && mkdir -p ~/.claude/skills && cp -r genjutsu/skills/_jutsu/compose-motion ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/AThevon/genjutsu.git - Make sure the skills folder exists:
mkdir -p ~/.claude/skills - Copy this skill only:
cp -r genjutsu/skills/_jutsu/compose-motion ~/.claude/skills/ - Verify the bundled docs came along:
ls ~/.claude/skills/compose-motion - Restart Claude Code, open your Compose project, and ask an animation question to trigger the skill.
View source on GitHub ↗License: MIT