Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/sentry-common-errors

@0d57af8
Run it yourself

Troubleshoot common Sentry integration issues and fixes. Use when encountering Sentry errors, missing events, source map failures, rate limits, or configuration problems. Trigger: "sentry not working", "sentry errors missing", "fix sentry", "sentry troubleshoot", "sentry 429", "source maps not resolving", "sentry events not showing", "sentry flush", "sentry CORS".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/sentry-common-errors

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesexamples.md

≈518 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Examples

Example 1: Debug Missing Events in Next.js

Request: "Sentry captureException runs but nothing shows in the dashboard"

Diagnosis:

  1. Enabled debug: true in sentry.client.config.ts
  2. Console showed: [Sentry] No DSN provided, will not send event
  3. NEXT_PUBLIC_SENTRY_DSN was missing from .env.production

Fix: Added the DSN to .env.production and redeployed. Result: Events appeared within seconds.

Example 2: Fix Source Maps in Vite + React

Request: "Stack traces in Sentry are all minified"

Diagnosis:

sentry-cli sourcemaps explain --org acme --project frontend EVENT_ID
# Output: "source map not found for URL ~/assets/index-abc123.js"

The --url-prefix was ~/dist but Vite serves from ~/assets.

Fix: Changed to --url-prefix '~/assets' and re-uploaded. Result: Stack traces now show original source locations.

Example 3: Lambda Events Disappearing

Request: "Sentry.captureException works locally but not in AWS Lambda"

Diagnosis: Lambda exits before the SDK's async queue flushes.

Fix: Added await Sentry.flush(2000) and wrapped with Sentry.wrapHandler(). Result: Events arrive consistently from Lambda.

Example 4: 429 Rate Limiting in Production

Request: "Sentry returning 429 errors, losing important error data"

Diagnosis: Noisy ResizeObserver and ChunkLoadError events consuming 80% of quota.

Fix: Added ignoreErrors for noise + beforeSend filter for browser extension errors. Result: Event volume dropped 75%, no more 429 errors.

Example 5: Express Import Order Fix

Request: "Getting 'Express is not instrumented' warning"

Diagnosis: Sentry.init() was at the bottom of app.ts, after all imports.

Fix: Created instrument.mjs with Sentry init, imported first in app.mjs. Result: Warning gone, Express routes show in Performance tab.


Tons of Skills by Intent Solutions | jeremylongshore.com

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert2mo3 checks · Risk HIGH
  • Gen Agent Trust Hub2mo

    The skill facilitates troubleshooting for Sentry integrations by checking environment configurations and service status. It performs diagnostic scans of local project files to identify Sentry initialization patterns, which introduces a minor indirect prompt injection risk. It also uses official Sentry status APIs for health checks.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
What it can do
Reads files Runs commands
version
1.51.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
compatibility
Designed for Claude Code
All 8 allowed tools
ReadGrepBash(npm:*)Bash(node:*)Bash(curl:*)Bash(npx:*)Bash(sentry-cli:*)Bash(python3:*)
Other metadata
tags
[
  "saas",
  "sentry",
  "troubleshooting",
  "debugging",
  "error-monitoring"
]

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/sentry-common-errors