Command Palette

Search for a command to run...

Назад к скиллам
скилл № 22338

mobile-crash-reporting

Use when the user asks about Crashlytics, Sentry for mobile, dSYM upload, symbolication, ProGuard/R8 mapping files, breadcrumbs, non-fatal errors or…

БесплатноБез исполняемых скриптов
j4flmaoот j4flmao★ 47 звёзд на GitHub

Установить mobile-crash-reporting в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Mobile Crash Reporting

Purpose

Set up crash reporting with proper SDK configuration, symbolication, breadcrumbs, non-fatal error capture, and release health monitoring across all mobile platforms.

Agent Protocol

Trigger

User request includes: crash report, crashlytics, sentry, symbolication, dsym, breadcrumb, non-fatal, user context, error tracking.

Input Context

  • Platform (iOS, Android, Flutter, React Native)
  • Crash service (Sentry, Crashlytics, or both)
  • Existing error handling infrastructure

Output Artifact

A markdown document containing SDK setup for selected service, symbolication setup (dSYM, ProGuard mapping), breadcrumb implementation, non-fatal / caught error reporting, user context attachment, and release health and alert configuration.

Response Format

Code-first. One code block per platform (Swift, Kotlin, Dart/TS) with setup and key patterns. Summarize configuration points in bullet list. No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.

Completion Criteria

  • Crash reporting SDK initialized for all target platforms
  • Symbolication configured (dSYM upload, ProGuard mapping, source maps)
  • Non-fatal error capture implemented
  • User context attached to crash reports
  • Breadcrumbs configured for key user actions
  • Release health monitoring enabled

Max Response Length

4096 tokens

Architecture / Decision Trees

Crash Service Selection

Budget and requirements?
├── Free, Google ecosystem → Firebase Crashlytics
│   Pros: Free, Google Analytics integration, real-time alerts
│   Cons: Firebase dependency, limited session replay
├── Developer-friendly, cross-platform → Sentry
│   Pros: Breadcrumbs, performance tracing, wide platform support
│   Cons: Paid beyond free tier (5000 events/month), self-hosting option
├── Enterprise, full observability → Datadog Crash Reporting / New Relic
│   Pros: Unified metrics + traces + logs + crashes
│   Cons: Expensive, heavy SDK
└── Privacy-first, self-hosted → Countly / Sentry self-hosted
    Full data control, GDPR certainty, ops overhead

Symbolication Strategy

Platform?
├── iOS → dSYM upload (Sentry.framework or Crashlytics upload-symbols)
│   CI/CD must upload dSYMs after each build
│   Bitcode: upload dSYMs separately for recompiled slices
├── Android → ProGuard/R8 mapping file upload
│   `mapping.txt` generated at build time
│   Upload via Firebase CLI or Gradle plugin
├── Flutter → Dart symbols + native dSYMs
│   Both Dart and native layer need symbolication
├── React Native → Source maps upload
│   Hermes debug symbols + Metro bundle source maps
└── Missing symbols = unsymbolicated crash = useless stack trace

Workflow

Step 1: Initialize SDK

Sentry:

// iOS
import Sentry
SentrySDK.start { options in
    options.dsn = "https://[email protected]/456"
    options.debug = false
    options.environment = "production"
    options.tracesSampleRate = 0.2
}
// Android
SentryAndroid.init(this) { options ->
    options.dsn = "https://[email protected]/456"
    options.environment = BuildConfig.BUILD_TYPE
    options.tracesSampleRate = 0.2
}
// Flutter
await SentryFlutter.init(
  (options) => options
    ..dsn = 'https://[email protected]/456'
    ..tracesSampleRate = 0.2,
  appRunner: () => runApp(MyApp()),
);
// React Native
import * as Sentry from '@sentry/react-native';
Sentry.init({
  dsn: 'https://[email protected]/456',
  tracesSampleRate: 0.2,
});

Firebase Crashlytics:

// Android
FirebaseCrashlytics.getInstance().apply {
    setCrashlyticsCollectionEnabled(!BuildConfig.DEBUG)
}

Step 2: Capture Non-Fatal Errors

// Sentry
SentrySDK.capture(error: error) { scope in
    scope.setTag(value: "data_sync", key: "operation")
}
// Crashlytics
Crashlytics.crashlytics().record(error: error, userInfo: ["operation": "data_sync"])

Step 3: Attach User Context

SentrySDK.configureScope { scope in
    scope.setUser(SentryUser(
        userId: "user_123",
        email: "[email protected]",
        username: "alice"
    ))
}

Step 4: Add Breadcrumbs

// Track user actions leading to crash
SentrySDK.addBreadcrumb(Breadcrumb(
    level: .info,
    category: "navigation",
    message: "Order list screen displayed",
    data: ["orders_count": 42]
))
Sentry.addBreadcrumb(Breadcrumb().apply {
    level = SentryLevel.INFO
    category = "ui_action"
    message = "User tapped checkout"
    data = mapOf("total" to 99.99)
})

Step 5: Configure Release Health Monitoring

Metric Description Alert Threshold
Crash-free rate Sessions without crash / total sessions <99.5% alert
Crash rate Crashes per session >0.5% alert
Error rate Non-fatals per session >5%
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/breadcrumbs.md
  • references/crash-analysis-workflow.md
  • references/crash-reporting-advanced.md
  • references/crash-reporting-architecture.md
  • references/crash-reporting-ci.md
  • references/crash-reporting-fundamentals.md
  • references/crashlytics-setup.md
  • references/sentry-setup.md
  • references/symbolication.md

FAQ

Что делает скилл mobile-crash-reporting?

Use when the user asks about Crashlytics, Sentry for mobile, dSYM upload, symbolication, ProGuard/R8 mapping files, breadcrumbs, non-fatal errors or crash-free users. Produces crash SDK setup, symbol upload in CI and release health checks. Not for general app performance profiling (use mobile-performance).

Как установить скилл mobile-crash-reporting?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mobile-crash-reporting запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить mobile-crash-reporting с