Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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:

  1. @sentry/vue / @sentry/react: Check npm
  2. @sentry/nextjs: Check npm
  3. @sentry/node: Check npm
  4. sentry-sdk (Python): Check PyPI
  5. @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:

  1. Read .project-standards.yaml for project_type field
  2. If not found, auto-detect:
    • nextjs: Has package.json with next dependency (check for @sentry/nextjs)
    • frontend: Has package.json with vue/react dependencies (without Next.js)
    • node: Has package.json with Node.js backend (express, fastify, etc.)
    • python: Has pyproject.toml or requirements.txt
  3. If --type flag is provided, use that value instead

Step 2: Check SDK installation

Check for Sentry SDK based on detected project type:

Next.js:

  • @sentry/nextjs in package.json dependencies
  • @sentry/profiling-node (recommended for server profiling)

Frontend (Vue/React):

  • @sentry/vue or @sentry/react in package.json dependencies
  • @sentry/vite-plugin for source maps

Node.js Backend:

  • @sentry/node in package.json dependencies
  • @sentry/profiling-node (recommended)

Python:

  • sentry-sdk in 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:

  1. DSN comes from environment variables (not hardcoded)
  2. Tracing sample rate is configured (different for prod vs dev)
  3. Source maps are enabled (frontend/Next.js)
  4. Init location is correct (Node.js: before other imports)
  5. Framework integration is enabled (Python)

Additional checks for Next.js projects:

  1. src/instrumentation.ts exis
Полный SKILL.md на GitHub

Установить configure-sentry в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Glob
Grep
Read
Write
Edit
Bash(find *)
Bash(rg *)
AskUserQuestion
TodoWrite
WebSearch
WebFetch

Вложенные файлы

REFERENCE.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить configure-sentry с