Fix Sentry Issues logo

Fix Sentry Issues

Community
brianlovin
fix-sentry-issues

Use Sentry MCP to discover, triage, and fix production issues with root-cause analysis. Use when asked to fix Sentry issues, triage production errors, investigate error spikes, or clean up Sentry noise. Requires Sentry MCP server. Triggers on "fix sentry", "triage errors", "production bugs", "sentry issues".

Overview

Publisherbrianlovin
Repositoryagent-config
Skill namefix-sentry-issues
Stars
370
Forks
31
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by brianlovin on GitHub. Read the source before you install it.

Installation

Install the Fix Sentry Issues AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/brianlovin/agent-config.git /tmp/agent-config
mkdir -p .claude/skills
cp -r /tmp/agent-config/skills/fix-sentry-issues .claude/skills/fix-sentry-issues
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Fix Sentry Issues in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Fix Sentry Issues on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Fix Sentry Issues is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Fix Sentry Issues

Philosophy

The Sentry error is not the problem. It's a signal.

Your goal is not to close the Sentry issue. Your goal is to discover the root cause, understand what's wrong with the application, and fix the underlying defect. Closing the Sentry issue is a side effect of doing that correctly.

Ask "Why does this fail?" — not "How do I make Sentry quiet?" Never treat log level changes as fixes. A fallback path means degraded user experience; trace why the primary path fails and fix it upstream.

Anti-patterns (do not do these)

  • Batch-classifying as "expected" without investigation. Seeing a fallback does NOT mean you understand the failure. Trace the full input path.
  • Treating "has a fallback" as "not a problem." Why does the primary path fail? Can we prevent it upstream?
  • Combining multiple issues into one PR. Each has its own root cause. Fix individually (except when investigation proves identical cause).
  • Throwing away error details. Never remove error from catch (error) or strip status codes. That data is how you understand failures.
  • Deciding the fix during triage. Classify as "Investigate" or "Ignore" only. You don't know the fix until investigation is complete.

Log level downgrade is valid ONLY for genuinely expected states (e.g., optional column missing, resource deleted) — NOT for failures with fallbacks.

Phase 1: Discover & Triage

Use Sentry MCP (ToolSearch first to load tools): find_organizationsfind_projectssearch_issues with naturalLanguageQuery: "all unresolved issues sorted by events".

Build a triage table. Action = Investigate or Ignore only:

IDTitleEventsActionReason
PROJ-AError in save14InvestigateUser-facing save failure
PROJ-BGM_register...3IgnoreGreasemonkey extension

Investigate: multiple events, degraded user experience, high-volume warnings, recurring on every run. Ignore: browser extension code, ChunkLoadError (self-resolving), single-event transients, already fixed.

Apply: mcp__sentry__update_issue(..., status: "ignored") or status: "resolved" for already-fixed.

Phase 2: Investigate (one issue at a time)

Work through these steps in order. Do not skip or batch issues.

  1. Pull event-level data — Issue summaries hide details. Use get_issue_details and search_issue_events with naturalLanguageQuery: "all events with extra data". Extract: URLs, params, stack traces, status codes, timestamps.

  2. Cross-reference Axiom — Events have traceId. axiom query "['shiori-events'] | where traceId == '<traceId>'" -f json for surrounding context (authMethod, client_version, request metadata).

  3. Read the failing code path — Follow the stack trace. Read every file. Understand before proposing changes.

  4. Trace the input path upstream (most often skipped, most important) — What data reaches the failing function? Should it have reached this path at all? Is there a missing filter? Is the input wrong (binary URL, redirect, bad format)? Can we prevent bad inputs upstream?

  5. Reproduce — Use actual failing inputs from Sentry. Call the function with exact data. fetch() the URLs that timed out. Verify your understanding.

  6. Identify root cause — Why does this input fail? Why does it reach this path? What's the right fix? (e.g., "Filter binary URLs before Firecrawl" — not "suppress the log")

PatternReal Fix
External API fails on certain URLsFilter/validate inputs before sending
TimeoutInvestigate what's slow; adjust timeout or input size
DB "invalid json"Sanitize before insert
Stale reference on cronDetect staleness, auto-clean

Phase 3: Fix

One branch per issue. git checkout main && git pull && git checkout -b fix/<descriptive-name>

  • Tests first — Use data from actual Sentry events. Test fails before fix, passes after.
  • Implement — Fix the root cause, not the symptom. If the fix is primarily a log level change, STOP: did you investigate why it fails, or just suppress?
  • Verify — Tests pass, lint passes, fix handles actual failing inputs.
  • PR — Include Root cause (upstream reason) and Fix (what changed and why it prevents the failure). Resolve in Sentry only after merge.

Frequently asked questions

What does the Fix Sentry Issues AI skill do?

Use Sentry MCP to discover, triage, and fix production issues with root-cause analysis. Use when asked to fix Sentry issues, triage production errors, investigate error spikes, or clean up Sentry noise. Requires Sentry MCP server. Triggers on "fix sentry", "triage errors", "production bugs", "sentry issues".

Why use Fix Sentry Issues on TypingMind?

Because you install it once and use it with any model. Fix Sentry Issues is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Fix Sentry Issues in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/brianlovin/agent-config/tree/main/skills/fix-sentry-issues. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Fix Sentry Issues?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Fix Sentry Issues?

As many as you like. As long as a model supports skills, you can use Fix Sentry Issues with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Fix Sentry Issues AI skill free?

It is published on GitHub by brianlovin. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