feat(seer-review): Add AI code review skill using Sentry CLI [PoC]#21
Draft
szokeasaurusrex wants to merge 4 commits intomainfrom
Draft
feat(seer-review): Add AI code review skill using Sentry CLI [PoC]#21szokeasaurusrex wants to merge 4 commits intomainfrom
szokeasaurusrex wants to merge 4 commits intomainfrom
Conversation
Add new seer-review skill that invokes `sentry-cli review` to get AI-powered code review feedback on local changes before creating a PR. Features: - Invokes sentry-cli review to analyze HEAD vs HEAD~1 - Supports SENTRY_CLI_PATH env var override for testing - Provides instructions for processing predictions and auto-fixing Co-Authored-By: Claude <noreply@anthropic.com>
- Rename get-sentry-cli.sh to run-review.sh and execute review directly - Add allowed-tools for full workflow support (Task, AskUserQuestion, etc.) - Add skeptical evaluation workflow for Seer comments: - Spawn Plan sub-agents to evaluate each comment against user context - Present results to user with AskUserQuestion - Plan and implement fixes for accepted issues - Re-run review in a loop until done - Update error handling (auth token URL, CLI upgrade instructions) - Emphasize that Seer's confidence/severity ratings should not be blindly trusted when agent context suggests otherwise Co-Authored-By: Claude <noreply@anthropic.com>
- Add SUMMARY field to Plan sub-agent output format for concise issue descriptions - Update Step 4 with two-phase presentation: 1. Print raw Seer output with reference numbers (emphasizing it's uninterpreted) 2. Use AskUserQuestion with sub-agent summaries citing issue numbers - Summaries must be standalone so users can decide without reading full output Co-Authored-By: Claude <noreply@anthropic.com>
Make the SUMMARY output format instructions more explicit about distinguishing Seer's concern from the agent's assessment. Co-Authored-By: Claude <noreply@anthropic.com>
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.
Caution
This PR is a Proof of Concept and is NOT intended to be merged.
It demonstrates the feasibility of integrating Sentry's Seer AI code review into the agent skill workflow.
Summary
seer-reviewskill that invokessentry-cli reviewfor AI-powered code reviewSENTRY_CLI_PATHenv var override for testing with dev buildsFeatures
sentry-cli reviewto analyze HEAD vs HEAD~1 diffTesting
Then invoke via
/seer-reviewor ask Claude to "review my commit with sentry".Related
🤖 Generated with Claude Code