sentry-code-review

Analyze and resolve Sentry bot review comments on GitHub pull requests.

Updated Jan 1, 2026
One-click install
npx skills add https://github.com/sarkarshivaditya-lab/WellMate --skill sentry-code-review-sarkarshivaditya-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-code-review
Source: https://github.com/sarkarshivaditya-lab/WellMate/tree/main/.engineering-skills/troykelly-claude-skills/external/skills/sentry-code-review
Command: npx skills add https://github.com/sarkarshivaditya-lab/WellMate --skill sentry-code-review-sarkarshivaditya-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Sentry posts automated bug reports as line-level review comments on GitHub pull requests, and manually triaging, verifying, and fixing each one is repetitive and error-prone. This Skill automates fetching, parsing, verifying, and fixing those Sentry-identified issues. ## Core Features & Use Cases - Sentry Comment Retrieval: Fetches PR review comments via the GitHub API and filters only those from the Sentry bot, ignoring other bots like cursor[bot]. - Structured Comment Parsing: Extracts bug description, severity, confidence score, detailed analysis, suggested fix, and the AI agent prompt from Sentry's HTML details blocks. - Verified Fix Implementation: Reads the flagged file and line, confirms the issue still exists, applies a targeted fix, and produces a summary report of resolved and manually-reviewed issues. - Use Case: A teammate asks you to address Sentry feedback on PR #142. The Skill pulls all Sentry comments, fixes a missing null check and an un-rethrown error, then reports which issues were resolved and which need human judgment. ## Quick Start Review and fix all Sentry bot comments on pull request number 142 in this repository.

Frequently Asked Questions about sentry-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Sentry bot comments on a GitHub pull request?

Fetch the PR review comments with the GitHub API, filter for authors starting with "sentry", then read each flagged file and line to verify the issue. Apply the suggested fix from the comment's details block and summarize resolved versus manually-reviewed items.

How to fetch Sentry review comments using the GitHub API?

Use gh api repos/{owner}/{repo}/pulls/<PR_NUMBER>/comments with a jq filter selecting comments whose user login starts with "sentry". This returns the author, file path, line number, and body for each Sentry comment.

What information does a Sentry PR review comment contain?

Each comment includes the file path, line number, a bug description header, severity and confidence scores, plus collapsible sections for detailed analysis, a suggested fix, and a prompt intended for an AI agent.

Does this handle comments from other bots like cursor[bot]?

No, only comments from users whose login starts with "sentry" are processed. Comments from cursor[bot] and other automation bots are explicitly ignored during parsing.

What types of issues does Sentry flag in pull requests?

Common categories include missing null checks causing TypeErrors, errors caught but not re-thrown, overly permissive input validation, build configuration gaps, and missing environment variables or dependencies.