Agent skill

Sentry Issue Fix Loop

by tixl3d in tixl3d/tixl

Walks through open Sentry issues for the tooll3 project, latest first, proposing a fix for each and committing them one at a time with your review between.

MITAuto-check: notesDevelopment

Install Sentry Issue Fix Loop

skills CLI
$ npx skills add tixl3d/tixl --skill sentry-fix -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tixl3d/tixl sentry-fix --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tixl3d/tixl.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/sentry-fix .claude/skills/sentry-fix && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sentry-fix
GitHub stars
5.1k
Token cost
~2.1k tokens
SKILL.md length
1,182 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Walks through open Sentry issues for the tooll3 project, latest first, proposing a fix for each and committing them one at a time with your review between.

  • Works in 2 steps: list open issues → per-issue loop
  • Working through the open Sentry backlog for tooll3
  • SKILL.md covers Prerequisites — check before…, Step 1 — list open issues, Step 2 — per-issue loop and Won't-fix items (Archive…, plus 2 more sections
  • Calls git and dotnet; needs SENTRY_AUTH_TOKEN

What it does

Before anything else the agent checks that SENTRY_AUTH_TOKEN is set in .env and that Scripts/sentry-issues.ps1 exists. The token needs both event:read and event:write scopes, since write is used to mark issues resolved at hand-off; a 403 on resolve means the token is read-only and has to be recreated, because Sentry does not allow editing scopes afterward. The token is never stored, echoed or printed.

Step one lists open issues through the script, newest lastSeen first, and shows a compact table of short ID, title, level, count and lastSeen. The agent asks you to confirm where to start and never starts automatically, since some issues may be known noise. For each chosen issue it fetches the details, including title, culprit, exception stack frames, tags and runtime context, then maps stack-trace paths back to repo files by stripping the CI build prefix and fixing slashes; Sentry's line numbers match the main branch. The description says each fix is committed separately, and the excerpt is cut off after the mapping step.

When your agent uses it

  • Working through the open Sentry backlog for tooll3
  • Fixing a specific Sentry issue with a reviewed, separate commit
  • Deciding which open Sentry issues are noise and which need a fix
  • Mapping a Sentry stack trace back to files in the repository

Example prompts

  • “Work through the open Sentry issues, latest first.”
  • “Start with the top Sentry issue, map its stack trace to our files and propose a fix.”
  • “Run /sentry-fix and show me the table of open issues before starting on any of them.”

Requirements

  • A Sentry auth token with event:read and event:write scopes in SENTRY_AUTH_TOKEN
  • PowerShell to run Scripts/sentry-issues.ps1

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. list open issues
  2. per-issue loop

What it can do on your machine

Read from SKILL.md and the folder at commit 9ce9691. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • dotnet

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • sentry.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • SENTRY_AUTH_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sentry Issue Fix Loop loads about 2.1k tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 1,182 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:12
    1. **Token present.** Read `.env` at repo root. If `SENTRY_AUTH_TOKEN=` is empty or the file does not exist, stop and te
  • NoteMentions a .env fileSKILL.md:14
    - Copy `.env.example` to `.env` and paste the token in.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from tixl3d/tixl at commit 9ce9691, republished under its MIT licence (© tixl3d). 1,182 words, ~2,137 tokens.

