sentry
Skill15 starsChanged 42 days agoMITView on GitHub
Expert Sentry error monitoring assistance covering exception tracking, performance tracing, source maps, releases, and breadcrumbs. Use when monitoring production errors and diagnosing stack traces.
- Reads credentials
34 other projects use a version of this.
Adopted by
Most recently taken up by
- arfar-x/agent-skillstheir own version, first seen Nov 8, 2026
- Kangentic/kangentictheir own version, first seen Nov 7, 2026
- sgtlaugh/skillstheir own version, first seen Nov 1, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
- STIFLEUR390/agent-skillstheir own version, first seen Oct 16, 2026
- ivanrvpereira/.agentstheir own version, first seen Oct 13, 2026
Used with
Projects with it also use ghidra, openscad and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
mitsuhikoSkillghidra
Reverse engineer binaries using Ghidra's headless analyzer. Decompile executables, extract functions, strings, symbols, and analyze call graphs without GUI.
Also in 3 projects that use this
mitsuhikoSkillopenscad
Create and render OpenSCAD 3D models. Generate preview images from multiple angles, extract customizable parameters, validate syntax, and export STL files for 3D printing platforms like MakerWorld.
Also in 3 projects that use this
digitalocean-labsSkillpostgres
Configure DigitalOcean Managed Postgres with bindable variables or schema isolation. Use when setting up databases, creating users, managing permissions, configuring multi-tenant schemas, or troubleshooting database connectivity on App Platform.
Also in 3 projects that use this
- +2 more from mitsuhiko
Other versions34 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 34
- openai/skills★ 27ksame name
- anthropics/claude-quickstarts★ 19ksame name
- openai/plugins★ 7.8ksame name
- Expensify/App★ 5.1ksame name
- mitsuhiko/agent-commands★ 3.2ksame name
- mitsuhiko/agent-stuff★ 3.2ksame name
- chrisdoc/hevy-mcp★ 535same name
- wnzzer/rank-analysis★ 471same name
- getsentry/junior★ 409same name
- JetBrains/skills★ 386same name
24 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository350 other files it gives its agents.
- airflowSkill
- catboostSkill
- claudeSkill
- comfyuiSkill
- cursor-aiSkill
- dalleSkill
- daskSkill
- dbtSkill
- deepseekSkill
- fastaiSkill
- geminiSkill
- github-copilotSkill
- huggingfaceSkill
- jaxSkill
- jupyterSkill
- kerasSkill
- langchainSkill
- lightgbmSkill
- llamaindexSkill
- llamaSkill
- matplotlibSkill
- midjourneySkill
- mistralSkill
- mlflowSkill
- nltkSkill
- numpySkill
- ollamaSkill
- openai-gptSkill
- opencvSkill
- pandasSkill
- perplexitySkill
- plotlySkill
- polarsSkill
- pytorchSkill
- raySkill
- scikit-learnSkill
- seabornSkill
- spacySkill
- sparkSkill
- stable-diffusionSkill
- tensorflowSkill
- vaexSkill
- weights-biasesSkill
- whisperSkill
- xgboostSkill
- api-gatewaySkill
- clean-architectureSkill
- cqrsSkill
- domain-driven-designSkill
- event-drivenSkill
- event-sourcingSkill
- graphqlSkill
- grpcSkill
- hexagonalSkill
- microservicesSkill
- modular-monolithSkill
- monolithSkill
- rest-apiSkill
- sagaSkill
- serverlessSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 32 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 145
Leave DSN keys exposed in public repositories without domain restriction rules.
“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Sentry
Sentry provides real-time application performance monitoring, distributed tracing, and code-level error diagnostics across frontend, backend, and mobile stacks.
When to Use
- Real-Time Application Error Monitoring: Capturing unhandled exceptions, stack traces, and runtime errors in production.
- End-to-End Performance Tracing: Measuring transaction durations, database queries, and distributed trace spans.
- Source Map Processing & De-Minification: Translating minified production bundle errors back to original TypeScript source lines.
- Session Replay & User Crash Feedback: Watching user sessions to reproduce difficult-to-catch client-side bugs.
Quick Start
import * as Sentry from "@sentry/node";
Sentry.init({
dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",
tracesSampleRate: 1.0,
});
try {
myFunction();
} catch (e) {
Sentry.captureException(e);
}Core Concepts
Node.js / Next.js SDK Initialization with Performance Tracing
Instrumenting application with trace sampling and error capture:
import * as Sentry from "@sentry/node";
Sentry.init({
dsn: process.env.SENTRY_DSN,
environment: process.env.NODE_ENV || "production",
release: "api-service@2026.1.0",
tracesSampleRate: 0.1, // Sample 10% of transactions for performance metrics
// Filter sensitive data before transmitting to Sentry
beforeSend(event, hint) {
if (event.request?.headers) {
delete event.request.headers["authorization"];
delete event.request.headers["cookie"];
}
return event;
},
});Manual Error Capture with Custom Context
Enriching errors with user context and custom tags:
import * as Sentry from "@sentry/node";
async function processPayment(userId: string, amountCents: number) {
try {
// Simulated payment logic
throw new Error("Payment gateway rejected authorization token");
} catch (error) {
Sentry.withScope((scope) => {
scope.setUser({ id: userId });
scope.setTag("payment.provider", "stripe");
scope.setExtra("amount_cents", amountCents);
scope.setLevel("error");
Sentry.captureException(error);
});
throw error;
}
}Custom Performance Spans
Measuring execution duration of critical code blocks:
import * as Sentry from "@sentry/node";
async function calculateRiskScore(orderId: string): Promise<number> {
return await Sentry.startSpan(
{ name: "calculateRiskScore", op: "fraud.evaluation" },
async (span) => {
span.setAttribute("order_id", orderId);
// Run intensive risk calculation
return 0.95;
},
);
}Common Patterns
Node.js / Express Error Middleware with User Context
Problem: Production exceptions logged without user session context or breadcrumb history.
Solution: Configure Sentry tracing and request isolation:
import * as Sentry from "@sentry/node";
Sentry.init({
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 0.2, // Capture 20% of transactions
environment: process.env.NODE_ENV,
});
// Attach user context in auth middleware
app.use((req, res, next) => {
if (req.user) {
Sentry.setUser({ id: req.user.id, email: req.user.email });
}
next();
});
// Sentry error handler must be before any other error middleware
Sentry.setupExpressErrorHandler(app);Best Practices
Do:
- Configure
releasetags to correlate error occurrences with specific Git commits and deployments. - Upload source maps during CI/CD using
@sentry/clito get clear TypeScript line numbers in stack traces. - Sanitize sensitive PII, credit card numbers, and authorization headers in
beforeSend. - Tune
tracesSampleRatein high-throughput environments to prevent excessive ingestion costs.
Don't:
- Leave DSN keys exposed in public repositories without domain restriction rules.
- Catch exceptions silently without logging or passing to
Sentry.captureException(). - Log high-frequency expected user validation errors (e.g. invalid form fields) as Sentry exceptions.
Troubleshooting
| Error | Cause | Solution |
Source maps not showing in stack traces | Source maps not uploaded during build or release version mismatch. | Upload source maps via @sentry/webpack-plugin with identical release tag. |
Sentry DSN not capturing events | DSN variable missing in production runtime or rate limit exceeded. | Verify SENTRY_DSN is set and inspect Sentry Organization Stats for quota spikes. |
Transactions flooded / quota exhausted | tracesSampleRate set to 1.0 (100%) on high-traffic production endpoints. | Reduce tracesSampleRate to 0.05 - 0.2 (5% - 20%). |
References
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

