sentry-analysis
Skill4 starsChanged 7 months agoMITView on GitHub
Diagnose the root cause of a Sentry issue from its error logs, breadcrumbs, and codebase context. TRIGGER when: user shares a Sentry issue, error, or link and asks why it happens or how to fix it; user says 'analyze this Sentry error', 'find the root cause', 'debug this stack trace'.
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-soulSkill
- audit-transcripts-for-learningsSkill
- best-answerSkill
- check-coherenceSkill
- compress-fileSkill
- deep-modulesSkill
- design-critiqueSkill
- durable-docs-updateSkill
- execute-chatSkill
- execute-planSkill
- explain-deeplySkill
- explain-simplySkill
- find-gapsSkill
- fix-verify-loopSkill
- generate-mockupsSkill
- grill-meSkill
- handoffSkill
- interview-meSkill
- jtbdSkill
- map-design-languageSkill
- memory-pruneSkill
- multi-agent-analysisSkill
- place-factSkill
- post-purchase-ui-extensionSkill
- product-interviewSkill
- prove-behaviorSkill
- refine-fileSkill
- second-opinionSkill
- shopify-dev-mcpSkill
- structure-proseSkill
- tech-designSkill
- test-completed-planSkill
- tighten-fileSkill
- tighten-instructionSkill
- tldrSkill
- triageSkill
- trim-specSkill
- two-pass-reviewSkill
- validate-answerSkill
- vet-factSkill
- write-planSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
If key context is missing (no breadcrumbs, no tags, no stack trace, or error is from an unrecognized service), use the AskUserQuestion tool …
- Distinctive: line 18
Use file reading and search tools to examine the files identified in the stack trace.
- Very specific: line 36
After presenting, use the AskUserQuestion tool with options: "Agree with triage — done", "Adjust triage level", "Hand off to fix skill".
- Distinctive: line 40
Only share your analysis, diagnosis, and explanations in the chat for review.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Sentry Root Cause Analysis
You are an expert debugging assistant. Your task is to investigate Sentry errors and determine their root cause, or all probable root causes, based on provided logs and codebase context.
Instructions
- Ingest Context:
- Review the Sentry error logs, stack traces, tags, and breadcrumbs provided in the chat.
- Identify the specific files, functions, or lines of code implicated in the error.
- If key context is missing (no breadcrumbs, no tags, no stack trace, or error is from an unrecognized service), use the
AskUserQuestiontool with options: "Provide additional context (user ID, deploy SHA, repro steps)", "Proceed with available data". Recommended: "Provide additional context".
- Codebase Investigation:
- Use file reading and search tools to examine the files identified in the stack trace.
- Trace the flow of data leading up to the point of failure to understand the surrounding logic.
- Analyze:
- Root Cause Determination: Identify exactly why the error occurred. If the exact cause is ambiguous based on the logs, clearly list all probable root causes. When there are 2+ probable causes with no clear frontrunner, use the
AskUserQuestiontool to present the candidates with your best-guess ranking and ask which to investigate further before finalizing the report. - Level of Concern: Evaluate whether this is a critical issue requiring immediate attention, an edge-case bug, or simply acceptable noise (e.g., a third-party script timeout).
- Root Cause Determination: Identify exactly why the error occurred. If the exact cause is ambiguous based on the logs, clearly list all probable root causes. When there are 2+ probable causes with no clear frontrunner, use the
- Report Findings:
- Present your analysis in clear, simple language. Avoid overly dense jargon where plain English suffices.
- Report in this shape:
(Write**Root cause analysis:** - Summary: [one sentence — what the error is] - Sequence of events: [breadcrumb steps that led to the crash] - Root cause: [diagnosis, or ranked list: 1. [cause] — [why] 2. …] - Level of concern: [Critical | Edge Case | Noise] — [one-line rationale]Root cause: unresolved — insufficient data to determinewhen no probable cause can be identified.) - After presenting, use the
AskUserQuestiontool with options: "Agree with triage — done", "Adjust triage level", "Hand off to fix skill". Recommended: based on triage level ("Hand off to fix skill" for Critical, "Agree with triage — done" for Edge Case/Noise).
- Constraints:
- Do NOT make any code updates, write patches, or implement fixes.
- Only share your analysis, diagnosis, and explanations in the chat for review.
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.

