Repository navigation
ci: add Claude PR review agent - #807
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 <[email protected]>
|
📖 Docs preview: https://pr-807--endearing-crepe-c2d5fe.netlify.app Smoke render — the expensive notebooks run with reduced budgets, so |
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. Text after the mention reaches the agent as extra instructions, for example@claude-pr-review focus on the kernel changes.The agent checks the
AGENTS.mdrules that ruff cannot:val()on every parameter read, no newparamax.unwrap(model)in objectives,jit/vmap/gradcompatibility and dtype promotion, jaxtyping annotations, regression tests for bug fixes, warning-free tests, andpy:percentnotebooks.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 take effect after merge.CLAUDE_CODE_OAUTH_TOKENsecret. The first run needs the Claude GitHub App on this repo and that secret.zizmor.ymlconventions:permissions: {}at workflow level, actions pinned by SHA,persist-credentials: false.Evidence
uv run --frozen --only-group dev zizmor --format sarif .github/workflows/claude-pr-review.yml: 0 results (thezizmor.ymlgate).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 package code, test, docs or release workflow changes. Each run uses Claude subscription quota.🤖 Generated with Claude Code