Skip to content
Skill

sentry-known-pitfalls

by majiayu000

AI Summary

1. Verify SDK initialization happens before app starts 2. Check for single initialization point (no multiple init calls) 3. Use framework-specific SDK package for your framework

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "sentry-known-pitfalls" skill in my project.

Please run this command in my terminal:
# Install skill into your project (2 files)
mkdir -p .claude/skills/sentry-known-pitfalls && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/sentry-known-pitfalls/SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/devops/sentry-known-pitfalls/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/sentry-known-pitfalls/metadata.json "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/devops/sentry-known-pitfalls/metadata.json"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Execute common Sentry pitfalls and how to avoid them. Use when troubleshooting Sentry issues, reviewing configurations, or preventing common mistakes. Trigger with phrases like "sentry mistakes", "sentry pitfalls", "sentry common issues", "sentry anti-patterns".

Prerequisites

• Existing Sentry implementation to review • Access to SDK configuration • Understanding of current error patterns • Codebase access for fixes

Examples

See {baseDir}/references/examples.md for detailed examples.

Instructions

• Verify SDK initialization happens before app starts • Check for single initialization point (no multiple init calls) • Use framework-specific SDK package for your framework • Ensure Error objects are captured (not strings) • Verify beforeSend returns event or null explicitly • Check DSN is in environment variables (not hardcoded) • Review sample rates for production appropriateness • Verify all transactions call finish() in try/finally • Check source map URL prefix matches actual URLs • Review alert configuration for threshold-based rules (avoid alert fatigue)

Output

• Pitfalls identified in current setup • Fixes applied for each issue • Configuration validated • Best practices checklist completed

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 22d ago
Active
Adoption100+ stars on GitHub
530 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars530
Forks83
Issues1
Updated22d ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code