Assists with monitoring application errors, performance, and user experience using Sentry. Use when integrating Sentry SDKs, configuring alerting, analyzing stack traces, uploading source maps, or tracking release health in production. Trigger words: sentry, error monitoring, error tracking, performance monitoring, source maps, session replay.
Sentry is an error monitoring and performance platform that captures unhandled exceptions, tracks request performance with Web Vitals, records session replays, and alerts on regressions. It supports JavaScript, Python, Go, and mobile platforms with auto-instrumentation, source-mapped stack traces, and release health tracking.
Sentry.init() with dsn, environment, release, and tracesSampleRate, choosing the framework-specific SDK (@sentry/nextjs, @sentry/sveltekit, sentry-sdk for Python) for automatic instrumentation.Sentry.setUser() after login for user correlation, add custom tags with Sentry.setTag() for filtering, and configure ignoreErrors for known harmless errors from browser extensions and third-party scripts.@sentry/vite-plugin or @sentry/webpack-plugin in the CI build step to map minified stack traces back to original source code, associating them with the release version.tracesSampleRate to 0.1-0.2 in production, add custom spans with Sentry.startSpan() for business-critical operations, and monitor Web Vitals (LCP, CLS, INP) for real user experience.replaysOnErrorSampleRate: 1.0 for all error sessions and replaysSessionSampleRate: 0.1 for general sampling, with privacy masking for sensitive data.User request: "Add Sentry error monitoring and performance tracking to my Next.js app"
Actions:
@sentry/nextjs and run the setup wizard to configure sentry.client.config.ts and sentry.server.config.tsSentry.init() with environment, release, and tracesSampleRate: 0.2@sentry/nextjs webpack integrationOutput: A Next.js app with automatic error capture, source-mapped stack traces, performance monitoring, and Slack alerting.
User request: "Set up release tracking to identify which deployment introduced a bug"
Actions:
release in Sentry.init() using the git commit SHA or semantic versionOutput: Release health monitoring with crash-free session tracking, suspect commits, and regression alerts.
tracesSampleRate to 0.1-0.2 in production since 100% sampling is expensive and unnecessary.environment and release on every Sentry.init() call to filter errors by staging versus production.Sentry.setUser() after login to correlate errors with specific users for support.ignoreErrors for known harmless errors from browser extensions, network timeouts, and third-party scripts.npx skills add TerminalSkills/sentry下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer