
sentry-sdk-skill-creator
Create a complete Sentry SDK skill bundle for any platform. Use when asked to "create an SDK skill", "add a new platform skill", "write a Sentry skill for X", or build a new sentry- -sdk skill bundle with wizard flow and feature reference files.
- Installs
- 418
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/getsentry/sentry-agent-skills --skill sentry-sdk-skill-creator- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads sentry-sdk-skill-creator automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Create a Sentry SDK Skill Bundle
Produce a complete, research-backed SDK skill bundle — a main wizard SKILL.md plus deep-dive reference files for every feature pillar the SDK supports.
Invoke This Skill When
- Asked to "create a Sentry SDK skill" for a new platform
- Asked to "add support for [language/framework]" to sentry-agent-skills
- Building a new
sentry-<platform>-sdkskill bundle - Porting the SDK skill pattern to a new Sentry SDK
Read
${SKILL_ROOT}/references/philosophy.mdfirst — it defines the bundle architecture, wizard flow, and design principles this skill implements.
Phase 1: Identify the SDK
Determine what you're building a skill for:
# What SDK? What's the package name?
# Examples: sentry-go, @sentry/sveltekit, sentry-python, sentry-ruby, sentry-cocoa
Establish the feature matrix — which Sentry pillars does this SDK support?
| Pillar | Check docs | Notes |
|---|---|---|
| Error Monitoring | Always available | Non-negotiable baseline |
| Tracing/Performance | Usually available | Check for span API |
| Profiling | Varies | May be removed or experimental |
| Logging | Newer feature | Check minimum version |
| Metrics | Newer feature | May be beta/experimental |
| Crons | Backend only | Not available for frontend SDKs |
| Session Replay | Frontend only | Not available for backend SDKs |
| AI Monitoring | Some SDKs | Usually JS + Python only |
Reference existing SDK skills to understand the target quality level:
ls skills/sentry-*-sdk/ 2>/dev/null
# Read 1-2 existing SDK skills for pattern reference
Phase 2: Research
This is the most critical phase. Skill quality depends entirely on accurate, current API knowledge. Do NOT write skills from memory — research every feature against official docs.
Research Strategy
Spin off parallel research tasks (using the claude tool with outputFile) — one per feature area. Each task should:
- Visit the official Sentry docs pages for that feature
- Visit the SDK's GitHub repo for source-level API verification
- Write thorough findings to a dedicated research file
Read ${SKILL_ROOT}/references/research-playbook.md for the detailed research execution plan, including prompt templates and file naming conventions.
Research the Sentry Wizard
Before diving into feature research, check whether the Sentry wizard CLI supports this framework:
# Check the SDK's docs landing page for wizard instructions
# Visit: https://docs.sentry.io/platforms/<platform>/
# Look for: "npx @sentry/wizard@latest -i <integration>"
If a wizard integration exists:
- Document the exact wizard command and
-iflag - Document what the wizard creates/modifies (files, config, build plugins)
- Note that the wizard handles authentication interactively — login, org/project selection, and auth token creation/download all happen automatically
- Note whether the wizard sets up source map upload — this is critical for frontend SDKs
- This will become "Option 1: Wizard (Recommended)" in Phase 3 of the generated skill
Why this matters: The wizard handles the entire auth flow (login, org/project selection, auth token) and source map upload configuration automatically. Without source maps, production stack traces show minified code — making Sentry nearly useless for frontend debugging. And without the auth token, source maps can't be uploaded at all. The wizard is the most reliable way to get both right in a single step.
Research Batching
Batch research tasks by topic area. Run them in parallel where possible:
| Batch | Topics | Output file |
|---|---|---|
| 1 | Setup, configuration, all init options, framework detection | research/<sdk>-setup-config.md |
| 2 | Error monitoring, panic/exception capture, scopes, enrichment | research/<sdk>-error-monitoring.md |
| 3 | Tracing, profiling (if supported) | research/<sdk>-tracing-profiling.md |
| 4 | Logging, metrics, crons (if supported) | research/<sdk>-logging-metrics-crons.md |
| 5 | Session replay (frontend only), AI monitoring (if supported) | research/<sdk>-replay-ai.md |
Important: Tell each research task to write its output to a file (outputFile parameter). Do NOT consume research results inline — they're large (500–1200 lines each). Workers will read them from disk later.
Research Quality Gate
Before proceeding, verify each research file:
- Has actual content (not just Claude's process notes)
- Contains code examples with real API names
- Includes minimum SDK versions
- Covers framework-specific variations
# Quick verification
for f in research/<sdk>-*.md; do
echo "=== $(basename $f) ==="
wc -l "$f"
grep -c "^#" "$f" # should have multiple headings
done
Re-run any research task that produced fewer than 100 lines — it likely failed silently.
Phase 3: Create the Main SKILL.md
The main SKILL.md implements the four-phase wizard from the philosophy doc. Keep it focused — the main file should cover the wizard flow, quick start config, framework tables, and reference dispatch. Deep-dive details for individual features belong in references/ files, not here. Be thorough but not redundant.
Gather Context First
Before writing, run a scout or read existing skills to understand conventions:
- Frontmatter pattern (name, description, license)
- "Invoke This Skill When" trigger phrases
- Table formatting and code example style
- Troubleshooting table conventions
SKILL.md Structure
---
name: sentry-<platform>-sdk
description: Full Sentry SDK setup for <Platform>. Use when asked to "add Sentry
to <platform>", "install <package>", or configure error monitoring, tracing,
[features] for <Platform> applications. Supports [frameworks].
license: Apache-2.0
---
# Sentry <Platform> SDK
## Invoke This Skill When
[trigger phrases]
## Phase 1: Detect
[bash commands to scan project — package manager, framework, existing Sentry, frontend/backend]
## Phase 2: Recommend
[opinionated feature matrix with "always / when detected / optional" logic]
## Phase 3: Guide
### Option 1: Wizard (Recommended) ← if wizard exists for this framework
[wizard command, what it creates/modifies table, skip-to-verification note]
### Option 2: Manual Setup ← always include
### Install
### Quick Start — Recommended Init
### Source Maps Setup ← required for frontend/mobile SDKs
### Framework Middleware (if applicable)
### For Each Agreed Feature
[reference dispatch table: feature → ${SKILL_ROOT}/references/<feature>.md]
## Configuration Reference
[key init options table, environment variables]
## Verification
[test snippet]
## Phase 4: Cross-Link
[detect companion frontend/backend, suggest matching SDK skills]
## Troubleshooting
[common issues table]
Key Principles for the Main SKILL.md
- Keep it lean — deep details go in references, not here
- Wizard-first for framework SDKs — if the Sentry wizard supports this framework, present it as "Option 1: Wizard (Recommended)" before any manual setup. The wizard handles the full auth flow (login, org/project selection, auth token creation), source map upload, build tool plugins, and framework-specific wiring — all in one interactive step. See
${SKILL_ROOT}/references/philosophy.mdfor the full pattern. - Source maps are non-negotiable for frontend/mobile — the manual setup path must include source map upload configuration (build tool plugin + env vars). Without source maps, production stack traces are unreadable minified code.
- Detection commands must be real — test them against actual projects
- Recommendation logic must be opinionated — "always", "when X detected", not "maybe consider"
- Quick Start config should enable the most features with sensible defaults
- Framework middleware table — exact import paths, middleware calls, and quirks
- Cross-link aggressively — if Go backend, suggest frontend. If Svelte frontend, suggest backend.
Phase 4: Create Reference Files
One reference file per feature pillar the SDK supports. These are deep dives — they can be longer than the main SKILL.md.
Reference File Structure
# <Feature> — Sentry <Platform> SDK
> Minimum SDK: `<package>` vX.Y.Z+
## Configuration
## Code Examples
### Basic usage
### Advanced patterns
### Framework-specific notes (if applicable)
## Best Practices
## Troubleshooting
| Issue | Solution |
|-------|----------|
What Makes a Good Reference
Read ${SKILL_ROOT}/references/quality-checklist.md for the full quality rubric.
Key points:
- Working code examples — not pseudo-code, not truncated snippets
- Tables for config options — type, default, minimum version
- One complete example per pattern — don't show 5 variations of the same thing
- Framework-specific notes — call out when behavior differs between frameworks
- Minimum SDK version at the top — always
- Honest about limitations — if a feature was removed (like Go profiling), say so
Feature-Specific Guidance
| Feature | Key things to cover |
|---|---|
| Error Monitoring | Capture APIs, panic/exception recovery, scopes, enrichment (tags/user/breadcrumbs), error chains, BeforeSend, fingerprinting |
| Tracing | Sample rates, custom spans, distributed tracing, framework middleware, operation types |
| Profiling | Sample rate config, how it attaches to traces, or honest "removed/not available" |
| Logging | Enable flag, logger API, integration with popular logging libraries, filtering |
| Metrics | Counter/gauge/distribution APIs, units, attributes, best practices for cardinality |
| Crons | Check-in API, monitor config, schedule types, heartbeat patterns |
| Session Replay | Replay integration, sample rates, privacy masking, canvas/network recording |
Note for frontend/mobile SDKs: Source map upload configuration belongs in the main SKILL.md (Phase 3: Guide), not in a reference file. It's part of the core setup flow — every frontend production deployment needs it. Cover the build tool plugin, the required env vars (
SENTRY_AUTH_TOKEN,SENTRY_ORG,SENTRY_PROJECT), and add.envto.gitignore.
Phase 5: Verify Everything
Do NOT skip this phase. SDK APIs change frequently. Research can hallucinate. Workers can fabricate config keys.
API Verification
Run a dedicated verification pass against the SDK's actual source code:
Research prompt: "Verify these specific API names and signatures against
the <SDK> GitHub repo source code: [list every API from the skill files]"
Things that commonly go wrong:
- Config option names with wrong casing (
SendDefaultPiivsSendDefaultPII) - Fabricated config keys that don't exist (
experimental.tracing— verify it's real) - Deprecated APIs used instead of modern replacements (
configureScope→getIsolationScope) - Features listed as available when they've been removed (profiling in Go SDK)
- Wrong minimum version numbers
Review Pass
Run a reviewer on the complete skill bundle:
- Technical accuracy of code examples
- Consistency between main SKILL.md and reference files
- Consistency with existing SDK skills in the repo
- Agent Skills spec compliance (frontmatter, naming)
Fix Review Findings
Triage by priority:
- P0: Misleading claims (advertising removed features) — fix immediately
- P1: Incorrect APIs, deprecated methods — fix before merge
- P2: Style inconsistencies, version nitpicks — fix if quick
- P3: Skip
Phase 6: Register and Update Docs
After the skill passes review:
- Update README.md — add to the SDK Skills table
- Update AGENTS.md — if the philosophy doc or skill categories section needs it
- Add usage examples — trigger phrases in the Usage section
- Document the bundle pattern — if this is a new SDK, note the references/ structure
Commit Strategy
Each major piece gets its own commit:
feat(<platform>-sdk): add sentry-<platform>-sdk main SKILL.md wizardfeat(<platform>-sdk): add reference deep-dives for all feature pillarsdocs(readme): add sentry-<platform>-sdk to available skillsfix(skills): address review findings(if any)
Checklist
Before declaring the skill complete:
- Philosophy doc read and followed
- All feature pillars researched from official docs (not from memory)
- Research files verified (real content, correct APIs, >100 lines each)
- Main SKILL.md is focused — wizard flow + quick start + reference dispatch; deep dives in references
- Main SKILL.md implements all 4 wizard phases
- Wizard CLI checked — if supported, presented as "Option 1: Wizard (Recommended)" with auth flow + source map benefits described
- Source map / debug symbol upload covered in manual setup path (frontend/mobile SDKs)
- Reference file for each supported feature pillar
- APIs verified against SDK source code
- Review pass completed, findings addressed
- Profiling/removed features honestly documented (not advertised)
- Cross-links to companion frontend/backend skills
- README.md updated
- All commits polished with descriptive messages
FAQ
What does the sentry-sdk-skill-creator skill do?
Create a complete Sentry SDK skill bundle for any platform. Use when asked to "create an SDK skill", "add a new platform skill", "write a Sentry skill for X", or build a new sentry- -sdk skill bundle with wizard flow and feature reference files.
How do I install sentry-sdk-skill-creator?
Run npx skills add https://github.com/getsentry/sentry-agent-skills --skill sentry-sdk-skill-creator in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/sentry-sdk-skill-creator/ (personal) or .claude/skills/sentry-sdk-skill-creator/ (project).
Which AI agents can use sentry-sdk-skill-creator?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is sentry-sdk-skill-creator safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains sentry-sdk-skill-creator?
It is published by getsentry in getsentry/sentry-agent-skills, and it is an official skill from the maker of the technology it covers. It has 418 recorded installs.
More from getsentry/sentry-agent-skills
sentry-fix-issues
getsentry/sentry-agent-skills
Find and fix issues from Sentry using MCP. Use when asked to fix Sentry errors, debug production issues, investigate exceptions, or resolve bugs reported in Sentry. Methodically analyzes stack traces, breadcrumbs, traces, and context to identify root causes.
sentry-react-setup
getsentry/sentry-agent-skills
Setup Sentry in React apps. Use when asked to add Sentry to React, install @sentry/react, or configure error monitoring, error boundaries, session replay, or browser tracing for React applications.
sentry-setup-ai-monitoring
getsentry/sentry-agent-skills
Setup Sentry AI Agent Monitoring in any project. Use when asked to monitor LLM calls, track AI agents, or instrument OpenAI/Anthropic/Vercel AI/LangChain/Google GenAI/Pydantic AI. Detects installed AI SDKs and configures appropriate integrations.
sentry-nextjs-sdk
getsentry/sentry-agent-skills
Full Sentry SDK setup for Next.js. Use when asked to "add Sentry to Next.js", "install @sentry/nextjs", or configure error monitoring, tracing, session replay, logging, profiling, AI monitoring, or crons for Next.js applications. Supports Next.js 13+ with App Router and Pages Router.
sentry-pr-code-review
getsentry/sentry-agent-skills
Review a project's PRs to check for issues detected in code review by Seer Bug Prediction. Use when asked to review or fix issues identified by Sentry in PR comments, or to find recent PRs with Sentry feedback.
sentry-create-alert
getsentry/sentry-agent-skills
Create Sentry alerts using the workflow engine API. Use when asked to create alerts, set up notifications, configure issue priority alerts, or build workflow automations. Supports email, Slack, PagerDuty, Discord, and other notification actions.
Popular devops & cloud skills
microsoft-foundry
microsoft/azure-skills
Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, managed harness agent create, GitHub Copilot harness agent, create agent, update agent, add tool to agent, invoke agent, agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, optimize agent instructions, Agent Optimizer scaffold, dataset curation from traces, deploy model, model fine-tuning (SFT/DPO/RFT), Foundry project, RBAC, role assignment, permissions, quota, capacity, region, deployment failure, AI Services, create Foundry resource, knowledge index, customize deployment, onboard, availability, training-data, grader, distillation, large file upload. DO NOT USE FOR: Azure Functions, App Service, general Azure deploy (use azure-deploy), general Azure prep (use azure
azure-diagnostics
microsoft/azure-skills
Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, container app 503 or target port mismatch, troubleshoot functions, function telemetry missing or stopped after a config/connection-string change, troubleshoot AKS, VM RDP, Linux SSH, VM black screen, can't connect to VM, reset VM password, NSG or firewall blocking, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource health, root cause of errors, troubleshoot event hubs, troubleshoot service bus, messaging SDK error, AMQP connection failure, message lock lost, lock renewal during long-running processing, service bus dead letter.
azure-prepare
microsoft/azure-skills
Prepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow. USE ONLY when the user explicitly wants to use azd as the deployment tool, or the project already has an azure.yaml file. DO NOT USE FOR: non-azd deployments, Python App Service code-only deploys (use python-appservice-deploy), or cross-cloud migration (use azure-cloud-migrate). WHEN: prepare app for azd, create azure.yaml, set up azd infrastructure, modernize app for Azure with azd, deploy with azd, function app, timer trigger, service bus trigger, event-driven function, managed identity, generate Bicep, generate Terraform, create and deploy to Azure.
azure-ai
microsoft/azure-skills
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.
azure-deploy
microsoft/azure-skills
Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: "run azd up", "run azd deploy", "execute deployment", "push to production", "push to cloud", "go live", "ship it", "bicep deploy", "terraform apply", "publish to Azure", "launch on Azure". DO NOT USE WHEN: "create and deploy", "build and deploy", "create a new app", "set up infrastructure", "create and deploy to Azure using Terraform" — use azure-prepare for these.
azure-validate
microsoft/azure-skills
Pre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure (Bicep or Terraform), RBAC role assignments, managed identity permissions, and prerequisites before deploying. WHEN: validate my app, check deployment readiness, run preflight checks, verify configuration, check if ready to deploy, validate azure.yaml, validate Bicep, test before deploying, troubleshoot deployment errors, validate Azure Functions, validate function app, validate serverless deployment, verify RBAC roles, check role assignments, review managed identity permissions, what-if analysis, validate Container Apps deployment.