g1joshi/agent-skills/sentry
Claude Code and agent skill by g1joshi/agent-skills
- community
- ext:[{"type":"context","description":"Custom context provider definitions"}]
Checking that the SKILL.md file is still in the repository.
Expert Sentry error monitoring assistance covering exception tracking, performance tracing, source maps, releases, and breadcrumbs. Use when monitoring production errors and diagnosing stack traces.
Install
npx vskill@latest install g1joshi/agent-skills/sentrySemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as g1joshi/agent-skills/sentry.
Sentry
Sentry provides real-time application performance monitoring, distributed tracing, and code-level error diagnostics across frontend, backend, and mobile stacks.
When to Use
- Real-Time Application Error Monitoring: Capturing unhandled exceptions, stack traces, and runtime errors in production.
- End-to-End Performance Tracing: Measuring transaction durations, database queries, and distributed trace spans.
- Source Map Processing & De-Minification: Translating minified production bundle errors back to original TypeScript source lines.
- Session Replay & User Crash Feedback: Watching user sessions to reproduce difficult-to-catch client-side bugs.
Quick Start
Core Concepts
Node.js / Next.js SDK Initialization with Performance Tracing
Instrumenting application with trace sampling and error capture:
Manual Error Capture with Custom Context
Enriching errors with user context and custom tags:
Custom Performance Spans
Measuring execution duration of critical code blocks:
Common Patterns
Node.js / Express Error Middleware with User Context
Problem: Production exceptions logged without user session context or breadcrumb history.
Solution: Configure Sentry tracing and request isolation:
Best Practices
Do:
- Configure
releasetags to correlate error occurrences with specific Git commits and deployments. - Upload source maps during CI/CD using
@sentry/clito get clear TypeScript line numbers in stack traces. - Sanitize sensitive PII, credit card numbers, and authorization headers in
beforeSend. - Tune
tracesSampleRatein high-throughput environments to prevent excessive ingestion costs.
Don't:
- Leave DSN keys exposed in public repositories without domain restriction rules.
- Catch exceptions silently without logging or passing to
Sentry.captureException(). - Log high-frequency expected user validation errors (e.g. invalid form fields) as Sentry exceptions.
Troubleshooting
| Error | Cause | Solution | |
|---|---|---|---|
Source maps not showing in stack traces | Source maps not uploaded during build or release version mismatch. | Upload source maps via @sentry/webpack-plugin with identical release tag. | |
Sentry DSN not capturing events | DSN variable missing in production runtime or rate limit exceeded. | Verify SENTRY_DSN is set and inspect Sentry Organization Stats for quota spikes. | |
Transactions flooded / quota exhausted | tracesSampleRate set to 1.0 (100%) on high-traffic production endpoints. | Reduce tracesSampleRate to 0.05 - 0.2 (5% - 20%). |
References
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/devops/sentry/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
contextCustom context provider definitions
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/g1joshi/agent-skills/sentry)