Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/claude/review.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,19 @@ writing anything, read your own earlier automated summaries in `gh pr view --com
was checked and nothing changed, and no inline comments.
- If the maintainer or the author answered a finding and the answer holds, drop it.

## Tools

Only these shell commands are allowed, and each must run ALONE: no pipes, no `&&` / `;`, no
`$(...)`, no `cat` / `head` / `grep` in the shell (use the Read and Grep tools on the working tree
instead). Anything else is denied and wastes a turn.

- `gh pr diff <N>` and `gh pr view <N> --comments`
- `git show <HEAD SHA>:<path>` and `git ls-tree -r --name-only <HEAD SHA> <dir>`
- `gh pr comment <N> --body-file - <<'EOF'` followed by the body and `EOF`, for the summary

Inline comments go through `mcp__github_inline_comment__create_inline_comment` with
`confirmed: true`.

## Output

1. **Inline comments** (`mcp__github_inline_comment__create_inline_comment`) for findings tied to a
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/claude-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:
checked out: read the PR's version of a file with `git show <HEAD SHA>:<path>` and list
its files with `git ls-tree -r --name-only <HEAD SHA> <dir>`. Get the diff with
`gh pr diff`, the description and discussion with `gh pr view --comments`.
Shell commands must follow the "Tools" section of review.md exactly (one command,
no pipes, no command substitution). Finish by posting the summary comment.
claude_args: |
--model claude-opus-5-5
--max-turns 80
Expand Down
Loading