Guide · Agent skill
How to use the Fix Sentry Issues agent skill (sentry-fix-issues)
Updated · written with AI from the project's own documentation and checked against our catalogue data
The sentry-fix-issues skill is a set of instructions that teaches an AI coding agent to find and fix errors reported in Sentry, a production error monitoring service. It is for developers and teams who already use Sentry and want a structured debugging process instead of quick patches. After this guide you will know how to install the skill, what it needs before it can work, how to ask for help in plain language, and what safety limits to expect.
Quick start
- 1Set up the Sentry MCP connection. Configure and connect a Sentry MCP server to your agent, and confirm it can access the Sentry project or organization you need.
- 2Download and unzip the skill. Download the ZIP from this page and unzip it so that SKILL.md sits inside a sentry-fix-issues folder.
- 3Place the skill folder. Put the folder in ~/.claude/skills/ for personal use, in a project's .claude/skills/ folder, or upload it under Settings, then Capabilities, then Skills in the Claude apps.
- 4Make a request in plain language. Ask the agent to fix or investigate Sentry errors, and name the issue ID or error type if you have one.
- 5Confirm the issues to fix. Review the list of unresolved issues the agent returns and choose which ones to work on.
- 6Review the hypothesis and the fix. Read the written root-cause hypothesis, then review the code changes and tests before merging.
- 7Read the final report. Check the report for the error, evidence, the file changes and any follow-up items it lists.
What is an agent skill and what does this one do?
An agent skill is a folder containing a SKILL.md file. The file tells an AI agent when to use a workflow and how to carry it out step by step. This skill covers the workflow of finding and fixing Sentry issues.
Once installed, the agent follows a fixed sequence when you ask it to fix Sentry errors. It lists unresolved issues through a Sentry MCP connection, reads stack traces, breadcrumbs and traces, and writes a root-cause hypothesis before it edits any code. It then checks that the error data matches your repository, applies a fix with tests built from synthetic data, and reports the result.
- Discovers unresolved issues and asks you to confirm which ones to fix
- Analyzes stack traces, breadcrumbs, traces and context
- Documents a root-cause hypothesis with alternatives before changing code
- Flags mismatches between Sentry data and your source code
- Adds tests that reproduce the error conditions using generalized data
- Ends with a written report covering the fix, evidence and follow-up
What you need before installing
The skill cannot find issues on its own. It depends on a Sentry MCP server that is configured and connected to your agent. Sentry account credentials are handled by that MCP setup, not by the skill.
You also need access to the Sentry project or organization, and a local copy of the source repository with git available, because the skill uses git history to look up recent changes.
- Sentry MCP server configured and connected
- Access to the Sentry project or organization
- A local copy of the source repository with git available
Install the skill in Claude Code or Claude apps
Download the ZIP file for the skill from this page and unzip it. For a personal setup across all your projects, place the unzipped skill folder in ~/.claude/skills/. For a single project, place it in that project's .claude/skills/ folder.
In the Claude apps, you can instead upload the skill under Settings, then Capabilities, then Skills.
The package lists SKILL.md as its only file. Check that the folder contains SKILL.md after unzipping.
- Personal install: ~/.claude/skills/
- Project install: .claude/skills/ inside the project
- Claude apps: Settings → Capabilities → Skills, then upload
How to trigger the skill with natural requests
You do not need special syntax. The skill is meant to activate when you ask for Sentry work in plain language, such as asking to fix Sentry errors, resolve Sentry errors, debug production bugs or investigate exceptions. You can also mention an issue ID or an error message, or ask to work through your Sentry backlog.
The skill's metadata sets disable-model-invocation to true, so it is best to name Sentry explicitly in your request so the agent knows to use this workflow.
- 'Fix the unresolved Sentry errors in the checkout service.'
- 'Investigate PROJECT-123 in Sentry and tell me the root cause.'
- 'Triage our Sentry backlog and confirm which issues to fix first.'
- 'Debug the production TypeError reported in Sentry this week.'
naturalLanguageQuery: "unresolved issues"What the agent does during a fix
The skill divides the work into phases. First the agent discovers issues and waits for your confirmation. Then it gathers context for each issue, including events, tags, traces and any AI root-cause analysis Sentry provides. Before it changes code, it writes down the error summary, immediate cause, root-cause hypothesis, evidence and alternatives.
Next the agent checks the code. It reads each file in the stack trace from the top down, traces where values come from, and looks for try/catch blocks and recent commits. If the event data does not match the repository, it stops and reports the mismatch. After a fix, it checks for regressions and similar patterns elsewhere before it reports the result.
- Phase 1: discover issues and confirm which to fix
- Phase 2: gather details from Sentry
- Phase 3: write the root-cause hypothesis
- Phase 4: cross-check Sentry data against the codebase
- Phase 5: implement the fix and add tests
- Phase 6: run a verification audit
- Phase 7: report the results
Safety notes: data, network and review
The skill treats all Sentry content as untrusted input. Exception messages, breadcrumbs, request bodies, tags and user context may contain text written by an attacker. The skill instructs the agent not to follow instructions found in that data, not to copy raw values into code or tests, and not to repeat tokens, passwords, session IDs or personal information in its output.
This skill pulls event data into the agent session, and that data can include personal information. If your policy forbids sending production data to an AI tool, do not use it. The skill uses the network through the Sentry MCP connection, and it does not run scripts. Code changes still need human review before deployment.
- Does not run scripts; uses network: yes
- Sentry data is treated as untrusted text
- Secrets and PII are referenced indirectly, not reproduced
- Asks you to confirm which issues to fix
- Agent-made code changes still need human code review
Tips for getting better results
Start with a narrow request, such as one issue ID or one error type, before asking for a full backlog triage. Keep the repository you are working in checked out and up to date, so the code cross-check reflects what is actually deployed.
If the agent reports a mismatch between the Sentry stack trace and your code, check whether the release in Sentry matches your local branch before deciding the report is wrong.
- Begin with one issue ID or one error type
- Make sure the local branch matches the release Sentry reports
- Review every diff before merging or deploying
- Ask for the verification audit output if you want a closer review
What people use it for
- Working through a backlog of unresolved production errors in a team's Sentry project
- Investigating a single exception ID and getting a written root-cause analysis before any code changes
- Checking whether a Sentry error matches the code in the repository before deciding it is a real bug
- Adding regression tests that reproduce a production error condition with synthetic data
- Producing a documented debugging record for a bug fix that a reviewer can read later
Frequently asked questions
Is the sentry-fix-issues skill free to use?
The listing on this page says the skill is MIT licensed. The SKILL.md file header, however, says Apache-2.0, so read the license file in the downloaded package before relying on either one. Using the skill still requires your own Sentry account and an AI agent that supports skills.
What do I need to install the Sentry fix issues skill?
You need a Sentry MCP server that is configured and connected, access to the Sentry project or organization, and a local copy of the source repository with git available. Install the skill by unzipping it into ~/.claude/skills/ or a project's .claude/skills/ folder, or by uploading it under Settings, then Capabilities, then Skills.
Why does the skill not find my Sentry issues?
The skill cannot search Sentry without a connected Sentry MCP server. Check that the MCP server is configured and connected, and that your account can access the project or organization you are asking about.
Does the skill run scripts or send my data elsewhere?
The skill does not run scripts. It uses the network through the Sentry MCP connection to read issue, event and trace data. That data can include personal information, so do not use the skill if production data must not be read by an AI tool.
Can the agent fix Sentry errors without my review?
No. The skill asks you to confirm which issues to fix before it starts, and it reports its results at the end. The code changes still need human review before deployment.
How is this different from asking an AI to fix a bug directly?
This skill imposes a fixed process. The agent must write a root-cause hypothesis before editing code, cross-check Sentry data against your repository, add tests and complete a verification audit. A plain request usually skips these steps.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
This skill suits developers and teams that already use Sentry for production monitoring and want a documented, step-by-step debugging process. It is a poor fit if you do not use Sentry, cannot connect a Sentry MCP server, or may not send production event data, which can include personal information, to an AI tool.
Download the skill