<< All versions
Skill v1.0.0
currentLLM-judged scan90/100paxeer-network/ai-workspace-helper/sentry
──Details
PublishedOctober 21, 2026 at 05:54 PM
Content Hashsha256:1d3bf87f246b8311...
Git SHA34c7ed46cfd3
──Files
Files (1 file, 3.1 KB)
SKILL.md3.1 KBactive
SKILL.md · 107 lines · 3.1 KB
version: "1.0.0" name: sentry description: Sentry error tracking and monitoring. Use when configuring Sentry, filtering errors, analyzing crash reports, or debugging production issues. Covers platform-specific setup (desktop/mobile/web/extension) and error filtering strategies.
Sentry Integration
Sentry is used for error tracking across all platforms.
Architecture Overview (Example)
apps/├── desktop/app/sentry.ts # Desktop main process├── ext/ # Extension (uses shared)├── mobile/ # Mobile (uses shared)└── web/ # Web (uses shared)packages/shared/src/modules3rdParty/sentry/├── index.ts # Web/Extension entry├── index.native.ts # React Native entry├── index.desktop.ts # Desktop renderer entry├── basicOptions.ts # Shared config & error filtering└── instance.ts # Sentry client instance
Platform Detection
typescript
import { platformEnv } from '@{scope}/shared/src/platformEnv';platformEnv.isDesktop // Electron desktop appplatformEnv.isNative // React Native (iOS/Android)platformEnv.isWeb // Web browserplatformEnv.isExtension // Browser extension
Common Tasks
Filter/Ignore Errors
See: references/rules/ignoring-errors.md
Key file: packages/shared/src/modules3rdParty/sentry/basicOptions.ts
Analyze Crash Reports
- Get crash details from Sentry dashboard
- Identify error type, message, and stack trace
- Check platform-specific context
- Use related skills for fixes:
- Native crashes →
/1k-patching-native-modules - JS errors → Fix in codebase
Add Custom Context
typescript
import * as Sentry from '@sentry/react-native'; // or @sentry/browser// Add breadcrumbSentry.addBreadcrumb({category: 'action',message: 'User clicked button',level: 'info',});// Set user contextSentry.setUser({ id: 'user-id' });// Set tagsSentry.setTag('feature', 'swap');// Capture exception with contextSentry.captureException(error, {extra: { additionalData: 'value' },});
Key Files
| Purpose | File | |
|---|---|---|
| Error filtering | packages/shared/src/modules3rdParty/sentry/basicOptions.ts | |
| Desktop main | apps/desktop/app/sentry.ts | |
| Desktop renderer | packages/shared/src/modules3rdParty/sentry/index.desktop.ts | |
| Web/Extension | packages/shared/src/modules3rdParty/sentry/index.ts | |
| Native | packages/shared/src/modules3rdParty/sentry/index.native.ts |
Error Filtering Quick Reference
typescript
// Filter by error typeconst FILTERED_ERROR_TYPES = new Set(['AxiosError', 'HTTPClientError']);// Filter by exact messageconst FILTER_ERROR_VALUES = ['AbortError: AbortError'];// Filter by pattern (in isFilterErrorAndSkipSentry function)if (error.value?.includes('PATTERN')) return true;
Related Skills
/patching-native-modules- Fix native crashes found in Sentry/coding-patterns- Error handling best practices