configure-sentry
БесплатноБез исполняемых скриптовНе проверенSentry error tracking setup. Use when installing the Sentry SDK, fixing hardcoded DSNs, or adding source map upload for frontend, Next.js, Node, or Python.
от laurigates★ 61 звезда на GitHubОб этом скилле
/configure:sentry
Check and configure Sentry error tracking integration against project standards.
When to Use This Skill
| Use this skill when... | Use another approach when... |
|---|---|
| Setting up Sentry error tracking for a new project | Debugging a specific Sentry issue or alert (use Sentry MCP server) |
| Sentry-specific setup and compliance in depth | Wiring up the whole observability stack — OTel traces/metrics + logging (use /configure:instrumentation, which delegates Sentry gaps back here) |
| Checking Sentry SDK installation and configuration compliance | Querying Sentry events or performance data (use Sentry API/MCP) |
| Fixing hardcoded DSNs or missing environment variable references | Managing Sentry project settings in the Sentry dashboard |
| Adding source map upload and release tracking to CI/CD | Configuring Sentry alerting rules or notification channels |
| Verifying Sentry configuration across frontend, Next.js, Node.js, or Python projects | Installing a different error tracking tool (e.g., Bugsnag, Rollbar) |
| Adding profiling, structured logging, or enrichment helpers | Configuring Sentry alerting rules or notification channels |
| Project-level setup and compliance auditing | Day-to-day SDK usage patterns — spans, breadcrumbs, cron monitoring, replay (use typescript-plugin:typescript-sentry) |
Context
- Package.json: !
find . -maxdepth 1 -name 'package.json' - Pyproject.toml: !
find . -maxdepth 1 -name 'pyproject.toml' - Requirements.txt: !
find . -maxdepth 1 -name 'requirements.txt' - Project standards: !
find . -maxdepth 1 -name '.project-standards.yaml' -type f - Sentry in package.json: !
find . -maxdepth 1 -name 'package.json' -exec grep -o '"@sentry/[^"]*"' {} + - Sentry in pyproject.toml: !
find . -maxdepth 1 -name 'pyproject.toml' -exec grep 'sentry' {} + - Sentry init files: !
find . -maxdepth 3 -name "*sentry*" -type f - Next.js config: !
find . -maxdepth 1 -name 'next.config.*' - Instrumentation files: !
find . -path '*/src/*' -maxdepth 2 -name 'instrumentation*' -type f - Env files referencing DSN: !
find . \( -name '.env*' -o -path '*/.github/workflows/*' \) -type f -exec grep -l 'SENTRY_DSN' {} + - CI workflows: !
find . -path '*/.github/workflows/*' -maxdepth 3 -name '*.yml'
Skills referenced: sentry (MCP server for Sentry API)
Parameters
Parse these from $ARGUMENTS:
| Flag | Description |
|---|---|
--check-only |
Report status without offering fixes |
--fix |
Apply all fixes automatically without prompting |
--type <type> |
Override project type detection (frontend, nextjs, python, node) |
Version Checking
CRITICAL: Before configuring Sentry SDKs, verify latest versions:
- @sentry/vue / @sentry/react: Check npm
- @sentry/nextjs: Check npm
- @sentry/node: Check npm
- sentry-sdk (Python): Check PyPI
- @sentry/vite-plugin: Check npm
Use WebSearch or WebFetch to verify current SDK versions before configuring Sentry.
Execution
Execute this Sentry compliance check:
Step 1: Detect project type
Determine the project type to select the appropriate SDK and configuration:
- Read
.project-standards.yamlforproject_typefield - If not found, auto-detect:
- nextjs: Has
package.jsonwithnextdependency (check for@sentry/nextjs) - frontend: Has
package.jsonwith vue/react dependencies (without Next.js) - node: Has
package.jsonwith Node.js backend (express, fastify, etc.) - python: Has
pyproject.tomlorrequirements.txt
- nextjs: Has
- If
--typeflag is provided, use that value instead
Step 2: Check SDK installation
Check for Sentry SDK based on detected project type:
Next.js:
@sentry/nextjsin package.json dependencies@sentry/profiling-node(recommended for server profiling)
Frontend (Vue/React):
@sentry/vueor@sentry/reactin package.json dependencies@sentry/vite-pluginfor source maps
Node.js Backend:
@sentry/nodein package.json dependencies@sentry/profiling-node(recommended)
Python:
sentry-sdkin pyproject.toml or requirements.txt- Framework integrations (django, flask, fastapi)
Step 3: Analyze configuration
Read the Sentry initialization files and check against the compliance tables in REFERENCE.md. Validate:
- DSN comes from environment variables (not hardcoded)
- Tracing sample rate is configured (different for prod vs dev)
- Source maps are enabled (frontend/Next.js)
- Init location is correct (Node.js: before other imports)
- Framework integration is enabled (Python)
Additional checks for Next.js projects:
src/instrumentation.tsexis
Установить configure-sentry в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
GlobGrepReadWriteEditBash(find *)Bash(rg *)AskUserQuestionTodoWriteWebSearchWebFetchВложенные файлы
FAQ
Что делает скилл configure-sentry?
Sentry error tracking setup. Use when installing the Sentry SDK, fixing hardcoded DSNs, or adding source map upload for frontend, Next.js, Node, or Python.
Как установить скилл configure-sentry?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл configure-sentry запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic