Skip to content
Muhammet Şafak
tr
Cover — a terminal reading 'Fix proposed as sentryfixer_output.diff' and 'Regression test created in tests/test_fix.py', the diff open beside it, a violet SentryFixer keycap
AI-assisted development Stable Release candidate

SentryFixer: reading a Sentry error against the code and drafting the fix

A Claude Code skill that reads a Sentry issue against the working tree and proposes a fix as a diff and a regression test, touching no file until approved.

What it does today

Reads a Sentry issue against the working tree, produces a root-cause analysis and a fix plan, and touches no file without explicit approval. Anyone using Claude Code who needs to triage a production error can install the skill.

Started
July 2026 — Ongoing

Form

Open source

Technologies

Python Bash Sentry API sentry-cli MCP Claude Code

The gap between error monitoring and the fix always sits in the same place: Sentry tells you what blew up, but working out how that line looks today, whether the code path changed since the error, and what a fix might break is still on you. SentryFixer is the Claude Code skill I wrote to automate that middle step.

Four steps from event to fix plan

Given a Sentry issue, the skill runs through:

  1. Compressing 50–300 KB of event data into a redacted summary.
  2. Mapping stack trace frames onto the real source files in the working tree.
  3. Checking freshness — whether the failing code changed since the error fired.
  4. Reasoning about the root cause and proposing a concrete fix with tests.

The strict part comes last: no file changes until the plan is approved. No automatic commits, no git operations beyond read-only history. Once approved, the diff is applied, the tests run, and the result is reported as-is.

Narrow dependencies, hard approval gate

The dependency surface is deliberately narrow: Python 3.8+ with the standard library only, plus curl/bash. There are three ways into Sentry — the API directly, sentry-cli or the Sentry MCP server — whichever is available. MIT licensed, repository public.

Two decisions sit at the centre of the design. First, context compression: raw event data never goes to the model as-is; it is reduced to the frames that matter, and personal data is redacted at that step. Second, the approval gate: the skill’s write access stays shut until someone reads the plan and says go.

The limit of the freshness check

The open question on the bench: freshness currently checks whether the file changed. What I actually want is a verdict on how much the diff between the error’s commit and today’s code touches the root cause. That is the next round.

Tags: #ai#debugging#automation
Share:
Expertise: Python Developer

More Records

All records

A provider-agnostic Go CLI that has a model review my diff without the diff leaving the machine; it became CommitBrief.

What it does today

Reviews code locally, with the diff never leaving the machine; the `Provider` interface lets Anthropic, OpenAI, Gemini and Ollama plug into one contract. Signed binaries are published — anyone who does not want to hand their diff to a cloud provider can install it.

Open source Go Cobra go-git +4 more
January 2026 — April 2026

A content pipeline that screens software and AI news locally with Ollama, hands survivors to larger models, and publishes Turkish and English syntheses.

What it does today

Filters software and AI news through a local Ollama pass and hands the upper layers to the larger models, then writes and publishes the TR/EN synthesis on its own; the web and App Store builds are live. Anyone who wants their daily developer news in one feed can read it.

Web app Mobile app TypeScript Node.js Prisma +8 more
June 2026 — Ongoing

A frozen JSON envelope in place of language-specific serialization; it became BabelQueue, a polyglot queue standard.

What it does today

The frozen JSON envelope has four languages — PHP, Python, Go, Node.js — reading the same bytes, with no sidecar and no broker plugin. Teams running a polyglot queue can pick up the spec and the SDKs today.

Open source JSON Redis RabbitMQ +4 more
March 2026 — June 2026

Search the site

Start typing to search posts, projects and pages.

Esc to close Powered by Pagefind