Skip to content
Skill

Compose UI

Guides and reviews Jetpack Compose UI code with Material 3 patterns and accessibility

Compose UI is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
21
Last commit
License
MIT
Listing updated

Similar skills

About Compose UI

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 6 files (15 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Compose UI 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.

More from liuyi0808/android-review

  1. Guides an agent to structure Android apps with Clean Architecture, MVVM/MVI and Hilt

    • Open source
    • 21 GitHub stars
    • Developer tools
  2. Reviews Android Kotlin code for coroutines, Flow, null safety, type design and collections

    • Open source
    • 21 GitHub stars
    • Developer tools
  3. Audits Android Kotlin/Compose apps for performance problems and reports prioritized fixes

    • Open source
    • 21 GitHub stars
    • Developer tools
  4. Audits an Android app's Google Play submission for personal loan compliance and privacy

    • Open source
    • 21 GitHub stars
    • Legal and government
  5. Audits Android app code for security flaws against the OWASP MASVS v2.0 standard

    • Open source
    • 21 GitHub stars
    • Security