watch-pr
Skill2 starsChanged 8 days agoMITView on GitHub
Own a pull request through CI and review, or write attributed GitHub PR comments. Use when asked to watch, babysit, or own a PR, or when posting a PR comment or reply.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- antithesishq/antithesis-plugintheir own version, first seen Nov 29, 2026
- sherifabdlnaby/skillstheir own version, first seen Nov 29, 2026
- spencerldixon/skillstheir own version, first seen Nov 8, 2026
- fitlab-ai/agent-infratheir own version, first seen Oct 27, 2026
- tbhb/vale-ai-tellstheir own version, first seen Oct 11, 2026
- s3s-project/s3stheir own version, first seen Oct 8, 2026
Used with
Projects with it also use commit.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- meta-pytorch/OpenEnv★ 2.9ksame name
- huggingface/OpenEnv★ 2.9ksame name
- parawanderer/OpenTagViewer★ 497same name
- s3s-project/s3s★ 319same name
- ayutaz/piper-plus★ 240same name
- tbhb/vale-ai-tells★ 118same name
- fitlab-ai/agent-infra★ 88same name
- samsantosb/ship-it★ 37same name
- antithesishq/antithesis-plugin★ 25same name
- sherifabdlnaby/skills★ 9same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- design-handoffSkill
- interviewSkill
- make-verifySkill
- managerSkill
- orchestratorSkill
- retroSkill
- reviewerSkill
- setup-zanuar-stackSkill
- workerSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Read the new state: gh pr checks <pr>, gh pr view <pr> --comments, review threads.
- Distinctive: line 28
Failed check: read the log, trace the failure to its cause, fix on the branch (through the worker if one is still open), and push.
- Distinctive: line 35
Stop when required checks are green and no threads are open, or when you need the owner.
- Distinctive: line 37
Only the session that owns the PR watches it.
- Distinctive: line 41
Start agent-written comments and replies with this attribution, including inline review comments.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Watch PR
Waiting, without polling yourself
GitHub can't reach this machine without a public endpoint, so something has to poll. Let one cheap local process do it and sleep until it mails you:
python3 "$watch_pr_dir/pr_watch.py" & # watch_pr_dir is the directory containing this skill- It watches every ticket in the db that has a
pr_urland is neitherdonenorcanceled, one machine-wide process for all repos (lock file next totickets.db). In lite mode, usegh pr checks <n> --watchand inspect PR comments withgh pr view <n> --comments. - Each tick is one
gh api graphqlcall for all PRs (about 1 point of the 5000/hour GraphQL budget). 30s while checks are pending or a PR changed in the last 10 min, backing off to 5 min when idle; it sleeps until reset if the rate limit runs low, and exits when no open PR is left. - On a change it sends one message to the ticket's
manager_dispatch: subjectPR <repo>#<n>: <events>, body the PR URL and current facts. Events:ci_passed,ci_failed,conflicted,changes requested,new review,new comment,new commits by <someone else>,merged,closed. Repos without CI only get the non-CI events. - Save the active manager dispatch on each ticket before starting the watcher. Refresh it from the new task preamble whenever a follow-up wakes the manager. Senders must also update changed dispatch IDs as described in the Orca adapter.
python3 pr_watch.py --self-testchecks the diff logic with no network.- Your own PR comments also wake you once; ignore those.
Optional, with Orca Cloud: an Orca automation on the PR's github.* events that messages your session does the same job without the local process. Remove it when the PR is ready.
Without Orca: one blocking gh pr checks <pr> --watch in the background, re-run after each event.
On each wake-up
- Read the new state:
gh pr checks <pr>,gh pr view <pr> --comments, review threads. - Failed check: read the log, trace the failure to its cause, fix on the branch (through the worker if one is still open), and push. After 2 failed attempts, escalate with what you tried.
- Review comment (human or bot): fix real issues and explain any feedback you decline. Follow Writing PR comments.
- Conflict: rebase or merge the base into the branch, re-run verify, push.
- ci_passed: confirm the live PR head has been reviewed and verify required checks and review threads on that head. Apply the manager skill's merge approval rule to the live target branch, or report the PR ready for approval.
- merged / closed: set the ticket
done(orblockedif closed unmerged) and report.
Stop
Stop when required checks are green and no threads are open, or when you need the owner. The watcher stops on its own once no open PR remains. Report: PR link, check state, what you changed.
Only the session that owns the PR watches it; delegated helpers don't.
Writing PR comments
Start agent-written comments and replies with this attribution, including inline review comments. Use the reported model or fall back to the harness name. Preserve text the owner asks you to post verbatim.
> [!NOTE]
> 🤖 **<model or harness> replying for <owner>**
The actual comment.Lead with the conclusion and cite the code, check or reproduction. Distinguish verified facts from judgment. Scan the comment and attachments for private details, preview the Markdown, and confirm the comment URL after posting. Resolve a thread only after the reply posts.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

