
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 sentryAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 178 |
|---|---|
| repo stars | ★ 356 |
| Last updated | March 25, 2026 |
| Repository | brianlovin/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
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-sidesentry.server.config.ts- Server-sidesentry.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.
- brianlovin - 10 installs