Skip to content
Skill

Performance

Audits Android Kotlin/Compose apps for performance problems and reports prioritized fixes

Performance 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 Performance

This skill guides an agent through a structured performance review of an Android app written in Kotlin and Jetpack Compose. It starts by inspecting the project layout, build files and manifest to decide which review areas apply, so categories without relevant code are skipped. The relevant areas cover startup, recomposition, memory, ANR risk, list pagination, baseline profiles, and battery and network use.

For each active area the agent searches the codebase with grep-style patterns for known anti-patterns, then opens the matched files to confirm whether each hit is a real problem. Findings are written in a fixed format with an impact level, root cause, file location for the most serious items, a concrete fix and an expected metric change. The skill ends with a consolidated report that compares estimated cold start and ANR figures against target and critical thresholds.

It works on existing source code and does not need external tools or a running device. The reviewer should be familiar with Android build configuration and Compose conventions to interpret the findings.

When your agent uses it

Audit Android (Kotlin/Compose) apps for performance issues and produce structured findings. Use when: app cold start exceeds 500ms, UI jank or dropped frames, memory leaks or OOM, ANR rate above 0.47% in Play Vitals, Compose recomposition waste, missing baseline profiles, battery drain, reviewing performance before release, or general performance optimization.

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 1 file (5 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/performance:

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

For one project only, put the folder in .claude/skills/performance inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/performance 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/performance &&
cp -R "$tmp/skills/performance" ~/.agents/skills/performance &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/performance inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/performance 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/performance &&
cp -R "$tmp/skills/performance" ~/.cursor/skills/performance &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/performance 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/performance

Or copy the folder to ~/.gemini/skills/performance yourself.

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/performance 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/performance into your agent's skills folder as performance. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Project triage
Decides which audit categories apply by inspecting build files, manifest and source tree.
Compose recomposition checks
Looks for unstable parameters, inline lambdas and missing lazy list keys that cause wasted recomposition.
Memory leak detection
Searches for Activity references held by long-lived objects and unscoped coroutines.
ANR risk review
Flags main-thread SharedPreferences commits, blocking I/O and broadcast receivers without async handling.
Baseline profile audit
Checks for profileinstaller and baseline profile setup in the project.
Structured findings report
Produces prioritized findings with impact levels, locations, fixes and a metrics summary.

Good for

  • Audit my Android app for performance problems before a release
  • Find Compose recomposition waste in my screens
  • Check whether my app is missing baseline profiles
  • Look for memory leaks caused by Activity references
  • Review my app for ANR risks on the main thread
  • Estimate cold start time against a 500ms target

Performance FAQ

What does the skill need to run?

It reads an Android project's source, build.gradle files and AndroidManifest.xml. It is a set of instructions and grep patterns and includes no scripts.

When does Performance trigger?

It is meant for cases such as slow cold starts, UI jank, memory leaks or OOM, ANR rates above 0.47%, Compose recomposition issues, missing baseline profiles, battery drain, and pre-release performance reviews.

Does Performance change my code?

The skill describes producing an audit report with suggested fixes. It does not state that it edits files.

How do I install Performance in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/performance to use it in all your projects, or to .claude/skills/performance 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 Performance 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 Performance?

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 Performance?

The closest alternatives to Performance are Compose UI, Kotlin quality, Performance audit, React perf and Axiom analyze swiftui performance.

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. Guides and reviews Jetpack Compose UI code with Material 3 patterns and accessibility

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

    • 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