From configure-plugin
Checks and configures Sentry error tracking SDKs for frontend, Next.js, Node.js, and Python projects including DSN env vars, source maps, and CI/CD release tracking.
npx claudepluginhub laurigates/claude-plugins --plugin configure-pluginThis skill is limited to using the following tools:
Check and configure Sentry error tracking integration against project standards.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Check and configure Sentry error tracking integration against project standards.
| 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) |
| 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 |
find . -maxdepth 1 -name \'package.json\'find . -maxdepth 1 -name \'pyproject.toml\'find . -maxdepth 1 -name \'requirements.txt\'find . -maxdepth 1 -name '.project-standards.yaml' -type fgrep -o '"@sentry/[^"]*"' package.jsongrep 'sentry' pyproject.tomlfind . -maxdepth 3 -name "*sentry*" -type ffind . -maxdepth 1 -name 'next.config.*'find src -maxdepth 1 -name 'instrumentation*' -type fgrep -rl 'SENTRY_DSN' .env* .github/workflows/find .github/workflows -maxdepth 1 -name '*.yml'Skills referenced: sentry (MCP server for Sentry API)
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) |
CRITICAL: Before configuring Sentry SDKs, verify latest versions:
Use WebSearch or WebFetch to verify current SDK versions before configuring Sentry.
Execute this Sentry compliance check:
Determine the project type to select the appropriate SDK and configuration:
.project-standards.yaml for project_type fieldpackage.json with next dependency (check for @sentry/nextjs)package.json with vue/react dependencies (without Next.js)package.json with Node.js backend (express, fastify, etc.)pyproject.toml or requirements.txt--type flag is provided, use that value insteadCheck 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 mapsNode.js Backend:
@sentry/node in package.json dependencies@sentry/profiling-node (recommended)Python:
sentry-sdk in pyproject.toml or requirements.txtRead the Sentry initialization files and check against the compliance tables in REFERENCE.md. Validate:
Additional checks for Next.js projects:
src/instrumentation.ts exists with register() and onRequestError exportssrc/instrumentation-client.ts exists with client-side Sentry initsentry.server.config.ts and sentry.edge.config.ts exist at project rootnext.config.mjs wraps config with withSentryConfig()tunnelRoute: "/monitoring")hideSourceMaps, deleteSourcemapsAfterUpload)@sentry/profiling-node listed in serverExternalPackagessrc/app/error.tsx, src/app/global-error.tsx)enableLogs: true)beforeSendbeforeSendTransaction (drop health checks, static assets)Print a compliance report with:
If --check-only, stop here.
@sentry/vite-plugin for source mapsVerify Sentry integration in CI/CD:
SENTRY_AUTH_TOKEN secret configuredIf missing, offer to add the recommended workflow steps from REFERENCE.md.
Update or create .project-standards.yaml:
standards_version: "2025.1"
project_type: "<detected>"
last_configured: "<timestamp>"
components:
sentry: "2025.1"
| Variable | Description | Required |
|---|---|---|
SENTRY_DSN | Sentry Data Source Name (server-side) | Yes |
NEXT_PUBLIC_SENTRY_DSN | Sentry DSN for client-side (Next.js) | Next.js only |
SENTRY_ENVIRONMENT | Environment name (server-side) | Recommended |
NEXT_PUBLIC_SENTRY_ENVIRONMENT | Environment name (client-side, Next.js) | Next.js only |
SENTRY_ORG | Sentry organization slug | For source maps |
SENTRY_PROJECT | Sentry project slug | For source maps |
SENTRY_AUTH_TOKEN | Auth token for CI/CD | For source maps |
NEXT_PUBLIC_SENTRY_SKIP_BUILD | Skip Sentry webpack plugin in builds | Container builds |
Never commit DSN or auth tokens. Use environment variables or secrets management.
For detailed configuration check tables, initialization templates, and CI/CD workflow examples, see REFERENCE.md.
| Context | Command |
|---|---|
| Quick compliance check | /configure:sentry --check-only |
| Auto-fix all issues | /configure:sentry --fix |
| Frontend project only | /configure:sentry --type frontend |
| Next.js project | /configure:sentry --type nextjs |
| Python project only | /configure:sentry --type python |
| Node.js project only | /configure:sentry --type node |
| Check for hardcoded DSNs | rg -l 'https://[a-f0-9]*@.*sentry\.io' --type-not env |
/configure:all - Run all compliance checks/configure:status - Quick compliance overview/configure:workflows - GitHub Actions integrationsentry MCP server - Sentry API access for project verification