Download SKILL.mdSave it as .claude/skills/sentry-fix/SKILL.md (or your agent's skills folder).
name
sentry-fix
description
Walk through open Sentry issues for tooll3, latest first, proposing a fix and committing each one separately with user review between. Use when the user wants to triage Sentry, fix Sentry issues, work through the Sentry backlog, or invokes /sentry-fix.

sentry-fix

Drive a review-gated loop over open Sentry issues for the tooll/tooll3 project. One commit per issue, user reviews between each.

Prerequisites — check before doing anything else

  1. Token present. Read .env at repo root. If SENTRY_AUTH_TOKEN= is empty or the file does not exist, stop and tell the user:
    • Create a token at https://sentry.io/settings/account/api/auth-tokens/ with both event:read and event:write scopes. event:read covers listing/fetching; event:write is required to mark issues resolved at hand-off.
    • Copy .env.example to .env and paste the token in.
    • Then re-invoke the skill.
  2. Helper script reachable. Confirm Scripts/sentry-issues.ps1 exists. If not, the skill is incomplete — tell the user.

If a -Resolve call returns 403 Forbidden, the token is read-only — tell the user to regenerate it with event:write (Sentry doesn't allow editing scopes after creation).

Do not store the token, do not echo it, do not print it.

Step 1 — list open issues

Run:

powershell
.\Scripts\sentry-issues.ps1 -List -Limit 25

That returns slimmed JSON, latest-lastSeen first. Parse it.

Show the user a compact table — short ID, title, level, count, lastSeen — and ask them to confirm they want to start with #1, or pick a different issue / skip filter. Do not auto-start without a confirm; some issues may be already-known noise.

If the list is empty, say so and stop.

Step 2 — per-issue loop

For the chosen issue:

2a. Fetch details
powershell
.\Scripts\sentry-issues.ps1 -Issue <numericId>

This returns { issue, event }. The interesting bits:

  • issue.title, issue.culprit, issue.metadata
  • event.entries[?type=='exception'].data.values[*].stacktrace.frames — frames with filename, function, lineNo, inApp
  • event.tags — release, environment, os, runtime
  • event.contexts — useful runtime/device context
2b. Map stack frames to repo files

Sentry stack-trace filenames look like D:\a\tixl\tixl\Core\Operator\Symbol.cs (CI build path) or relative like Gui\Windows\SymbolLib\NamespaceTreeNode.cs. To resolve:

  • Strip the CI prefix (D:\a\tixl\tixl\) — what remains is repo-relative.
  • Convert \ to / if needed for the Read tool.
  • The lineNo from Sentry is 1-based and lines up with the file in main.

Read the named function plus ~20 lines of surrounding context. Read every inApp: true frame from the top of the stack until you've understood the trigger. Stop reading once you have enough to explain the cause — don't open every frame in the trace.

2c. Analyze and explain

Write a short root-cause statement to the user — 2-4 sentences. State which null reference, which invariant was broken, which input was unexpected. Cite the exact file:line you read. If you genuinely can't determine the cause from the trace (missing context, intermittent timing bug, third-party code), say so and ask if the user wants to skip or annotate the issue in Sentry instead of fixing blind.

2d. Propose the fix

Describe the fix in 1-3 bullets before editing. Mention:

  • What you'll change and where (file:line).
  • Why it's the right level of fix vs. a deeper refactor (defer the refactor unless trivial).
  • Risk: are other call sites affected?

Wait for user "go" / "yes" / "do it" — or pushback. Do not edit without an ack.

2e. Apply

Edit minimally. Follow .agentic/AGENT_INSTRUCTIONS.md rules:

  • No allocations / LINQ in per-frame paths.
  • Match nearby style; CRLF line endings for .cs files unless the file is LF.
  • Don't refactor or "tidy up" surrounding code.
2f. Build the affected project

Identify the project from the changed file's path (Core, Editor, Operators/Lib, etc.) and run:

powershell
dotnet build <project>.csproj

If the build fails, fix the build error before continuing. Do not hand off a broken build for review.

2g. Hand off for review — do not commit

The user commits the change themselves, so they're forced to review every diff before it lands. After the build is green:

  1. Run git status --short and git diff --stat so the user sees what they're reviewing.

  2. Draft a suggested commit message in a fenced block (don't run git commit). Format:

    <area>: <one-line fix summary>
    
    Fixes Sentry tooll3 issue <SHORT-ID> (<permalink>).
    <2-4 lines: what was happening, what the fix does, any caveats.>

    Examples of <area>: Core, Editor, Operators, Gui. Match the project root the file lives in. Do not include Co-Authored-By unless the user has asked for it project-wide — check git log for the recent convention.

  3. State the next issue from the list (short-ID + title) so the user knows what's queued.

Show full SKILL.md (536 more words)Show less
2h. Pause for the user

Stop and wait. Do not run git commit, git add, or move to the next issue. End the hand-off message with the question:

Resolve Sentry <SHORT-ID> as fixed-in-next-release? Reply next to mark resolved and continue, next nores to continue without resolving, or skip / revert / stop.

User reply mapping:

  • next / yes / continue — first run Scripts\sentry-issues.ps1 -Resolve <numericId> -InNextRelease, then proceed to the next issue (step 2a). Sentry auto-resolves on the next release tag and auto-reopens as a regression if it recurs.
  • next nores / next no — proceed to the next issue without resolving. Use this when the user committed but isn't confident enough to mark resolved (e.g. wants to manually verify first).
  • skip — drop the current next-issue, present the one after. Don't resolve.
  • revert / undo — they've reverted the working-tree edit themselves; re-examine or move on. Don't resolve.
  • stop — end the session. Don't resolve.

If the user only says next without any explicit yes/no on resolution, treat it as the default (next = resolve). If they previously said next nores for some issues, don't assume that sticks for the next one — re-ask each time.

If the user says nothing or asks a question, answer the question and stay paused.

Won't-fix items (Archive instead of Resolve)

Some issues aren't fixable from TiXL's code: driver bugs (DXGI E_NOTIMPL), library version mismatches we don't control, user environment problems (missing .NET runtime on the target machine in a way TiXL can't detect), broken installs we can't recover. For these, mark the issue archived on Sentry instead of resolved-in-next-release:

powershell
.\Scripts\sentry-issues.ps1 -Archive <numericId>

Sentry hides archived issues from the default unresolved view. They auto-reopen if Sentry's "escalation" detector decides the issue has become significant again (e.g. starts hitting a much wider user base). The right surface for "won't fix from our side."

When triaging, propose Archive rather than Resolve for clearly out-of-our-hands cases, and let the user confirm.

Anti-patterns — do not

  • Do not run git commit or git add — the user commits themselves so they're forced to review every diff.
  • Do not batch multiple issues' edits into one set of working-tree changes — fix one, hand off, wait, then start the next.
  • Do not push (git push).
  • Do not resolve an issue on Sentry without the user's explicit next / yes at step 2h. The hand-off question is the trigger; silence is not consent.
  • Do not Resolve an issue we didn't actually fix — that falsely claims a fix landed and will mark it as a regression when it recurs. Use Archive for won't-fix.
  • Do not invent stack-trace lines that aren't in the returned event payload. If a frame says (12 additional frames were not displayed) and you need them, ask the user to open the issue in the Sentry web UI and paste the full trace.
  • Do not use git worktree. The project explicitly forbids worktrees (see .claude/CLAUDE.md).

When to bail

Stop the loop and report up if:

  • The build is broken before you started (unrelated to any Sentry issue).
  • You hit a Sentry API error you can't interpret (the helper script will exit non-zero with a message on stderr).
  • An issue's root cause clearly spans more than one fix (an architectural problem). Say so, suggest a separate plan in .agentic/Plans/, and move on or stop.

© tixl3d, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/sentry-fix of tixl3d/tixl.

Open the folder on GitHubat commit 9ce9691

Compare with similar skills

Sentry Issue Fix Loop next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sentry Issue Fix Loop compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sentry Issue Fix Loop this skilltixl3d/tixl5.1k—~2.1kAutomated safety check: NotesMIT
Triagebot Action Bug Triagewithastro/astro63k—~639Automated safety check: PassCustom licence
Issue TracerZaxbyHub/opencode-swarm490—~4.4kAutomated safety check: PassMIT
Sentrymitsuhiko/agent-stuff3.2k—~1.8kAutomated safety check: PassApache-2.0
LazyCodex Bug Reportercode-yeongyu/oh-my-openagent70k—~3kAutomated safety check: PassCustom licence
Production Error Huntdifferent-ai/openwork24k—~803Automated safety check: PassCustom licence

Similar skills

  • Official

    Takes a bug report for the triagebot-action GitHub Action through reproduction, root-cause diagnosis, an intended-behavior check and a fix attempt.

    63k GitHub stars~639 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Issue Tracer

    ZaxbyHub/opencode-swarm

    Drives a bug report from validation and root-cause tracing through a critic-reviewed plan, an approved minimal fix and a PR-ready closure, never merging without recorded human approval.

    490 GitHub stars~4.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Sentry

    mitsuhiko/agent-stuff

    Fetch and analyze Sentry issues, events, transactions, and logs.

    3.2k GitHub stars~1.8k tokensUpdated 11 days ago
    DevelopmentAuto-check passed
  • LazyCodex Bug Reporter

    code-yeongyu/oh-my-openagent

    Investigates a LazyCodex or Codex CLI defect, decides which GitHub repository owns it, and drafts an evidence-backed issue or pull request with repro steps.

    70k GitHub stars~3k tokensUpdated today
    DevelopmentAuto-check passed
  • Production Error Hunt

    different-ai/openwork

    Traces an opaque production error in an OpenWork build to its cause using local server logs and Sentry, names the regressing PR and files a report.

    24k GitHub stars~803 tokensUpdated today
    DevelopmentAuto-check passed
  • Debug With Sentry

    superset-sh/superset

    Root-cause a production error with Sentry's evidence before touching code — pull the issue, read the stack trace and breadcrumbs, and separate the crash from its trigger.

    15k GitHub stars~828 tokensUpdated today
    DevelopmentAuto-check passed

More from tixl3d/tixl

  • Turns transcribed TiXL tutorial videos into an exhaustive, timestamped list of every operator mention, feeding the documentation editor's deep-link index without touching the wiki or YouTube text.

    5.1k GitHub stars~4k tokensUpdated yesterday
    Auto-check passed
  • Works through the In progress column of the TiXL road-map board unattended, turning simple tickets into git stashes and writing plans for the rest under .agentic/Plans.

    5.1k GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed
  • Fills in empty embedded help text for TiXL's UI topics by distilling the maintainer's own video explanations into short, user-facing doc entries.

    5.1k GitHub stars~952 tokensUpdated yesterday
    Auto-check passed
  • Review a TiXL feature or change set for elegance, naming, robustness (exceptions, null refs, initialization order, threading) and realtime performance…

    5.1k GitHub stars~198 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Sentry Issue Fix Loop

What does Sentry Issue Fix Loop do?

Walks through open Sentry issues for the tooll3 project, latest first, proposing a fix for each and committing them one at a time with your review between. ps1 exists. The token needs both event:read and event:write scopes, since write is used to mark issues resolved at hand-off; a 403 on resolve means the token is read-only and has to be recreated, because Sentry does not allow editing scopes afterward.

When should I use Sentry Issue Fix Loop?

Sentry Issue Fix Loop fits situations like: working through the open Sentry backlog for tooll3; fixing a specific Sentry issue with a reviewed, separate commit; deciding which open Sentry issues are noise and which need a fix; mapping a Sentry stack trace back to files in the repository.

How do I install Sentry Issue Fix Loop in Claude Code?

Run `npx skills add tixl3d/tixl --skill sentry-fix -a claude-code`. Or copy the skill folder (.claude/skills/sentry-fix in tixl3d/tixl) into .claude/skills/sentry-fix in your project. Claude Code loads it when a task matches its description.

How do I install Sentry Issue Fix Loop in Codex?

Run `npx skills add tixl3d/tixl --skill sentry-fix -a codex`. Or copy the skill folder (.claude/skills/sentry-fix in tixl3d/tixl) into .agents/skills/sentry-fix in your project. Codex loads it when a task matches its description.

Can I use Sentry Issue Fix Loop in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tixl3d/tixl --skill sentry-fix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sentry-fix, .gemini/skills/sentry-fix, .github/skills/sentry-fix and .opencode/skills/sentry-fix in your project.

What does Sentry Issue Fix Loop need to run?

Going by SKILL.md and its folder, Sentry Issue Fix Loop needs the command-line tools its instructions call (git and dotnet) and credentials named SENTRY_AUTH_TOKEN. Our summary lists: A Sentry auth token with event:read and event:write scopes in SENTRY_AUTH_TOKEN; PowerShell to run Scripts/sentry-issues.ps1.

Does Sentry Issue Fix Loop access the network?

SKILL.md names 1 domain. As links in the text: sentry.io. This is read from the text; nothing was executed.

Is Sentry Issue Fix Loop safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Sentry Issue Fix Loop use?

Sentry Issue Fix Loop is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sentry Issue Fix Loop use?

About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Sentry Issue Fix Loop?

Skills that share tags, products or a category with Sentry Issue Fix Loop: Triagebot Action Bug Triage (withastro/astro, 63k stars), Issue Tracer (ZaxbyHub/opencode-swarm, 490 stars), Sentry (mitsuhiko/agent-stuff, 3.2k stars) and LazyCodex Bug Reporter (code-yeongyu/oh-my-openagent, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sentry Issue Fix Loop?

tixl3d (a GitHub organization) maintains it in tixl3d/tixl, which has 5,129 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 7, 2026.

Source: tixl3d/tixl on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.