← スキル一覧に戻る

sentry-pr-code-review
by getsentry
⭐ 4🍴 0📅 2026年1月23日
SKILL.md
name: sentry-pr-code-review description: Review a project's PRs to check for issues detected in code review by Seer Bug Prediction. Use when asked to review or fix issues identified by Sentry in PR comments, or to find recent PRs with Sentry feedback.
Sentry Code Review
Review and fix issues identified by Sentry bot 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 feedback
- User asks to "address Sentry review" or "resolve Sentry findings"
- User wants to find PRs with unresolved Sentry comments
Workflow
Phase 1: Fetch Sentry Comments
gh api repos/{owner}/{repo}/pulls/{PR_NUMBER}/comments \
--jq '.[] | select(.user.login | startswith("sentry")) | {file: .path, line: .line, body: .body}'
Only process comments from sentry[bot] - ignore other bots.
Phase 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:
- Read the file at the specified line
- Confirm issue still exists in current code
- Review related code to understand if its an actual issue or not
- Implement fix (suggested or your own)
- Consider edge cases
Phase 4: Summarize and Report Results
## Sentry Review: PR #[number]
### Resolved
| File:Line | Issue | Severity | Fix Applied |
|-----------|-------|----------|-------------|
| path:123 | desc | HIGH | what done |
### Manual Review Required
| File:Line | Issue | Reason |
|-----------|-------|--------|
**Summary:** X resolved, Y need manual review
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 |
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です
