sentry-hello-world

Featured

Capture your first test error with Sentry and verify it appears in the dashboard. Use when testing a new Sentry integration, verifying error capture works after install-auth, or learning how to enrich events with user context, tags, and breadcrumbs. Trigger with phrases like "test sentry", "sentry hello world", "verify sentry", "first sentry error", "sentry capture test".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Sentry Hello World ## Overview Send your first test events to Sentry — a captured message, a captured exception, and a fully-enriched error with user context, tags, and breadcrumbs — then verify each one appears in the Sentry dashboard. This skill covers both Node.js (`@sentry/node`) and Python (`sentry-sdk`). ## Prerequisites - Completed `sentry-install-auth` setup (SDK installed, DSN configured) - Valid `SENTRY_DSN` in environment variables - `instrument.mjs` loaded before app code (Node.js) or `sentry_sdk.init()` called (Python) - Network access to `*.ingest.sentry.io` ## Instructions ### Step 1 — Verify the SDK Is Active Before sending test events, confirm the SDK initialized correctly. If `getClient()` returns `undefined`, the SDK was never initialized — go back to `sentry-install-auth`. **TypeScript (Node.js):** ```typescript import * as Sentry from '@sentry/node'; const client = Sentry.getClient(); if (!client) { console.error('Sentry SDK not initialized. Ensure instrument.mjs is loaded first.'); console.error('Run with: node --import ./instrument.mjs your-script.mjs'); process.exit(1); } console.log('Sentry SDK active — DSN configured'); ``` **Python:** ```python import sentry_sdk client = sentry_sdk.Hub.current.client if client is None or client.dsn is None: print("Sentry SDK not initialized. Call sentry_sdk.init() first.") exit(1) print("Sentry SDK active — DSN configured") ``` ### Step 2 — Capture a Test Message `captureMessage` sends...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

sentry-error-capture

Implement advanced error capture and context enrichment with Sentry. Use when adding captureException/captureMessage calls, enriching errors with user context, tags, breadcrumbs, or custom fingerprinting. Trigger with "sentry error capture", "sentry context", "enrich sentry errors", "sentry exception handling", "sentry breadcrumbs", "sentry fingerprint".

2,266 Updated today
jeremylongshore
AI & Automation Featured

sentry-install-auth

Install and configure Sentry SDK authentication with DSN setup. Use when setting up Sentry error tracking, configuring DSN, or initializing Sentry in a Node.js or Python project. Trigger with "install sentry", "setup sentry", "sentry auth", "configure sentry DSN".

2,266 Updated today
jeremylongshore
AI & Automation Featured

sentry-common-errors

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".

2,266 Updated today
jeremylongshore
AI & Automation Solid

sentry

Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.

2,202 Updated 1 weeks ago
foryourhealth111-pixel
AI & Automation Listed

sentry

Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.

1 Updated today
HGGodhand33