# Performance

> Performance is an open-source agent skill for developer tools. Audits Android Kotlin/Compose apps for performance problems and reports prioritized fixes. 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/performance
- **Repository:** https://github.com/liuyi0808/android-review
- **GitHub stars:** 21
- **License:** MIT
- **Skill name:** performance
- **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 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.

## 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/performance)
- [License: MIT](https://github.com/liuyi0808/android-review/tree/HEAD/skills/performance)

## Features

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

## 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/performance`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/performance` 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/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.

### Cursor

Copy the skill folder to `~/.cursor/skills/performance` 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/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.

### 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/performance
```

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Compose UI](https://ai-powered.com/skills/compose-ui): Compose UI is an open-source agent skill for developer tools.
- [Kotlin quality](https://ai-powered.com/skills/kotlin-quality): Kotlin quality is an open-source agent skill for developer tools.
- [Performance audit](https://ai-powered.com/skills/performance-audit): Performance audit is an open-source agent skill for developer tools.
- [React perf](https://ai-powered.com/skills/react-perf): React perf is an open-source agent skill for developer tools.
- [Axiom analyze swiftui performance](https://ai-powered.com/skills/axiom-analyze-swiftui-performance): Axiom analyze swiftui performance is an open-source agent skill for developer tools.
- [Axiom audit energy](https://ai-powered.com/skills/axiom-audit-energy): Axiom audit energy is an open-source agent skill for developer tools.
- [Axiom analyze swift performance](https://ai-powered.com/skills/axiom-analyze-swift-performance): Axiom analyze swift performance is an open-source agent skill for developer tools.
- [React native best practices](https://ai-powered.com/skills/react-native-best-practices): React native best practices is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/performance-liuyi0808
