Install
$ agentstack add skill-gdvega-super-android-kotlin-firebase-skill-compose-performance ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Purpose
Diagnose and fix measurable Compose performance issues without guessing.
When to use
- A screen scrolls poorly or drops frames.
- Recomposition counts spike unexpectedly.
- Lazy lists, side effects or state reads are suspected performance causes.
- Baseline profiles, tracing or performance CI are needed.
Inputs to inspect
- Affected composables and state models.
- Profiler, compiler report or benchmark evidence if available.
- Lazy list item models and keys.
- Build variants and benchmark tasks.
Required workflow
- Reproduce or describe the performance symptom.
- Inspect state reads, stability, keys and side effects.
- Apply the smallest targeted fix.
- Measure again with available tools.
- Document residual risks and validation gaps.
Rules
- Measure before large rewrites.
- Do not add remember everywhere blindly.
- Do not use @Stable/@Immutable unless the contract is true.
- Use stable lazy keys and content types when needed.
- Prefer release-mode measurement for meaningful performance claims.
Related existing skills
Local skills to invoke
- jetpack-compose
- macrobenchmark-baseline-profiles
- screen-ux-audit
- testing
External companion skills to use when installed
Do not assume these companion skills are installed. Prefer the local skills above first, then consult [Companion Skills](../../docs/COMPANION_SKILLS.md) for install and verification commands.
- aldefy/compose-skill — use for deeper Jetpack Compose, Material 3, design-to-code, theming or Compose architecture guidance.
- skydoves/compose-performance-skills — use for deeper Compose performance, recomposition, stability or release-mode measurement guidance.
Files commonly touched
Compose screensUI modelsbenchmark modulebaseline-prof.txtbuild.gradle.kts
Commands to validate
./gradlew assembleRelease
./gradlew connectedBenchmarkAndroidTest
./gradlew test
adb shell am profile start
Common mistakes to avoid
- Optimizing from intuition only.
- Ignoring image size/loading.
- Using unstable mutable models as parameters.
- Missing lazy item keys.
Checklist
- Symptom known.
- Stability/recomposition checked.
- Lazy keys checked.
- Measurement command provided.
- Fix does not harm readability.
Example prompts
- Use $super-android-kotlin-firebase to diagnose jank in this LazyColumn.
- Use $super-android-kotlin-firebase to review Compose stability and recomposition.
Expected response style
Respond with: brief diagnosis, change plan, affected files, code or diff summary, validation commands, tests added or recommended, risks, and next step. For review tasks, lead with findings ordered by severity.
References
- ../../docs/audits/FUENTES_LOCALES.md
- references/recomposition-checklist.md
- templates/performance-investigation-template.md
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: GDvega
- Source: GDvega/super-android-kotlin-firebase-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.