crash-triage
/crash-triage
Odnajduje prawdziwą przyczynę awarii aplikacji Android w logcat pod ogólnym błędem i pomaga odtworzyć awarię.
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 08.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Odnajduje prawdziwą przyczynę awarii aplikacji Android w logcat pod ogólnym błędem i pomaga odtworzyć awarię.
Wyzwalacze z opisu
Oryginalny opis (EN)
Using logcat to surface the real "Caused by:" root cause hidden behind a generic UI error, plus app lifecycle tools for reproducing failures. Use when an app crashes, shows a generic error dialog, or a task needs to find why a native call failed.
Jak działa
- 1. If the app crashed: lastcrash first
- 2. For a failure that didn't crash: isolate, then read
- 3. Filter by the right axis
- Things the root cause often reveals
- App lifecycle while triaging
Podgląd SKILL.md
---
name: crash-triage
description: Using logcat to surface the real "Caused by:" root cause hidden behind a generic UI error, plus app lifecycle tools for reproducing failures. Use when an app crashes, shows a generic error dialog, or a task needs to find why a native call failed.
---
# Finding out WHY a native call failed
A JS-level or UI-level "X failed" alert almost always hides the real cause. The
truth is in the native log or the crash record. Reach for these in order.
## 1. If the app crashed: `last_crash` first
`last_crash` returns the most recent crash from the system DropBox — full
header and stack (JVM/RN *and* native), kept intact even after the lines have
rotated out of the logcat ring buffer. Optionally filter to your package. For
an actual crash this is one call instead of log spelunking.
## 2. For a failure that didn't crash: isolate, then read
The core mistake is reading a buffer full of history and treating "no match"
as "didn't happen" (or an old match as fresh). Isolate first:
- **Know when it happened?** `logcat {since: "2m"}` — only lines from the last
2 minutes (device clock). The right axis when a user says "I just hit it".
- **About to reproduce it?** `clear_logcat` → perform ONE action → `logcat`.
Everything you read was caused by that action.
- **Reproducing a longer flow?** `start_logcat_capture {clear: true}` → drive
the flow → `stop_logcat_capture` (bounded to the last 500 lines by default;
narrow with filters, raise `tail` only if truly needed).
## 3. Filter by the right axis
- `tags: ["YourAppTag", "AndroidRuntime"]` — anchored to logcat's tag field;
far more precise than substring (a package-name substring drags in
`ImeTracker`/`PackageConfigPersister` noise).
- `priority: "E"` — errors and worse (`W` for warnings and worse).
- `filter: "Caused by"` — substring across the whole line, best for exception
hunting.
Read from the bottom up. The **`Caused by:`** line is the root error — that is
the one that matters, not the top-level wrapper exception.
An empty result is only meaningful if you isolated (steps above): on a chatty
emulator, 400 lines can span seconds, and a crash may have already rotated out
— that's what `last_crash` and the capture flow are for.
## Things the root cause often reveals
- An obfuscated/renamed class breaking JNA/JNI struct layout at runtime.
- `No StrongBox available` → the device fell back from hardware-backed to
software keys (relevant to Keystore attestation flows).
- A missing permission, a `ClassNotFoundException`, or a native `.so` that failed
to load.
## App lifecycle while triaging
- `list_packages` with a filter confirms the app is installed and gives its exact
package name.
- `stop_app` then `launch_app` restarts it cleanly to reproduce from a known
state.
- `install_app` (re)installs an APK build you want to test.
- For RN/Expo dev clients: absent logs may mean the app is running its
**embedded bundle**, not your edited code — set up `adb_reverse
{device_port: 8081}` and reload before trusting any absence of evidence.
Wersje
W bazie nie ma innych skilli o nazwie crash-triage.
Migawka bazy z 13.11.2026 · wersja paczki 82514699f0dd (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 4 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90Android Debug
Szuka przyczyn awarii aplikacji Android na telefonie: logcat, analiza crashy i ANR, instalacja oraz błędy budowania. - 90test-android-app
Testuje aplikację Android na prawdziwym urządzeniu w chmurze: buduje APK, instaluje ją, przechodzi przez przepływy i zbiera awarie oraz logcat. - 100mobicat
Czyta logi i awarie aplikacji mobilnej z urządzeń Android, emulatorów i symulatorów iOS przez narzędzie mobicat. - 100crash-analytics
Pomaga monitorować, segregować i zmniejszać liczbę awarii aplikacji: konfiguracja Crashlytics, priorytety napraw, interpretacja danych i wpływ awarii na pozycję w App Store. - 100asc-crash-triage
Segreguje awarie TestFlight, opinie beta testerów i diagnostykę wydajności (zawieszenia, zapisy na dysk, uruchamianie) przez asc oraz przygotowuje podsumowanie awarii dla buildu lub aplikacji. - 100asc-crash-triage
Segreguje awarie TestFlight, opinie beta testerów i diagnostykę wydajności (zawieszenia, zapisy na dysk, uruchamianie) przez asc oraz przygotowuje podsumowanie awarii dla buildu lub aplikacji.