/skill-madness:babysitfrom skill-madness
Polls an open PR for review activity, auto-addresses bot/Copilot nits and routine rebases, re-runs the gate until mergeable. Human-in-the-loop on irreversible actions; never auto-merges.
Ships in skill-madness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A configuration of
loop-controller. That skill supplies the loop machinery — primitive selection, the full guardrail stack, state externalization. This skill supplies the three things specific to "keep a PR healthy": the per-pass recipe (it schedulesgit-pr-feedback, it does not re-implement it), the mechanical proof (zero open blocking findings + mergeable), and the HITL boundary that decides what's AFK-safe vs what pauses. Readloop-controllerfor the guardrails; they're inherited, not repeated here.Why
disable-model-invocation: this loop commits, pushes, rebases, and touches a live PR thread on its own, on a clock. It is user-driven — you want to type/loop 5m /babysit(or/babysit), not have Claude silently start tending a PR because a reviewer happened to comment.
| Part | This loop |
|---|---|
| trigger | an open PR of yours with potential review activity; scheduled via /loop 5m /babysit, or an explicit /babysit (optionally a PR number) |
| action | ONE pass: fetch new review findings (Copilot + human) via git-pr-feedback → triage → address one root-cause finding (or rebase if base moved) → re-run the project gate → push → reconcile the PR thread. One change per pass; re-check the whole PR state after |
| proof | the gh PR review/status query returns zero OPEN actionable/blocking comments AND mergeable == "MERGEABLE" (up to date with base, CI green) — default-FAIL: assume findings are unaddressed until the fetch proves otherwise (treat mergeable == "UNKNOWN" as not-yet-proven and re-check) |
| memory | a per-PR fix log (findings addressed, findings deferred + why), git history, and the PR thread itself — all durable across the session-scoped /loop fires |
| stop | zero blocking findings AND mergeable OR poll/iteration cap OR no-progress for 3 rounds (same finding unaddressed 3×) OR budget cap OR an HITL checkpoint is hit |
"Healthy" is not "I replied to the last comment." It is two conditions
observed together from gh: the PR has zero open, actionable, blocking
review comments, and GitHub reports it mergeable (rebased onto base, CI
green). Assume the PR is not healthy until a fresh fetch proves both — that's
the default-FAIL stance, and it's why every pass re-fetches rather than
trusting last pass's verdict. A loop that stops after answering one comment ships
a PR that picked up three new ones and went stale behind a base push.
Name the artifact explicitly: a gh pr view --json mergeable,reviewDecision
plus the open-comments count from git-pr-feedback's fetch (see
references/scheduling.md for the exact query). Both must read clean in the
same pass.
The per-pass work is git-pr-feedback: identify the PR, fetch inline +
issue comments + review summaries (paginated), triage each by author and
category, address what's clear, reply on GitHub. Do not re-document or
re-implement that — invoke it. babysit adds only the loop discipline around it:
one root-cause change per pass, then re-check the whole PR state. If the base
branch moved and the only blocker is staleness, the pass is a routine rebase (not
a finding fix). The full per-pass algorithm and the handoff are in
references/scheduling.md.
Per loop-controller Step 1: this is a watch/poll job — you wait for review
activity to change on a cadence — so the primitive is /loop, the
scheduler, not /goal (which pushes to a finish line). The recipe is the
documented daily driver:
/loop 5m /babysit
/loop is session-scoped, expires after ~3 days, and does not catch up on
missed intervals — those mechanics (and the loop.md self-paced variant) live in
loop-controller's references/primitives.md; don't re-document them. What goes
in loop.md and how to scope the run to one PR are in
references/scheduling.md.
babysit runs only inside the reversible boundary unattended. The irreversible or human-facing actions are HITL checkpoints — never autonomous:
Within the boundary — addressing Copilot/bot nits, routine fast-forward rebases,
re-running the gate, fast-forward pushes — it is AFK-safe. The full AFK-safe vs
pause table is in references/scheduling.md.
Inherits the full stack from loop-controller → references/safety.md. The caps
this loop sets:
/loop's ~3-day session expiry is the outer bound;
set an inner per-PR pass cap (default ~20) so a wedged PR doesn't burn the
whole window. Hitting it is a stop-and-escalate, not a reason to loosen the
proof..claude/profile.yaml when present), not just warns./loop 5m /babysit is the scheduler. The per-pass exit (this pass made one
clean, reversible change and re-checked the PR) is provable from gh output, so a
pass can run under auto mode unattended within the HITL boundary above. The loop
as a whole has no /goal finish line — it watches until you stop it or a stop
condition fires.
This loop runs unattended for days, so the Claude 5 long-run rules are part of
its contract, not inherited ambience (drop-in text: model-adaptation →
references/long-run-hygiene.md):
gh
query output, the gate's exit code, the push result. Never narrate a fix the
re-fetch didn't confirm..claude/profile.yaml); don't surface a remaining-token countdown to
the working pass, and never summarize-and-quit on a phantom context worry.medium/high;
reserve xhigh for a genuinely hard finding (tiering: model-adaptation).references/scheduling.md — the per-pass algorithm and the git-pr-feedback
handoff, the scheduling recipe (/loop 5m /babysit, what to put in loop.md,
scoping to one PR, the exact gh proof query), and the HITL boundary table
(what's AFK-safe vs what pauses).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ivy00johns/skill-madness --plugin skill-madness87 skills in this plugin
/accessibility-auditAudit and fix web accessibility against WCAG 2.2 AA, Section 508 and the ADA: axe scan, keyboard, screen-reader and zoom checks, plain-language content and PDFs, source fixes, and an honest conformance report (ACR/VPAT draft). Use for any a11y review, fix or compliance question. Trigger on "accessibility audit", "is this ADA compliant", "Section 508", "WCAG", "VPAT", "a11y"./andonRun work through a live Andon board (the kanban that dispatches cards to Claude Code, Codex and Gemini on your machines): push a plan's cards with the skills each run must load, read the board, answer what needs you, administer a machine, and refresh this skill when Andon changes. Trigger on "/andon", "put this plan on andon", "what needs me on andon", "why isn't my card running".
/architecture-rescueFind deepening opportunities in a codebase (shallow modules, missing seams, leaky abstractions) and present them as numbered candidates for a grilling session before any interface is proposed. Use when the code feels tangled or hard to test. Trigger on "improve architecture", "rescue this codebase", "find refactoring opportunities", "ball of mud", "shallow modules"./artifact-publishPublish a visual or interactive result as a Claude Code Artifact: a self-contained HTML or Markdown page on a private, shareable claude.ai link instead of a local file. Use when a dashboard, report, chart, diagram or prototype reads better as a page. Not the claude.ai design canvas (claude-design-brief). Trigger on "publish this as an artifact", "make a shareable link", "give me a link to this"./backend-agentBuild API servers, business logic and data layers against authored contracts. Use in native orchestrator dispatch or explicitly requested solo backend implementation; load it when the orchestrator assigns this role or the user asks for it./cavemanUltra-compressed reply mode: cuts response tokens about 75% by dropping articles, filler and hedging while keeping code, errors and paths exact. Persists until "stop caveman" or "normal mode". Trigger on "caveman mode", "talk like caveman", "less tokens", "be terse", "/caveman".Other plugins' skills for the same job