pr-watch-as-reviewer
Skill11 starsChanged 4 months agoMITView on GitHub
Use for watching and approving reviewed PRs only on explicit request. Approves when feedback settles.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- create-team-skillSkill
- version-bumpSkill
- agent-promptSkill
- audit-complexitySkill
- audit-testsSkill
- code-reviewSkill
- eng-design-doc-reviewSkill
- groom-backlogSkill
- howSkill
- no-commentsSkill
- paparazziSkill
- pr-cleanupSkill
- principle-fix-root-causesSkill
- pr-open-commentsSkill
- proveSkill
- pr-rebaseSkill
- pr-screenshotsSkill
- pr-watch-as-authorSkill
- retroSkill
- shipitSkill
- team-designSkill
- team-fixSkill
- team-implementSkill
- team-planSkill
- team-prSkill
- team-questionSkill
- team-researchSkill
- teamSkill
- team-structureSkill
- team-worktreeSkill
- whySkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Before each consuming step, read its linked shared rules from this installed skill directory.
- Distinctive: line 12
If a required read fails, stop that step with the exact path.
- Distinctive: line 42
Read each reference completely when reaching that stage.
- Distinctive: line 56
Read and apply: execution rules and independent review rules.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
pr-watch-as-reviewer — reviewer-side watch-and-approve loop
Before each consuming step, read its linked shared rules from this installed skill directory. If a required read fails, stop that step with the exact path. Never use checkout fallback or recursive loading.
pr-watch-as-reviewer is the reviewer-side mirror of
pr-watch-as-author. You post
review comments on a PR you are reviewing, then arm the skill. It polls
until every piece of feedback you left is settled, re-reviews each
settlement on substance as it lands, and only when every settlement
passes casts gh pr review --approve on your behalf and stops. Model
invocation is disabled (disable-model-invocation: true): on a PR with
auto-merge enabled, an approval can transitively trigger an irreversible
merge, so only a deliberate human invocation arms the watch.
agents/openai.yaml restates the same guard for Codex as
policy.allow_implicit_invocation: false.
Feedback comes in three disjoint shapes, and the watch tracks all three:
- a review thread — an inline comment anchored to a diff line, with a resolved/unresolved bit.
- a plain PR comment — a top-level conversation comment, with no resolution bit at all.
- a review summary — the body submitted with a review, separate from that review's inline comments and also without a resolution bit.
The approval body discloses how many approved items were of each shape, so a reader can see which evidence the approval rested on. Every verdict is published where the author will see it. Silence is not an answer.
Procedure references
Read each reference completely when reaching that stage. Follow them in order; later stages depend on state and gates established earlier.
- Hard rules
- Input
- 1. Arm
- 2. Tracked set and gate
- 3. Bounded cycle mechanics
- 4. Poll
- 5. Stop conditions
- 6. Approve
- Compaction defense
Applied principles
Read and apply: execution rules and independent review rules.
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.

