Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
brianlovin avatar

Sentry

  • 178 installs
  • 356 repo stars
  • Updated March 25, 2026
  • brianlovin/claude-config

Instrument apps with Sentry SDKs, environment tags, and release tracking so production exceptions are captured, grouped, and actionable for on-call engineers.

About

An operations-oriented skill from brianlovin/claude-config that helps teams integrate Sentry for error monitoring: SDK installation, environment and release tagging, alert-friendly event context, and production triage workflows so crashes and regressions surface quickly after ship.

  • Adds Sentry SDK setup for common web and server stacks
  • Configures DSN, environments, and release versions
  • Captures stack traces with useful request context
  • Sets sampling and PII rules for safer telemetry
  • Connects errors to deploy markers for faster regression hunts

Sentry by the numbers

  • 178 all-time installs (skills.sh)
  • Ranked #427 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Data as of Aug 1, 2026 (Skillselion catalog sync)
npx skills add https://github.com/brianlovin/claude-config --skill sentry

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs178
repo stars356
Last updatedMarch 25, 2026
Repositorybrianlovin/claude-config

What it does

Instrument apps with Sentry SDKs, environment tags, and release tracking so production exceptions are captured, grouped, and actionable for on-call engineers.

Files

SKILL.mdMarkdownGitHub ↗

Sentry Integration

Guidelines for using Sentry for error monitoring and performance tracing.

Exception Catching

Use Sentry.captureException(error) in try/catch blocks:

try {
  await riskyOperation();
} catch (error) {
  Sentry.captureException(error);
  throw error;
}

Performance Tracing

Create spans for meaningful actions like button clicks, API calls, and function calls.

UI Actions

function handleClick() {
  Sentry.startSpan(
    { op: "ui.click", name: "Submit Form" },
    (span) => {
      span.setAttribute("formId", formId);
      submitForm();
    }
  );
}

API Calls

async function fetchData(id) {
  return Sentry.startSpan(
    { op: "http.client", name: `GET /api/items/${id}` },
    async () => {
      const response = await fetch(`/api/items/${id}`);
      return response.json();
    }
  );
}

Configuration (Next.js)

Sentry initialization files:

  • sentry.client.config.ts - Client-side
  • sentry.server.config.ts - Server-side
  • sentry.edge.config.ts - Edge runtime

Import with import * as Sentry from "@sentry/nextjs" - no need to initialize in other files.

Basic Setup

import * as Sentry from "@sentry/nextjs";

Sentry.init({
  dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
  enableLogs: true,
});

With Console Logging

Sentry.init({
  dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
  integrations: [
    Sentry.consoleLoggingIntegration({ levels: ["log", "warn", "error"] }),
  ],
});

Structured Logging

Use logger.fmt for template literals with variables:

const { logger } = Sentry;

logger.trace("Starting connection", { database: "users" });
logger.debug(logger.fmt`Cache miss for: ${userId}`);
logger.info("Updated profile", { profileId: 345 });
logger.warn("Rate limit reached", { endpoint: "/api/data" });
logger.error("Payment failed", { orderId: "order_123" });
logger.fatal("Connection pool exhausted", { activeConnections: 100 });

Related skills

Forks & variants (1)

Sentry has 1 known copy in the catalog totaling 10 installs. They canonicalize to this original listing.

DevOps & CI/CDmonitoringsupport

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.