agentleFS
rakaarwakyrakaarwaky/agents-arwaky/skills/git/pr-babysit/SKILL.md

pr-babysit

Skill0 starsChanged 4 days agoMITView on GitHub

Watch a GitHub PR end to end. Two lanes: Hermes orchestrates and ships; Grok Build fixes. Run Step R0 to identify the lane, then read only that lane's references.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    Read only the winning lane's references.

    line 31
  2. Distinctive:

    Read only the winning lane's references:

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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 Babysitter

Watch a standalone GitHub PR end to end: register it, keep it green, merge it when --ship is active. The pipeline is event-driven — CI re-runs and new review threads each trigger a fresh pass.

Global Rules

This file is the lane identification step only. The lane is determined from physical signals, in this order. Each is observable without asking the agent to name itself. Each agent's launcher stamps a fixed attribution env var into every command it runs. The model cannot set these; only the launcher can.

if [[ -n "${HERMES_AGENT:-}" ]]; then echo HERMES
elif [[ -n "${GROK_AGENT:-}" ]]; then echo GROK
else echo UNSET; fi
  • HERMES → Hermes lane. Stop.
  • GROK → Grok lane. Stop.
  • UNSET → stop and report. Do not guess the lane.

Marker provenance:

  • Hermes re-exports AI_AGENT=hermes-agent and HERMES_AGENT=true on every command.
  • Grok Build runs with GROK_AGENT=1.

Read only the winning lane's references. Do not read the other lane's.

Routing

Read only the winning lane's references:

Hermes lane

StepReferencePurpose
0references/hermes/step-0-watch-and-spawn.mdVerify auth, fetch PR, register in the watchlist, check CI once; if red or open threads, spawn a Grok worktree on the head branch and drop the fix brief
1references/hermes/step-1-wait-and-reverify.mdWait for the fix pass; re-run the CI check on the live head SHA; update last_status
2references/hermes/step-2-merge.mdMerge (only when ship is true and the ship-ready gates pass on a live re-query); retire the worktree
3references/hermes/step-3-final-report.mdFinal report to the user (fix passes, outcome, open items, watchlist state)

Grok lane

StepReferenceWhen it runs
0references/grok/step-0-add-pr.mdPR details, repo, head/base refs for the pass
1references/grok/step-1-watch-ci.mdAlways, at the start of the pass
2references/grok/step-2-auto-fix.mdCI reports a red check; loops back to step 1 after each push. Commit title grammar: Conventional Commits inline
3references/grok/step-3-decision-tree.mdAfter each step 2 push and always before declaring the PR green; CI logs ambiguous → references/grok/step-3-troubleshoot.md
4references/grok/step-4-merge.mdShip-ready gate checks; Grok reports merge-ready (Hermes performs the merge)

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.