Back to skills
SKILL.md
Android Performance
ASecurityStandards for Baseline Profiles, Startup Time, and UI Rendering
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added September 27, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add David-Li0406/meta-skill-evloving --skill android-performance --agent claude-codeAre you the author of Android Performance?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/david-li0406-android-performance)---
name: Android Performance
description: Standards for Baseline Profiles, Startup Time, and UI Rendering
metadata:
labels: [android, performance, baseline-profile, startup]
triggers:
files: ['**/*Benchmark.kt', '**/*Initializer.kt']
keywords: ['BaselineProfile', 'JankStats', 'recomposition']
---
# Android Performance Standards
## **Priority: P1**
## Implementation Guidelines
### Startup Time
- **Baseline Profiles**: Mandatory for all production apps to pre-compile critical paths (improves startup by 30-40%).
- **Lazy Initialization**: Defer heavy SDK init using `App Startup` or lazy Singletons. Avoid blocking `Application.onCreate`.
### UI Performance
- **Recomposition**: Use "Layout Inspector" to find unnecessary recompositions.
- **Images**: Use Coil/Glide with proper caching and resizing (`.crossfade()`).
- **Lists**: `LazyColumn` must use `key` and stableitem classes.
## Anti-Patterns
- **Nested Weights**: `**Avoid Nested Weights**: Use ConstraintLayout (Views) or simple Row/Col (Compose).`
- **Memory Leaks**: `**Watch Context**: Avoid leaking Activity Context in Singletons.`
## References
- [Baseline & Startup](references/implementation.md)
Files in this skill
- SKILL.md
- references/implementation.md
Attribution
Comments
Loading comments…