- Home
- Skills
- APIs & Backend
- Watching PR Reviews
Watching PR Reviews
Polls your GitHub PR in the background and handles approvals and new review comments as they arrive
Free
Works with the AI Agents you already use
Watching PR Reviews
Example session with this skill installed
Check PR #42. If there are new review comments, fix the code and push. If it's approved, just let me know. Start a poller if nothing is there yet.
- Read your context and instructions
- Compiled the watching pr reviews
I have checked the status of PR #42 and initialized a background poller.
PR Review Status: PR #42
The poller detected a recent COMMENT event from reviewer-user at 2024-05-20T14:30:00Z.
| Finding | Action Taken | Result |
|---|---|---|
Missing error handling in auth.ts | Code updated to include try/catch block | Fixed in a1b2c3d |
Variable tempData is unused | Removed redundant declaration | Fixed in a1b2c3d |
| "Why did we choose this library?" | Replied: "Selected for native ESM support." | Reply Posted |
Workflow Details:
- Checks:
npm run lintpassed successfully. - Push: Changes pushed to branch
feature/auth-refresh. - Status: New poller started (PID: 88293) watching for updates since commit
a1b2c3d.
Next steps
- Monitor this thread; I will alert you if
reviewer-userresponds to the new push. - If you want to stop the background process, tell me to "stop polling PR 42".
- Verify the reply I posted on the inline thread in GitHub.
Connects securely to your tools. The creator never sees your data.
About this skill
What it does
Open a PR, say "tell me when it's approved" or "handle reviews as they come in", and keep working. A bundled shell script polls the PR in the background and wakes your agent only when something happens.
- Background poller (
scripts/poll-pr.sh) checks reviews, inline comments, and general PR comments since your latest push. It prints a heartbeat line per check and exits onAPPROVED,REVIEW,COMMENT,MERGED, orCLOSED. - Ignores your own activity, so the agent's replies don't re-trigger the poll.
- Review handling loop: the agent checks each finding against the code (including review-bot findings), fixes the real ones, runs your lint/checks, pushes, and restarts the poll.
- Reply etiquette: when code changed, the commit is the answer and no reply is posted. When a finding is wrong, already fixed, or out of scope, the agent posts a one or two sentence reason, naming the commit if it was already fixed.
- Scope control: "notify me" only reports findings. "Handle reviews" lets the agent fix and push within the PR's scope.
- Dead-poller detection: if the heartbeat goes stale, the agent checks the PR directly instead of claiming it is "still waiting".
Requirements
- Authenticated GitHub CLI (
gh),bash, andjq. - An agent that can run background shell tasks (e.g. Claude Code).
Trigger phrases work in English and Korean.
Requires authenticated gh CLI. Poller runs locally in background. Zsh requires bash invocation for the polling script to avoid word-splitting bugs.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 1 month ago
- Free with an Agensi account