| name | debugging |
| description | Use for Android debugging, Gradle build errors, Gradle sync, Logcat, adb, crashes, ANR, Firebase Crashlytics evidence and minimal reproductions. |
Purpose
Find root causes with evidence and apply minimal fixes.
When to use
- A build, sync, runtime crash or ANR occurs.
- Logcat, adb or Crashlytics evidence needs triage.
- A minimal reproduction is needed.
Inputs to inspect
- Exact command that failed.
- Full stacktrace and first error.
- Relevant Gradle versions and files.
- Reproduction steps and device/API.
Required workflow
- Separate first cause from downstream noise.
- Locate the file or config responsible.
- Apply one minimal fix.
- Re-run the failing command.
- Document remaining uncertainty and next diagnostic step.
Rules
- Do not shotgun-update dependencies.
- Do not delete caches as the main solution.
- Do not silence warnings that indicate real incompatibility.
- Preserve crash evidence.
- Mention local-only issues separately.
Related existing skills
Local skills to invoke
- gradle-build
- testing
- firebase-crashlytics-analytics
- code-review-refactor
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 for install and verification commands.
- skydoves/android-testing-skills — use for deeper Android or Compose UI testing, semantics, assertions or test workflow guidance.
Files commonly touched
build.gradle.kts
Gradle logs
Logcat output
Crashlytics reports
source file in stacktrace
Commands to validate
./gradlew --stacktrace <task>
./gradlew build --scan
adb logcat
adb bugreport
./gradlew test
Common mistakes to avoid
- Fixing the last error instead of the first cause.
- Changing many versions at once.
- Ignoring device/API-specific reproduction.
- Removing code without explaining risk.
Checklist
- First cause identified.
- Minimal fix proposed.
- Verification command given.
- Reproduction documented.
- Risk/rollback noted.
Example prompts
- Use $super-android-kotlin-firebase to debug this Gradle error.
- Use $super-android-kotlin-firebase to triage this Crashlytics stacktrace.
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/android-debugging-triage.md
- templates/debugging-report-template.md