Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/AmolPardeshi99/android-performance-skills/llms.txt

Use this file to discover all available pages before exploring further.

Android Performance Skills is a set of structured knowledge files that teach AI coding agents — Claude Code, GitHub Copilot, Cursor, Gemini CLI, Windsurf, and others — how to write ANR-free, jank-free, and memory-leak-free Android code. Install once and your agent automatically applies the right patterns whenever you’re working with coroutines, Jetpack Compose, ViewBinding, Binder IPC, or any other performance-sensitive Android API.

Quick install

Install both skills in one command with npx. Works with any major AI coding agent.

How skills work

Learn how the SKILL.md standard keeps agent context lean while loading expertise on demand.

ANR & jank prevention

Stop Application Not Responding errors and frozen frames before they reach production.

Memory leak prevention

Eliminate Activity, Fragment, and View leaks across both View-based and Compose UI systems.

What’s included

Two exhaustive skill files — each over 1,500 lines — cover every common performance mistake Android developers make:

ANR & Jank Prevention

Coroutine dispatchers, Binder IPC, BroadcastReceivers, JobService, SharedPreferences, Compose recomposition, RecyclerView, and ANR log analysis. Covers API levels 8–35+.

Memory Leak Prevention

ViewBinding lifecycle, Activity/Fragment context, static fields, listeners, ViewModel scope, coroutines, Compose leaks, SharedFlow replay buffers, and LeakCanary integration. Covers API levels 21–35+.

Get started in 30 seconds

1

Install both skills

Run a single command to install both skills for your agent:
npx skills add AmolPardeshi99/android-performance-skills
2

Start coding

Open your project in your AI coding agent. The skills activate automatically when you work on performance-related Android code — no manual invocation needed.
3

Write better Android code

Your agent now knows the correct patterns for coroutine dispatchers, ViewBinding cleanup, Compose recomposition, Binder IPC, and dozens of other Android performance topics.
Both skills cover View-based and Jetpack Compose UI systems with Kotlin code examples for every pattern. They are compatible with all major AI coding agents and activate automatically without any manual invocation.

Build docs developers (and LLMs) love