sentry-desktop-setup
БесплатноБез исполняемых скриптовНе проверенConfigure Sentry for comprehensive desktop application crash reporting, error monitoring, performance tracking, and release health for Electron and native…
от a5c-ai★ 1 947 звёзд на GitHubОб этом скилле
sentry-desktop-setup
Configure Sentry for comprehensive desktop application monitoring including crash reporting, error tracking, performance monitoring, and release health. This skill sets up Sentry SDK integration for Electron and native desktop applications with source maps, session tracking, and custom instrumentation.
Capabilities
- Configure Sentry SDK for Electron (main + renderer processes)
- Set up native crash reporting with minidump support
- Configure source map uploads for readable stack traces
- Implement performance monitoring and tracing
- Set up release tracking with commit integration
- Configure session tracking for release health
- Implement custom error boundaries and handlers
- Set up user feedback collection
- Configure environment-specific DSNs and sampling
Input Schema
{
"type": "object",
"properties": {
"projectPath": {
"type": "string",
"description": "Path to the desktop application project"
},
"framework": {
"enum": ["electron", "tauri", "qt", "wpf", "macos-native"],
"default": "electron"
},
"sentryConfig": {
"type": "object",
"properties": {
"dsn": { "type": "string", "description": "Sentry DSN (or use env variable)" },
"organization": { "type": "string" },
"project": { "type": "string" },
"environment": { "type": "string", "default": "production" }
},
"required": ["organization", "project"]
},
"features": {
"type": "array",
"items": {
"enum": [
"crashReporting",
"errorTracking",
"performanceMonitoring",
"sessionTracking",
"releaseHealth",
"sourceMaps",
"userFeedback",
"customContext",
"breadcrumbs",
"nativeCrashes"
]
},
"default": ["crashReporting", "errorTracking", "performanceMonitoring", "sourceMaps"]
},
"sampling": {
"type": "object",
"properties": {
"tracesSampleRate": { "type": "number", "default": 0.1 },
"errorSampleRate": { "type": "number", "default": 1.0 },
"profilesSampleRate": { "type": "number", "default": 0.1 }
}
},
"privacy": {
"type": "object",
"properties": {
"scrubData": { "type": "boolean", "default": true },
"scrubFields": { "type": "array", "items": { "type": "string" } },
"ipAddress": { "enum": ["auto", "off"], "default": "off" }
}
},
"ci": {
"type": "object",
"properties": {
"generateWorkflow": { "type": "boolean", "default": true },
"provider": { "enum": ["github-actions", "azure-devops", "circleci"] }
}
}
},
"required": ["projectPath", "sentryConfig"]
}
Output Schema
{
"type": "object",
"properties": {
"success": { "type": "boolean" },
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": { "type": "string" },
"type": { "enum": ["config", "main", "renderer", "utils", "ci"] }
}
}
},
"commands": {
"type": "object",
"properties": {
"uploadSourceMaps": { "type": "string" },
"createRelease": { "type": "string" },
"testIntegration": { "type": "string" }
}
},
"envVariables": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"description": { "type": "string" }
}
}
}
},
"required": ["success", "files"]
}
Generated File Structure
src/
main/
sentry/
sentry-main.ts # Main process Sentry init
crash-reporter.ts # Native crash handling
ipc-handlers.ts # Sentry IPC handlers
renderer/
sentry/
sentry-renderer.ts # Renderer Sentry init
error-boundary.tsx # React error boundary
user-feedback.ts # Feedback dialog
shared/
sentry-config.ts # Shared configuration
context-utils.ts # Context helpers
scripts/
sentry-release.js # Release script
.github/workflows/
sentry-release.yml # CI workflow
Code Templates
Main Process Sentry Configuration
// src/main/sentry/sentry-main.ts
import * as Sentry from '@sentry/electron/main';
import { app } from 'electron';
export function initSentryMain() {
Sentry.init({
dsn: process.env.SENTRY_DSN,
environment: process.env.NODE_ENV || 'production',
release: `${app.getName()}@${app.getVersion()}`,
// Performance monitoring
tracesSampleRate: process.env.NODE_ENV === 'production' ? 0.1 : 1.0,
profilesSampleRate: 0.1,
// Session tracking
autoSessionTracking: true,
// Native crash reporting
enableNative: true,
// Privacy
beforeSend(event) {
// Scrub sensitive data
if (event.user) {
delete event.user.ip_address;
}
retur
Установить sentry-desktop-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGlobGrepВложенные файлы
FAQ
Что делает скилл sentry-desktop-setup?
Configure Sentry for comprehensive desktop application crash reporting, error monitoring, performance tracking, and release health for Electron and native desktop apps
Как установить скилл sentry-desktop-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sentry-desktop-setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic