mobiai-crashlytics
Use when the user shares a Firebase Crashlytics crash link, crash ID, or asks to investigate a Crashlytics issue in depth.
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 492
- Forks
- 14
01 前言 Front Matter
- name
- mobiai-crashlytics
- license
- MIT
- platforms
- [ "android", "ios", "flutter", "react-native" ]
- description
- Use when the user shares a Firebase Crashlytics crash link, crash ID, or asks to investigate a Crashlytics issue in depth.
- compatibility
- [ "claude-code", "cursor", "copilot", "codex" ]
03 SKILL.md 正文
Crashlytics Investigation
Deep investigation of a crash reported through Firebase Crashlytics. Goes beyond a raw stack trace — uses Crashlytics data to understand the full context: user journey, breadcrumbs, affected versions, device info, and event frequency.
When to Use
- User shares a Crashlytics link, crash ID, or issue title
- User asks to investigate a specific Crashlytics issue
- User mentions Firebase crashes or production crash reports from Crashlytics
Prerequisites
This skill requires access to Firebase Crashlytics data. Check what tools are available:
- Firebase MCP tools — if the Firebase MCP server is configured, use these tools:
firebase_update_environment— set the active Firebase project before queryingfirebase_list_apps— get the app IDs for the projectcrashlytics_get_issue— fetch issue metadata: event count, user count, error type. Parameters:appId,issueIdcrashlytics_list_events— fetch crash events with full stack traces. Parameters:appId,issueId,pageSize
- Firebase CLI —
firebase crashlytics:listand related commands - User provides the data — if no tools are available, ask the user to paste or export the crash details from the Crashlytics console
If none of these are available, fall back to the mobiai-analyze-crash skill with whatever information the user can provide manually.
Workflow
Step 1: Fetch Crash Details
Get the full crash information from Crashlytics:
- Stack trace — the complete symbolicated stack trace, not just the top frame
- Event count — how many times this crash has occurred
- Affected users — how many unique users have been affected
- Affected versions — which app versions are seeing this crash
- First seen / last seen — when did it start and is it still happening?
- Device breakdown — which devices and OS versions are most affected
Step 2: Analyze the User Journey
Crashlytics provides breadcrumbs — the sequence of events before the crash:
- Screen flow — which screens did the user visit before crashing?
- User actions — taps, navigation events, custom log events
- Network calls — did a network request fail before the crash?
- App state transitions — did the app go to background and come back?
- Custom keys/logs — any custom data the app logs to Crashlytics
This context is what makes Crashlytics investigation more powerful than a raw stack trace. Use it to understand the conditions that trigger the crash.
Step 3: Identify Patterns
Look across multiple crash events for patterns:
- Does it only happen on specific devices or OS versions?
- Does it only happen after a specific user action?
- Did it start with a specific app version? (regression)
- Is it correlated with a specific time of day or network condition?
- Check
git logfor changes introduced in the first affected version
Step 4: Find the Root Cause in Code
With the full context from Crashlytics, trace the crash in the codebase:
- Start from the stack trace — find the crashing file and method
- Use breadcrumbs to understand the state — what screen was the user on? What data was loaded?
- Check the conditions — what combination of state + action triggers this?
- Read the code path from the triggering action through to the crash point
- Check recent changes in the affected files:
git log --oneline -10 -- <crashing-file>
Step 5: Decide — Fix or Report
Based on what you found:
- Clear root cause, simple fix — apply the fix directly. Verify it compiles, run tests.
- Clear root cause, complex fix — explain the root cause, the conditions that trigger it, and propose a fix approach. Include which files need to change and why.
- Unclear root cause — report what you found, what patterns you identified, and what additional information would help narrow it down.
In all cases, include:
- Root cause — what code is wrong and why
- Trigger conditions — what combination of state/actions causes the crash
- Affected scope — which versions, devices, user flows
- Suggested fix — what to change, with risk assessment
04 同仓库更多 Skills
mobiai-react-native
Use when working on a React Native project — building, testing, debugging, understanding navigation and state management.
mobiai-kmp
Use when working on a Kotlin Multiplatform project — shared code, expect/actual declarations, platform-specific implementations, building and testing.
mobiai-ios-testing
Use when writing or running tests in an iOS project — unit tests, UI tests, snapshot tests, choosing the right framework.
mobiai-ios-device
Use when interacting with an iOS Simulator — run simctl commands, capture screenshots, read device logs, manage simulators.
mobiai-ios-build
Use when building an iOS project, configuring schemes, troubleshooting build failures, or managing dependencies with CocoaPods or SPM.
mobiai-ios-architecture
Use when creating features, refactoring, or navigating an iOS codebase — understand project structure, find where to make changes, follow existing patterns.