byfirebase· 35 skills
Comprehensive guide for Firebase Crashlytics, including provisioning and SDK usage. Use this skill when the user needs help setting up Crashlytics, adding crash reporting, or using the Crashlytics SDK in their application.
$npx -y skills add firebase/agent-skills --skill firebase-crashlyticsInstalls into the current project.
Run `npx skills use "https://github.com/firebase/agent-skills" --skill "firebase/agent-skills/firebase-crashlytics"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/firebase/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/firebase/agent-skills"` and select the relevant skills, then follow their instructions.
| 1 | # Crashlytics |
| 2 | |
| 3 | This skill provides a complete guide for getting started with Crashlytics on |
| 4 | Android or iOS. Crash data collected from client applications can be read using |
| 5 | the MCP server in the Firebase CLI. |
| 6 | |
| 7 | ## Prerequisites |
| 8 | |
| 9 | Provisioning Crashlytics requires both a Firebase project and a Firebase app, |
| 10 | either Android or iOS. To read the data collected by Crashlytics, install the |
| 11 | MCP server in the Firebase CLI. See the `firebase-basics` skill for references. |
| 12 | |
| 13 | ## SDK Setup |
| 14 | |
| 15 | To learn how to setup Crashlytics in your application code, choose your |
| 16 | platform: |
| 17 | |
| 18 | - **Android**: [android_setup.md](references/android_setup.md) |
| 19 | - **iOS**: [ios_setup.md](references/ios_setup.md) |
| 20 | |
| 21 | ## SDK Usage |
| 22 | |
| 23 | The SDK provides a number of features to make crash reports more actionable. |
| 24 | |
| 25 | - Add custom keys |
| 26 | - Add custom logs |
| 27 | - Set user identifiers |
| 28 | - Report non-fatal exceptions |
| 29 | |
| 30 | To learn how to customize crash reports and add additional debugging data, |
| 31 | consult the documentation for your platform. |
| 32 | |
| 33 | - **Android**: |
| 34 | [Customize Crash Reports for Android](https://firebase.google.com/docs/crashlytics/android/customize-crash-reports.md) |
| 35 | - **iOS**: |
| 36 | [Customize Crash Reports for Apple Platforms](https://firebase.google.com/docs/crashlytics/ios/customize-crash-reports.md) |