Compose Animations

Expert guidance on Compose animation APIs including animate*AsState, AnimatedVisibility, updateTransition, AnimatedContent, and shared element transitions introduced in Compose 1.7+. Use this for motion design tasks.

9 stars 1 forksFrontend & Design

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add PanPanFR/oh-my-openkilo --skill compose-animations
Manual install
git clone --depth 1 https://github.com/PanPanFR/oh-my-openkilo.git /tmp/oh-my-openkilo
mkdir -p ~/.claude/skills
cp -r /tmp/oh-my-openkilo/archive/skills/android/compose-animations ~/.claude/skills/compose-animations

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Jetpack Compose Animations

## Instructions

Compose ships a layered animation toolkit. Pick the lowest-friction API that fits the motion.

### 1. Value Animations — `animate*AsState`

```kotlin
val elevation by animateDpAsState(
    targetValue = if (pressed) 1.dp else 6.dp,
    animationSpec = spring(dampingRatio = Spring.DampingRatioMediumBouncy),
    label = "cardElevation",
)

val tint by animateColorAsState(
    targetValue = if (isFav) Color.Red else MaterialTheme.colorScheme.outline,
    label = "favTint",
)
```

Use `animate*AsState` when a **single property** changes between two targets. Always pass `label` — it shows up in the Animation Preview in Android Studio.

### 2. Enter / Exit — `AnimatedVisibility`

```kotlin
AnimatedVisibility(
    visible = state.showBanner,
    enter = fadeIn() + expandVertically(),
    exit = fadeOut() + shrinkVertically(),
) {
    Banner(state.bannerText)
}
```

Combine specs with `+`. Prefer semantic specs (`fadeIn`, `slideInVertically`) over hand-crafted tweens.

### 3. Between-Content — `AnimatedContent`

```kotlin
AnimatedContent(
    targetState = state,
    label = "screen",
    transitionSpec = {
        (slideInHorizontally { it } + fadeIn()) togetherWith
        (slideOutHorizontally { -it } + fadeOut())
    },
) { s ->
    when (s) {
        is ArticlesUiState.Loading -> LoadingIndicator()
        is ArticlesUiState.Error   -> ErrorView(s.message)
        is ArticlesUiState.Loaded  -> ArticleList(s.articles)
    }
}
```
Read the full skill on GitHub

Details

Skill name
compose-animations
Path
archive/skills/android/compose-animations/SKILL.md
License
MIT
Repo updated
2 November 2026

FAQ

What does the Compose Animations skill do?

Expert guidance on Compose animation APIs including animate*AsState, AnimatedVisibility, updateTransition, AnimatedContent, and shared element transitions introduced in Compose 1.7+. Use this for motion design tasks.

How do I install the Compose Animations skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add PanPanFR/oh-my-openkilo --skill compose-animations. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Compose Animations popular?

It lives in PanPanFR/oh-my-openkilo, which has 9 GitHub stars and 1 forks.

Related skills

Adaptive

9

PanPanFR/oh-my-openkilo

Instructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto, and XR. It includes how to handle different window sizes, pointing devices (such as mouse) and text entry devices (such as keyboard) using the Compose MediaQuery API, and how to preserve UI, navigation, scroll, and media playback state across configuration changes (such as folding/unfolding a foldable, rotating a device, or resizing a window). It also covers multi-pane layouts using Navigation3 Scenes, adaptive UI components (such as button

Mobile Development

Agentmemory

9

PanPanFR/oh-my-openkilo

Index for agentmemory internals: how it is wired into a host agent, its architecture and ports, configuration flags, capture hooks, MCP tool surface, and REST fallback. Use when installing or debugging agentmemory itself, when a memory tool name or parameter is unclear, or when capture is not recording. For normal recall and save work, use agentmemory-ops instead.

AI, LLMs & Agents

Agentmemory History

9

PanPanFR/oh-my-openkilo

Read past work: resume the last session, recap recent sessions, list agent-linked commits, trace a line back to the session that wrote it, or compact the current conversation for handoff. Use when the user says "where were we", "resume", "recap", "session history", "what did we do", "why is this code here", "who wrote this", or "handoff".

AI, LLMs & Agents

Next Browser Initial Load Optimizer

9

PanPanFR/oh-my-openkilo

Audit and reduce Next.js browser initial-load work. Use for slow route startup, oversized client bundles, duplicate browser dependencies, or features that can wait for interaction.

Frontend & Design

Compose Accessibility

9

PanPanFR/oh-my-openkilo

Expert guidance on building accessible Compose UIs with semantics modifiers, TalkBack support, correct touch target sizing, contrast, and large-text scaling. Use this when authoring or reviewing any user-facing composable.

Frontend & Design

Next Cache Components

9

PanPanFR/oh-my-openkilo

Adopt and optimize Next.js Cache Components / PPR. Use when enabling `cacheComponents`, clearing blocking-prerender or instant validation errors, running the `cache-components-instant-false` codemod, deciding whether to opt a route out with `export const instant = false`, or driving a route to instant navigation with an `instant()` e2e guard. Requires Next.js 16.3+ and the App Router.

Frontend & Design

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.