agentleFS
bostonaholicbostonaholic/team/skills/pr-watch-as-reviewer/SKILL.md

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.

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
  1. Distinctive:

    Before each consuming step, read its linked shared rules from this installed skill directory.

    line 11
  2. Distinctive:

    If a required read fails, stop that step with the exact path.

    line 12
  3. Distinctive:

    Read each reference completely when reaching that stage.

    line 42
  4. Distinctive:

    Read and apply: execution rules and independent review rules.

    line 56

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

  1. Hard rules
  2. Input
  3. 1. Arm
  4. 2. Tracked set and gate
  5. 3. Bounded cycle mechanics
  6. 4. Poll
  7. 5. Stop conditions
  8. 6. Approve
  9. Compaction defense

Applied principles

Read and apply: execution rules and independent review rules.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.