chore: add Sentry triage and fix automation skills [skip size]#4870
Draft
andresmr wants to merge 8 commits into
Draft
chore: add Sentry triage and fix automation skills [skip size]#4870andresmr wants to merge 8 commits into
andresmr wants to merge 8 commits into
Conversation
* Add `sentry-triage` skill to prioritize production issues based on impact and effort scoring. * Add `sentry-fix` skill to automate root cause diagnosis, fix implementation, and unit testing for Sentry issues. * Update `AGENTS.md` with documentation and guidelines for using the new Sentry-related workflows.
… PRs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… body Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…nstructions to skills The sentry@claude-plugins-official plugin should be installed per-user in ~/.claude/settings.json, not committed to the repo. Both skills now detect when the plugin is missing and guide the user to install it locally. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…d AGENTS.md Org slug, project slug, and Sentry subdomain are now resolved dynamically at runtime via find_organizations + find_projects, keeping the skills portable and free of org-specific identifiers in the repo. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
xavimolloy
approved these changes
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two Claude Code skills that automate Sentry error triage and remediation for the
dhis2-android-captureproject.The Sentry MCP plugin is not enabled at project level — each developer installs it locally in their own
~/.claude/settings.json. Both skills detect when the plugin is missing and guide the user through the local install./sentry-triage— Prioritized issue reportFetches the top unresolved issues for the latest production release and scores each one on Impact (1–5) and Effort (1–5), producing a quadrant report:
How to use:
The report includes a ready-to-run
/sentry-fix <issue-id>command for each issue./sentry-fix <issue-id>— Automated fix workflowGiven a Sentry issue ID (from the triage report or directly), the skill:
AGENTS.mdguidelines (KMP placement, no RxJava in new code, ktlint style)ktlintFormat,ktlintCheck, and the relevant test taskmain/developdirectly)Fixes <SENTRY-SHORT-ID>— triggers Sentry's GitHub auto-linkingHow to use:
Installing the Sentry plugin locally
Add the following to
~/.claude/settings.json(user-level, not committed to the repo):{ "enabledPlugins": { "sentry@claude-plugins-official": true } }Or via
/config→ Extensions → Plugins → Sentry.Files changed
.claude/skills/sentry-triage/SKILL.md— triage skill definition.claude/skills/sentry-fix/SKILL.md— fix skill definition🤖 Generated with Claude Code