sentry-code-review

Parse Sentry comments in GitHub PRs and generate targeted fixes.

246|29|Updated Nov 10, 2025
One-click install
npx skills add https://github.com/getsentry/sentry-for-claude --skill sentry-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-code-review
Source: https://github.com/getsentry/sentry-for-claude/tree/main/skills/sentry-code-review
Command: npx skills add https://github.com/getsentry/sentry-for-claude --skill sentry-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the review of GitHub Pull Requests by analyzing and resolving Sentry feedback comments, reducing manual review time and ensuring consistent resolutions.

Core Features & Use Cases

  • Sentry Comment Parsing: Interprets line-specific feedback from PR comments to identify exact targets.
  • Automated Fixes: Applies or suggests code changes based on Sentry feedback and PR context.
  • Resolution Reports: Generates a structured summary of issues addressed and remaining actions.

Quick Start

Use the skill to review a PR with Sentry feedback and generate a concrete fix plan and a concise resolution summary.

Frequently Asked Questions about sentry-code-review

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

FAQPage Schema
How do I automate code review for Sentry issues in GitHub pull requests?

Automate code review by parsing Sentry feedback comments in PRs, identifying exact file paths and line numbers, then generating targeted fixes. The Skill handles comment parsing, issue validation, and fix generation automatically, reducing manual review time while ensuring consistent resolution of reported bugs.

Can I automatically fix bugs flagged by Sentry in my GitHub PRs?

Yes. The Skill analyzes Sentry comments attached to PRs, extracts bug severity and suggested fixes, maps issues to precise code locations, and applies or recommends concrete code changes. It generates structured summaries of all addressed issues and remaining actions for downstream automation.

What information does the Skill extract from Sentry PR comments?

The Skill parses standardized Sentry comment structure including bug description, severity level, confidence score, detailed analysis, suggested fix, and AI agent prompt. It maps each issue to exact file paths and line numbers, then validates issues against PR code context before generating fixes.

How does the Skill identify which issues to fix in a PR with multiple Sentry comments?

The Skill accepts a PR by number or automatically discovers recent PRs containing Sentry feedback. It then fetches all comments, parses each Sentry-formatted body, analyzes code context to validate issue severity and relevance, and prioritizes fixes based on confidence and severity metadata.

What output does the Skill produce after reviewing a PR?

The Skill produces a structured resolution report summarizing all issues addressed, applied or suggested code changes, and remaining actions. It also generates agent prompts for downstream automation, enabling continuous integration of bug fixes into your workflow.

Does this work with pull requests that don't have Sentry comments yet?

No. The Skill requires existing Sentry feedback comments in the PR. It parses and resolves issues already reported by Sentry; it does not perform independent bug detection or code analysis without Sentry input.