ashish7802/awesome-api-skills/sentry

Claude Code and agent skill by ashish7802/awesome-api-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install ashish7802/awesome-api-skills/sentry

SKILL.md

The same SKILL.md was published earlier as ashish7802/awesome-api-skills/sentry.

Sentry API Skill

Overview

Sentry tracks exceptions, traces, and crashes. This skill covers the @sentry/node integration for backend error capturing and the Sentry REST API for release management.

Installation

bash
npm install @sentry/node @sentry/profiling-node
pip install sentry-sdk

Authentication

Client SDKs use a DSN (Data Source Name). The REST API uses a Bearer token generated from the Sentry Auth token settings.

Core Concepts

  • DSN: The ingestion endpoint URL.
  • Release: A version of your code attached to events for regression tracking.
  • Transaction: A logical grouping of spans for performance tracing.

Common Workflows

  1. Call Sentry.init({ dsn }) early in the application lifecycle.
  2. Wrap controllers or use framework middleware.
  3. Call Sentry.captureException(error) for handled exceptions.

Error Handling

The Sentry SDK fails silently on network errors so it does not crash your application.

Security

Use the beforeSend hook to scrub PII (Passwords, SSNs, Auth Tokens) before the payload leaves your server.

Rate Limits

Event ingestion is limited by your organization's quota. Exceeding it results in dropped events (HTTP 429).

Best Practices

Always set the release and environment tags during Sentry.init to enable accurate issue tracking across deployments.

Troubleshooting

If source maps aren't working, ensure the @sentry/cli or Webpack plugin uploaded the artifacts for the exact release string matching your deployed code.

References

Why use this skill

Use this when your agent works with sentry — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Using outdated SDK or API versions from training data
  • Inventing environment variable names
  • Omitting error handling and retry logic

Production checklist

  • [ ] Secrets in environment variables, not source code
  • [ ] Error handling and logging in place
  • [ ] Rate limits and timeouts configured

Related skills


Last Verified: 2026-07-02

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
13
Repository forks
6
7-day trend score
13

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ashish7802/awesome-api-skills/sentry/badge)](https://verified-skill.com/skills/ashish7802/awesome-api-skills/sentry)

Something wrong with this skill or its page? Tell us.