error-monitoring

Implement protocol-based crash reporting for iOS/macOS apps with pluggable providers.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill error-monitoring-jtvaris
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-monitoring
Source: https://github.com/jtvaris/sunday-night-dynasty/tree/main/.agents/skills/generators/error-monitoring
Command: npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill error-monitoring-jtvaris

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a protocol-based error monitoring solution for iOS/macOS apps, enabling teams to add crash reporting, error tracking, and production monitoring without locking to a single provider.

Core Features & Use Cases

  • Protocol-based architecture with a single central ErrorMonitoring service and pluggable providers (Sentry, Firebase Crashlytics) to swap implementations without code changes.
  • Breadcrumbs, user context, and privacy-conscious data handling to improve debugging while respecting user data.
  • Quick enablement in app lifecycle to capture errors, log messages, and report unhandled issues in production; supports NoOp mode for testing.
  • Use Case: A team starts with NoOp in development, then enables Sentry in production to capture errors and breadcrumbs for diagnosing issues.

Quick Start

Initialize and configure ErrorMonitoring at app startup, then call captureError or addBreadcrumb in your code.

Frequently Asked Questions about error-monitoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add crash reporting to an iOS app without locking into a single provider?

Crash reporting for iOS apps can be added using a protocol-based architecture with a central ErrorMonitoring singleton and pluggable providers like Sentry or Firebase Crashlytics, allowing you to swap implementations without changing your application code.

Can I use Sentry and Firebase Crashlytics interchangeably in my macOS production monitoring setup?

Yes, you can use Sentry and Firebase Crashlytics interchangeably in production monitoring by utilizing a pluggable provider architecture that abstracts the underlying crash reporting services behind a common protocol.

How do breadcrumbs improve error tracking and debugging in Swift applications?

Breadcrumbs improve error tracking by recording sequential application events leading up to a crash, providing contextual data that helps developers diagnose exactly what actions triggered the unhandled production issues.

What is the best way to test crash reporting integration without sending false alerts to production?

The best way to test crash reporting integration without sending false alerts is to use a NoOp fallback provider mode, which safely captures errors and log messages locally during development without dispatching them to a live monitoring service.

Does protocol-based error monitoring support privacy-conscious data handling for user context?

Yes, protocol-based error monitoring supports privacy-conscious data handling by managing user context carefully, ensuring that debugging information is captured while respecting user data privacy across iOS and macOS environments.

How do I initialize error monitoring at app startup to capture unhandled issues?

To capture unhandled issues, initialize and configure the ErrorMonitoring service at app startup in the app lifecycle, then call captureError or addBreadcrumb methods throughout your codebase to log messages and report production errors.