# Compose UI

> Compose UI is an open-source agent skill for developer tools. Guides and reviews Jetpack Compose UI code with Material 3 patterns and accessibility. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/liuyi0808/android-review/tree/main/skills/compose-ui
- **Repository:** https://github.com/liuyi0808/android-review
- **GitHub stars:** 21
- **License:** MIT
- **Skill name:** compose-ui
- **Collection:** https://github.com/liuyi0808/android-review
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill gives an agent a structured review process for Jetpack Compose code. Findings are reported with a coded identifier, a severity level, the location, and a concrete fix. Reviews cover state management, side effects, navigation, theming, accessibility, responsive layout and animation, with each area backed by its own reference file that the agent loads when the relevant code is in scope.

Beyond review, the skill supplies a checklist per area and a conventions guide for designing reusable composables, such as parameter ordering with the modifier last and preview variants for light, dark and tablet layouts. It points to separate architecture and performance skills for ViewModel patterns and recomposition tuning rather than covering those itself.

The skill is plain instructional markdown with no scripts. It works with Kotlin and Jetpack Compose projects and expects the agent to have access to the source files it is reviewing.

## When your agent uses it

> Jetpack Compose UI best practices and patterns for Material 3. Use when: writing or reviewing Compose UI code, implementing state hoisting, using side effects (LaunchedEffect, DisposableEffect), setting up type-safe navigation, building responsive layouts with WindowSizeClass, implementing accessibility (content descriptions, touch targets, semantics), creating animations (AnimatedVisibility, animateXAsState), or designing reusable composable components.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/liuyi0808/android-review/tree/HEAD/skills/compose-ui)
- [License: MIT](https://github.com/liuyi0808/android-review/tree/HEAD/skills/compose-ui)

## Features

- **Structured review findings:** Reports issues with a coded ID, severity, file location and a concrete code fix.
- **State and side effect rules:** Covers state hoisting, saveable state, lifecycle-aware flow collection and effect handlers.
- **Navigation guidance:** Describes type-safe routes, back stack handling and one-time navigation events.
- **Material 3 theming:** Explains use of color and typography tokens, dynamic colors and custom theme extensions.
- **Accessibility checks:** Covers content descriptions, touch target sizes, semantics merging and screen reader support.
- **Responsive layout and animation:** Addresses window size classes, constraint-based layouts and common animation APIs.

## Good for

- Review my Compose screen for state hoisting and side effect mistakes
- Check my composables for accessibility issues like missing content descriptions
- Make this layout adapt to tablets using WindowSizeClass
- Set up type-safe navigation between my Compose screens
- Add enter and exit animations to a visibility toggle

## Install

### Claude Code

This skill ships in the `android-review` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add liuyi0808/android-review
/plugin install android-review@android-review
```

Or copy only this skill to `~/.claude/skills/compose-ui`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/liuyi0808/android-review.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/compose-ui &&
cp -R "$tmp/skills/compose-ui" ~/.claude/skills/compose-ui &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/compose-ui` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/compose-ui` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/liuyi0808/android-review.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/compose-ui &&
cp -R "$tmp/skills/compose-ui" ~/.agents/skills/compose-ui &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/compose-ui` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/compose-ui` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/liuyi0808/android-review.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/compose-ui &&
cp -R "$tmp/skills/compose-ui" ~/.cursor/skills/compose-ui &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/compose-ui` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/liuyi0808/android-review.git --path skills/compose-ui
```

Or copy the folder to `~/.gemini/skills/compose-ui` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/compose-ui`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/liuyi0808/android-review.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/compose-ui &&
cp -R "$tmp/skills/compose-ui" ~/.copilot/skills/compose-ui &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/compose-ui` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/liuyi0808/android-review.git
```

Then copy `android-review/skills/compose-ui` into your agent's skills folder as `compose-ui`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which Compose areas does the review cover?

State management, side effects, navigation, theming with Material 3, accessibility, responsive layout and animation.

### Does Compose UI cover ViewModel architecture or performance tuning?

No. It refers those topics to separate architecture and performance skills.

### Does Compose UI include scripts or tools?

No scripts are included. It is a set of markdown instructions and reference files.

### How do I install Compose UI in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/compose-ui to use it in all your projects, or to .claude/skills/compose-ui in one project. Or install the android-review plugin, which includes it: /plugin marketplace add liuyi0808/android-review, then /plugin install android-review@android-review.

### Does Compose UI run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Compose UI?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Compose UI?

The closest alternatives to Compose UI are Compose multiplatform patterns, Performance, Accessibility, Accessibility review and Design review.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Compose multiplatform patterns](https://ai-powered.com/skills/compose-multiplatform-patterns): Compose multiplatform patterns is an open-source agent skill for developer tools.
- [Performance](https://ai-powered.com/skills/performance-liuyi0808): Performance is an open-source agent skill for developer tools.
- [Accessibility](https://ai-powered.com/skills/accessibility): Accessibility is an open-source agent skill for developer tools.
- [Accessibility review](https://ai-powered.com/skills/accessibility-review): Accessibility review is an open-source agent skill for developer tools.
- [Design review](https://ai-powered.com/skills/design-review): Design review is an open-source agent skill for design and media.
- [Kotlin quality](https://ai-powered.com/skills/kotlin-quality): Kotlin quality is an open-source agent skill for developer tools.
- [Frontend design review](https://ai-powered.com/skills/frontend-design-review): Frontend design review is an open-source agent skill for design and media.
- [Frontend UI engineering](https://ai-powered.com/skills/frontend-ui-engineering): Frontend UI engineering is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/compose-ui
