Skip to content
Merged
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
31 changes: 17 additions & 14 deletions .github/workflows/claude-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
pull-requests: write
issues: read
id-token: write

Expand All @@ -37,19 +37,22 @@ jobs:
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
prompt: |
REPO: ${{ github.repository }}
PR NUMBER: ${{ github.event.pull_request.number }}

Please review this pull request and provide feedback on:
- Code quality and best practices
- Potential bugs or issues
- Performance considerations
- Security concerns
- Test coverage

Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback.

Use `gh pr comment` with your Bash tool to leave your review as a comment on the PR.
Review this PR thoroughly. Follow CLAUDE.md for project conventions.

## Review Focus
1. **Bugs & Logic Errors** - Identify actual problems, not style nitpicks
2. **Security** - Auth issues, injection vulnerabilities, data exposure
3. **Performance** - N+1 queries, unnecessary re-renders, memory leaks
4. **Breaking Changes** - API changes, schema migrations, config changes

## Guidelines
- Be concise and actionable
- Praise good patterns briefly, focus on issues
- Suggest specific fixes, not vague improvements
- Skip trivial formatting/style comments
- If the PR looks good, say so briefly

Post your review using `gh pr comment`.

# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
# or https://code.claude.com/docs/en/cli-reference for available options
Expand Down