Android Performance Standards

SkillMedia

Optimize Android app startup, UI rendering, frame stability, and benchmark performance with Baseline Profiles, Macrobenchmark, and lazy initialization. Use when reducing startup time, diagnosing jank, or measuring rendering; defer Compose state API and test-only questions.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Android Performance Standards skill

What this skill tells your AI

The instructions your AI receives, as published by hoangnguyen0403/agent-skills-standard in skills/android/android-performance/SKILL.md and read by ahel’s review.

Priority: P1 (HIGH)

1. Accelerate Startup

  • Generate Baseline Profiles for all production apps — pre-compiles critical paths (30-40% startup improvement).
  • Defer heavy SDK init using App Startup or lazy Singletons. Never block Application.onCreate.

See baseline & startup for lazy initialization patterns.

2. Eliminate UI Jank

  • Use Layout Inspector to find unnecessary recompositions.
  • Load images with Coil/Glide using proper caching and resizing (.crossfade()).
  • LazyColumn must use key and stable item classes.

See baseline & startup for LazyColumn optimization.

3. Avoid Layout Bottlenecks

  • Replace nested weights with ConstraintLayout (Views) or Row/Column with Modifier.weight (Compose).
  • Never hold Activity context in Singletons — use Application context to prevent memory leaks.

Anti-Patterns

  • No Nested Weights: Use ConstraintLayout (Views) or Row/Column (Compose) instead.
  • No Activity Context in Singletons: Use Application context to prevent memory leaks.

References

Canonical response anchors

  • Additional task-grounded exact anchors: Baseline Profile

Signals

GitHub stars
565
Forks
163
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
android-performance
Source
github.com/hoangnguyen0403/agent-skills-standard