performance
Skill17 starsChanged 9 months agoMITView on GitHub
Audit Android (Kotlin/Compose) apps for performance issues and produce structured findings. Use when: app cold start exceeds 500ms, UI jank or dropped frames, memory leaks or OOM, ANR rate above 0.47% in Play Vitals, Compose recomposition waste, missing baseline profiles, battery drain, reviewing performance before release, or general performance optimization.
78 other projects use a version of this.
Adopted by
Most recently taken up by
- Stijnus/dsh-rev-engtheir own version, first seen Nov 8, 2026
- Mahesh-Bishnoi/skillstheir own version, first seen Nov 8, 2026
- AnyOrgName/php-skillstheir own version, first seen Nov 8, 2026
- daveebbelaar/bawatheir own version, first seen Nov 8, 2026
- cognitedata/builder-skillstheir own version, first seen Nov 4, 2026
- theexperiencecompany/gaiatheir own version, first seen Nov 3, 2026
Used with
Projects with it also use app-brief, design-from-app and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
StijnusSkillapp-brief
One-page brief (docs/BRIEF.md) for a new macOS app, written before any code. Use when the user has an app idea, wants to replace an app they pay for, or the research and clone skills are done.
Also in 3 projects that use this
StijnusSkilldesign-from-app
Rebuild the look of an app the user likes as a native SwiftUI design kit, by measuring its screenshots (sizes, spacing, type, colors, icons), building its parts, and comparing pixel by pixel until they match. Use when the user names an app whose look they want, shares screenshots of one, or says "make it look like X".
Also in 3 projects that use this
FlorianBruniauxSkilltdd-rust
Also in 3 projects that use this
RodrigoTomeESSkillweb-quality-audit
Comprehensive web quality audit covering performance, accessibility, SEO, and best practices. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website".
Also in 9 projects that use this
launchapp-devSkilllayout-grid
Define responsive layout grid systems with columns, gutters, margins, and breakpoint behavior.
Also in 3 projects that use this
MohamedAbdallah-14Skillapp-icon
Generate an app icon from a single 1024² master and fan out to iOS (AppIcon.appiconset with squircle-ready 1024 opaque), Android (adaptive foreground + background + Android 13 monochrome), PWA (192/512 + 512 maskable with 80% safe zone), and visionOS (3-layer parallax).
Also in 3 projects that use this
- +1 more from Stijnus
Other versions78 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 78
- rtk-ai/rtk★ 86ksame name
- millionco/react-doctor★ 15ksame name
- midudev/preguntas-entrevista-react★ 7.8ksame name
- BuilderIO/agent-native★ 7.6ksame name
- ethereum/ethereum-org-website★ 6ksame name
- plugin87/ux-ui-agent-skills★ 3.1ksame name
- static-web-server/static-web-server★ 2.4ksame name
- daveebbelaar/bama★ 1.7ksame name
- lichtblick-suite/lichtblick★ 1.2ksame name
- theexperiencecompany/gaia★ 325same name
68 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- architectureSkill
- compose-uiSkill
- kotlin-qualitySkill
- play-storeSkill
- privacy-auditSkill
- security-auditSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 52 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Run all relevant categories in PARALLEL using independent Task agents.
- Distinctive: line 36
Read matched files to confirm the finding is real
“Common” is measured: kept by at least 6 in 10 of the 52 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Android Performance Audit
Produce a structured audit report with prioritized findings and concrete fixes.
Audit Process
Phase 1: Triage
Scan project structure (build.gradle, AndroidManifest.xml, source tree) to determine which categories apply. SKIP categories with no relevant code.
| Category | Skip If |
| Startup | No custom Application class, no splash screen |
| Recomposition | No Jetpack Compose (@Composable not found) |
| Memory | No ViewModel / Repository / singleton patterns |
| ANR | No SharedPreferences / BroadcastReceiver / sync I/O |
| Pagination | No list screens or large data sets |
| Baseline Profiles | NEVER skip — always relevant |
| Battery & Network | No background work, location, or network calls |
Phase 2: Parallel Scan
Run all relevant categories in PARALLEL using independent Task agents. Each agent:
- Grep for the category's anti-patterns (see search guide below)
- Read matched files to confirm the finding is real
- Return findings in the per-finding format below
Phase 3: Report
Merge parallel results into the final report format below.
Thresholds
| Metric | Target | Critical |
| Cold start | < 500ms | > 1000ms |
| Warm start | < 300ms | > 600ms |
| Hot start | < 100ms | > 200ms |
| ANR rate | < 0.47% | > 1% |
| Crash rate | < 1.09% | > 2% |
Anti-Pattern Search Guide
Grep-ready patterns per category. Only search categories that passed triage.
Startup
class \w+ : Application→ checkonCreatebody for heavy sync initContentProviderin manifest → auto-init SDKs blocking startup- Missing
reportFullyDrawn()anywhere in codebase
Recomposition
List</MutableList</ArrayList<in@Composable funparameters → unstable type, useImmutableListor@Immutablewrapper{ viewModel.or{ \w+ViewModel.inline in Composable call sites → lambda recreated every recomposition, extract withrememberitems(withoutkey =in LazyColumn/LazyRow.valueread outsidegraphicsLayer/Modifier.layout/Modifier.drawBehind→ state read triggers full recomposition instead of layout/draw only- Missing
composeCompiler { reportsDestination }in build.gradle → no compiler metrics
Memory
context:orContextfield in ViewModel / Repository /objectdeclaration → Activity leakCoroutineScope(without lifecycle-aware cancellationcompanion objector top-levelvalholding Activity/View/Fragment reference- Object creation (
= Rect(/= Paint(/= StringBuilder() insidefor/whileloop body
ANR
.commit()on SharedPreferences → blocks main thread, use.apply()- Network/DB/File I/O call NOT wrapped in
withContext(Dispatchers.IO)on a path reachable from main thread BroadcastReceiversubclass withonReceivebody missinggoAsync()
Pagination
Column {followed by.forEachorfor (→ composes ALL items, use LazyColumn- Large data source without Paging 3 integration
Baseline Profiles
profileinstallerNOT in dependencies (build.gradle / libs.versions.toml)- No
:baselineprofilemodule orBaselineProfileRuletest class
Battery & Network
AlarmManagerusage → should be WorkManager for deferrable workOkHttpClientwithout.cache(→ missing HTTP cache- Continuous location or sensor listener without interval /
removeUpdates
Output Format
Per Finding
[PERF-{CATEGORY}-{NNN}] impact: CRITICAL | HIGH | MEDIUM | LOW
Finding: <root cause>
Location: <file:line> ← required for CRITICAL/HIGH only
Fix: <concrete action>
Metric: <expected improvement>Final Report
## Performance Audit Report
### Summary
- Critical: N | High: N | Medium: N | Low: N
- Scanned: N/7 categories (skipped: <list with reasons>)
### Findings
#### Startup
[PERF-STARTUP-001] impact: CRITICAL
Finding: Synchronous SDK init in Application.onCreate
Location: App.kt:15
Fix: Defer via App Startup library or lifecycle observer
Metric: ~400ms cold start reduction
#### ...
### Metrics
| Metric | Estimated | Target | Status |
|--------|-----------|--------|--------|
| Cold start | Xms | <500ms | PASS/FAIL |
| ANR rate | X% | <0.47% | PASS/FAIL |Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

