Summary
Monitor the authenticated GitHub user for incoming pull request review requests and automatically set up Claude Code sessions to perform code reviews.
Problem
When someone requests your review on a GitHub PR, you have to manually clone/checkout the repo, read through the changes, and write review comments. Crow could automate this workflow.
Proposed Solution
PR Review Monitoring
- Poll or webhook-listen for PRs where the current GitHub user has been requested as a reviewer
- Display pending review requests in the Crow UI (possibly in the tickets/sessions area)
Automatic Review Session Setup
When a review request is detected:
- Clone the repo into a dedicated review directory:
{devRoot}/crow-reviews/{repo-name}/
- Check out the correct branch for the PR
- Create a Crow session for the review
- Launch a Claude Code session with a code review skill
Code Review Skill
Create a new skill (e.g., /review-pr) that:
- Reads the PR diff and description
- Understands the context of the changes
- Provides a thorough code review
- Posts review comments back to the GitHub PR
Implementation Phases
Phase 1: Manual trigger — user clicks a button to review a specific PR
Phase 2: Automatic detection — poll GitHub API for review requests
Phase 3: Full automation — auto-clone, auto-session, auto-review with user approval gate
Notes
- The
crow-reviews folder keeps review clones separate from active development worktrees
- Should clean up review clones after the PR is merged/closed
- Consider rate limiting and notification preferences
- Need to handle the case where the user already has the repo cloned elsewhere
Summary
Monitor the authenticated GitHub user for incoming pull request review requests and automatically set up Claude Code sessions to perform code reviews.
Problem
When someone requests your review on a GitHub PR, you have to manually clone/checkout the repo, read through the changes, and write review comments. Crow could automate this workflow.
Proposed Solution
PR Review Monitoring
Automatic Review Session Setup
When a review request is detected:
{devRoot}/crow-reviews/{repo-name}/Code Review Skill
Create a new skill (e.g.,
/review-pr) that:Implementation Phases
Phase 1: Manual trigger — user clicks a button to review a specific PR
Phase 2: Automatic detection — poll GitHub API for review requests
Phase 3: Full automation — auto-clone, auto-session, auto-review with user approval gate
Notes
crow-reviewsfolder keeps review clones separate from active development worktrees