android-performance-observability
Installation
SKILL.md
Android Performance Observability
When To Use
- Use this skill when the request is about: android performance profiling, baseline profile or macrobenchmark, app startup issue android.
- Primary outcome: Measure startup, rendering, memory, jank, vitals, logs, and crash signals for Android apps with actionable traces.
- Read
references/patterns.mdwhen you need the measurement ladder for startup, jank, traces, and production signals. - Read
references/scenarios.mdfor repeatable profiling and trace-oriented entry points. - Handoff skills when the scope expands:
android-compose-performanceandroid-ci-cd-release-playstore
Workflow
- Classify the symptom before choosing tools: cold start, warm start, frame/jank, scrolling, memory, ANR, crash, battery, or production vitals drift.
- Measure on release-like builds and physical devices whenever possible; avoid debugging from debug-only traces or profile-unfriendly builds.
- Pick the smallest tool that answers the question: Macrobenchmark for startup/scroll numbers, Baseline Profiles for ahead-of-time optimization, Perfetto/System Tracing for deep traces, JankStats or FrameMetrics for frame quality, and Play Vitals for field evidence.
- Change one thing at a time, then compare before and after traces or benchmark outputs instead of stacking multiple optimizations blindly.
- Hand off UI-specific rendering changes or release rollouts only after the measurement surface is stable and the bottleneck is evidenced.
Guardrails
- Treat benchmarks, traces, and vitals as different evidence sources with different noise profiles; do not mix them casually.
Related skills
More from krutikjain/android-agent-skills
android-di-hilt
Wire Android dependency injection with Hilt, scopes, testing overrides, and module ownership boundaries.
194android-testing-unit
Write fast, focused Android unit tests for reducers, use cases, repositories, and lifecycle-safe state holders.
187android-kotlin-core
Use Kotlin idioms safely in Android apps, including nullability, data classes, sealed types, extension functions, and collection pipelines.
185android-gradle-build-logic
Shape Android build logic with Gradle, version catalogs, plugins, convention patterns, and toolchain compatibility.
185android-networking-retrofit-okhttp
Build Android networking stacks with Retrofit, OkHttp, interceptors, API contracts, and resilient error handling.
183android-coroutines-flow
Use coroutines, Flow, structured concurrency, dispatchers, and cancellation-safe Android async pipelines.
181