ci: add Claude PR review agent - #380
Merged
Merged
Conversation
A PR comment that mentions @claude-pr-review runs the pr-reviewer agent (.claude/agents/pr-reviewer.md) through anthropics/claude-code-action. Only comments from thomaspinder trigger it, because the run is billed to a personal Claude subscription. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Summary
A PR comment that mentions
@claude-pr-reviewruns a Claude reviewer agent on that PR. The agent follows the existing PR Review Policy inAGENTS.mdand the procedure and output format in.claude/commands/pr-review.md. Text after the mention reaches the agent as extra instructions, for example@claude-pr-review focus on the identification code.Notes:
.claude/from the PR's base branch before Claude starts. A PR cannot change the instructions of its own reviewer, and changes to the agent or to/pr-reviewtake effect after merge.CLAUDE_CODE_OAUTH_TOKENsecret. The first run needs the Claude GitHub App on this repo and that secret.Evidence
prek run --files .claude/agents/pr-reviewer.md .github/workflows/claude-pr-review.yml: all hooks pass (check yaml, end-of-file, trailing whitespace).Merge Danger
Door: two-way
Delete the two files to revert.
Blast Radius: isolated
The workflow runs only on PR comments that mention
@claude-pr-reviewand come from thomaspinder. No library code, test, docs or release workflow changes. Each run uses Claude subscription quota.🤖 Generated with Claude Code