
Sentry Sdk Skill Creator
Author living Sentry SDK skill bundles with a lean wizard SKILL.md and conditional deep-dive reference files for errors, tracing, profiling, logging, metrics, crons, and session replay.
Install
npx skills add https://github.com/getsentry/sentry-for-ai --skill sentry-sdk-skill-creatorWhat is this skill?
- Bundle architecture: main wizard SKILL.md plus references/ for error-monitoring, tracing, profiling, logging, metrics, c
- Conditional reference loading via ${SKILL_ROOT}/references/*.md so the wizard stays lean
- Feature-pillar model aligned to Sentry SDK capabilities (errors, tracing, profiling, logs, replay)
- Opinionated agent-guided setup flow: read project context, recommend pillars, load only needed deep dives
- Pattern for shipping living documentation bundles instead of flat single-feature SKILL.md files
Adoption & trust: 1.2k installs on skills.sh; 197 GitHub stars; 3/3 security scanners passed (skills.sh audits).
Recommended Skills
Journey fit
Canonical shelf is Build → agent-tooling because the deliverable is reusable agent capability packaging for observability setup, not production incident response. Skills are procedural agent artifacts; this meta-pattern defines how SDK experts ship wizards that agents invoke during project setup.
Common Questions / FAQ
Is Sentry Sdk Skill Creator safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Sentry Sdk Skill Creator
# SDK Skill Philosophy Guide for authoring SDK skill bundles — a new pattern that ships complete, opinionated Sentry setup wizards alongside each SDK. ## The Vision SDK skills are **living documentation bundles**. Instead of a flat SKILL.md that covers one feature, an SDK skill covers everything a project needs: error monitoring, tracing, profiling, logging, session replay, and more. The agent acts as an expert who reads the project, makes opinionated recommendations, and guides the user through each feature — loading deep-dive references as needed. ## Bundle Architecture ``` skills/ sentry-<platform>-sdk/ SKILL.md # Main wizard references/ error-monitoring.md # Deep dive: errors, panics, wrapping tracing.md # Deep dive: spans, distributed tracing profiling.md # Deep dive: continuous profiling logging.md # Deep dive: structured logs metrics.md # Deep dive: counters, gauges, distributions crons.md # Deep dive: cron job monitoring session-replay.md # Deep dive: replay (frontend only) ``` The main `SKILL.md` is the wizard — it stays lean. References are loaded conditionally based on what the user wants to configure. **Loading a reference in SKILL.md:** ```markdown Read ${SKILL_ROOT}/references/tracing.md for detailed tracing setup steps. ``` ## Feature Pillars Each SDK supports a subset of Sentry's pillars: | Pillar | Backend SDKs | Frontend SDKs | |--------|-------------|---------------| | Error Monitoring | ✅ Always | ✅ Always | | Tracing/Performance | ✅ Common | ✅ Common | | Profiling | ✅ Some | ✅ Some | | Logging | ✅ Common | ✅ Common | | Metrics | ✅ Some | ✅ Some | | Crons | ✅ Backend only | ❌ | | Session Replay | ❌ | ✅ Frontend only | | AI Monitoring | ✅ Some | ✅ Some | Only include reference files for pillars the SDK actually supports. If a feature is experimental or beta, mark it clearly in the reference header. ## The Wizard Flow The main SKILL.md implements a four-phase wizard: ### Phase 1: Detect Scan the project to understand the stack: ```markdown ## Phase 1: Detect Run these commands to understand the project: - `cat go.mod` / `cat package.json` — identify language and framework - `grep -r "sentry" go.mod package.json 2>/dev/null` — check if Sentry is already installed - `ls frontend/ web/ client/ 2>/dev/null` — detect companion frontend/backend ``` ### Phase 2: Recommend Present opinionated feature recommendations based on what you found. Don't ask open-ended "what do you want?" — lead with a concrete proposal: ```markdown ## Phase 2: Recommend Based on what I found, here's what I recommend setting up: **Recommended (core coverage):** - ✅ Error monitoring — captures panics, exceptions, and unhandled errors - ✅ Tracing — your app has HTTP handlers; distributed tracing will show latency across services - ✅ Logging — you're using zap; Sentry can capture structured logs automatically **Optional (enhanced observability):** - ⚡ Profiling — low-overhead CPU/memory profiling in production - ⚡ Metrics — custom counters and gauges for business KPIs - ⚡ Crons — detect silent failures in scheduled jobs Shall I set up everything recommended, or customize the list? ``` Recommendation logic: - **Error monitoring**: Always recommend — this is the baseline - **Tracing**: Recommend when HTTP handlers, APIs, gRPC, or queues are detected - **Profiling**: Recommend for production apps where perf matters - **Logging**: Recommend when the app already uses a logging library - **Metrics**: Recommend for apps tracking business events or SLOs - **Crons**: Recommend when cron/scheduler patterns are detected - **Session Replay**: Recommend for frontend apps, never for backend ### Phase 3: Guide #### Wizard-First for Framework SDKs Many Sentry SDKs ship with a CLI wizard (`npx @sentry/wizard@latest -i <integration>`) that scaffolds the entire setup in one comm