
Sentry Pr Code Review
- 465 installs
- 20 repo stars
- Updated March 24, 2026
- getsentry/sentry-agent-skills
This is a copy of sentry-pr-code-review by getsentry - installs and ranking accrue to the original listing.
sentry-pr-code-review is a Sentry agent skill that reviews pull requests with Sentry-aware checks for missing instrumentation, bad error handling, and regressions that would blind production monitoring.
About
sentry-pr-code-review is an Apache-2.0 skill from getsentry/sentry-agent-skills for reviewing and fixing issues flagged by Seer Bug Prediction in GitHub pull request comments. It activates when a developer asks to review Sentry comments, fix Sentry issues on a PR, address Sentry review findings, or locate PRs with unresolved Sentry feedback. The workflow expects the gh CLI for GitHub access and focuses on observability gaps—missing instrumentation, weak error handling, and monitoring regressions—that standard lint passes miss. Developers reach for sentry-pr-code-review when Sentry or Seer has already commented on a PR and those findings need triage, resolution, or batch discovery across recent pull requests.
- Sentry-focused PR review
- Catches missing error capture
- Flags bad exception handling
- Release-risk observability checks
- Aligns diffs with SDK best practices
Sentry Pr Code Review by the numbers
- 465 all-time installs (skills.sh)
- Data as of Jul 24, 2026 (Skillselion catalog sync)
npx skills add https://github.com/getsentry/sentry-agent-skills --skill sentry-pr-code-reviewAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 465 |
|---|---|
| repo stars | ★ 20 |
| Last updated | March 24, 2026 |
| Repository | getsentry/sentry-agent-skills ↗ |
How do you fix Sentry Seer comments on a PR?
Review pull requests with Sentry-aware checks for missing instrumentation, bad error handling, and regressions that would blind production monitoring.
Who is it for?
Developers using Sentry with GitHub who need to triage or fix Seer Bug Prediction feedback on active pull requests.
Skip if: Repositories without Sentry integration or teams seeking generic style-only reviews unrelated to observability.
When should I use this skill?
A user shares a PR with Sentry or Seer comments, asks to fix Sentry review findings, or wants PRs with unresolved Sentry feedback.
What you get
Resolved Sentry PR comments, improved error instrumentation, and a list of PRs with open Seer findings.
- Fixed PR diffs
- Resolved Sentry comment threads
By the numbers
- Published under Apache-2.0 license in getsentry/sentry-agent-skills
Files
Sentry Code Review
Review and fix issues identified by Seer (by Sentry) in GitHub PR comments.
Invoke This Skill When
- User asks to "review Sentry comments" or "fix Sentry issues" on a PR
- User shares a PR URL/number and mentions Sentry or Seer feedback
- User asks to "address Sentry review" or "resolve Sentry findings"
- User wants to find PRs with unresolved Sentry comments
Prerequisites
ghCLI installed and authenticated- Repository has the Seer by Sentry GitHub App installed
Important: The comment format parsed below is based on Seer's current output. This is not an API contract and may change. Always verify the actual comment structure.
Phase 1: Fetch Seer Comments
gh api repos/{owner}/{repo}/pulls/{PR_NUMBER}/comments --paginate \
--jq '.[] | select(.user.login == "seer-by-sentry[bot]") | {file: .path, line: .line, body: .body}'The bot login is `seer-by-sentry[bot]` — not sentry[bot] or sentry-io[bot].
If no PR number is given, find recent PRs with Seer comments:
gh pr list --state open --json number,title --limit 20 | \
jq -r '.[].number' | while read pr; do
count=$(gh api "repos/{owner}/{repo}/pulls/$pr/comments" --paginate \
--jq '[.[] | select(.user.login == "seer-by-sentry[bot]")] | length')
[ "$count" -gt 0 ] && echo "PR #$pr: $count Seer comments"
donePhase 2: Parse Each Comment
Extract from the markdown body:
- Bug description: Line starting with
**Bug:** - Severity/Confidence: In
<sub>Severity: X | Confidence: X.XX</sub> - Analysis: Inside
<summary>🔍 <b>Detailed Analysis</b></summary>block - Suggested Fix: Inside
<summary>💡 <b>Suggested Fix</b></summary>block - AI Prompt: Inside
<summary>🤖 <b>Prompt for AI Agent</b></summary>block
Phase 3: Verify & Fix
For each issue: 1. Read the file at the specified line 2. Confirm issue still exists in current code (not already fixed in a later commit) 3. Review surrounding code to assess if it's an actual issue or false positive 4. Implement fix (use suggested fix as starting point, or write your own) 5. Consider edge cases and regression risk
Phase 4: Summarize and Report Results
## Seer Review: PR #[number]
### Resolved
| File:Line | Issue | Severity | Fix Applied |
|-----------|-------|----------|-------------|
| path:123 | desc | HIGH | what done |
### Skipped (false positive or already fixed)
| File:Line | Issue | Reason |
|-----------|-------|--------|
**Summary:** X resolved, Y skippedSeer Review Triggers
| Trigger | When |
|---|---|
| PR set to "Ready for Review" | Automatic error prediction |
| Commit pushed while PR is ready | Re-runs prediction |
@sentry review comment | Manual trigger for full review + suggestions |
| Draft PR | Skipped — no review until marked ready |
Troubleshooting
| Issue | Solution |
|---|---|
| No Seer comments found | Verify the Seer GitHub App is installed on the repo |
| Bot name mismatch | The login is seer-by-sentry[bot], not sentry[bot] |
| Comments not appearing on new PRs | PR must be "Ready for Review" (not draft) |
gh api returns partial results | Ensure --paginate flag is included |
Common Issue Types
| Category | Examples |
|---|---|
| Type Safety | Missing null checks, unsafe type assertions |
| Error Handling | Swallowed errors, missing boundaries |
| Validation | Permissive inputs, missing sanitization |
| Config | Missing env vars, incorrect paths |
Related skills
How it compares
Pick this over generic code review skills when Sentry or Seer has already posted observability-specific findings on GitHub PRs.
FAQ
What triggers sentry-pr-code-review?
sentry-pr-code-review triggers when a developer asks to review Sentry comments, fix Sentry issues on a PR, address Sentry review findings, or find PRs with unresolved Seer feedback on GitHub.
What CLI does sentry-pr-code-review require?
sentry-pr-code-review expects the gh CLI to access GitHub pull requests, comments, and Seer Bug Prediction feedback tied to Sentry instrumentation reviews.