android-performance-anr-and-jank-prevention
Installation
SKILL.md
ANR and jank: triage and review
Two tasks. Pick one before doing anything else.
| The user gives you | Task |
|---|---|
An ANR trace, anr_* file, bugreport, Vitals or Crashlytics cluster, Perfetto trace, "why did this freeze" |
A. Triage |
| Source files, a diff or PR, "review this for performance", "is this safe on the main thread" | B. Review |
| Both (a trace and the code it points at) | A, then B on the files the trace names |
If it is unclear, ask one question: "Do you want me to diagnose a specific ANR, or review code?"
Read a reference file only when a step below sends you there. Each one has a table of contents.
A. Triage an ANR or trace
Copy this checklist into your reply and tick it off as you go.