/ozeron-skills:babysitfrom ozeron-skills
Babysit a PR to merge-ready. Use when asked to babysit, ship, or land a PR, get its CI green, address or resolve review comments, or fix its merge conflicts.
Ships in ozeron-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Drive the PR to merge-ready: checks green, mergeable, zero unresolved threads. Each pass clears one blocker with the smallest fix, then waits.
S=~/.claude/skills/babysit/scripts. $S/pr-state.sh <pr> prints one JSON snapshot; .next names the blocker.
.mode from the first snapshot decides what you may write:
own: commit fixes, push, reply and resolve threads.review (someone else's PR): GitHub comments only. Threaded replies plus one gh pr comment with findings; threads stay open for the author.History is append-only: commit on top and merge the base in.
Snapshot, act on .next, repeat:
.next | Action |
|---|---|
conflicts | git merge origin/<base>; resolve keeping both sides' intent. Intents clash → git merge --abort and ask. |
ci | Per .checks.failing: gh run view <run> --log-failed. Caused by this PR → smallest fix, narrowest test first. Otherwise merge the base in once; still red → report it as out of scope. CI config stays as is. |
threads | Threads. |
update | Merge the base in. |
wait | Wait. |
ready | Own draft, otherwise done: gh pr ready <pr> so review bots run, then wait. |
done | Exit. |
merged, closed | Report and stop. |
A pass ends on a push followed by a wait, or on done.
$S/fetch-threads.sh <pr> lists unresolved threads; read each body, path and line, nothing else. Bots can also leave findings in a review body ("outside diff range", nitpicks); read the latest bot review on the head. Check every bot finding against the code before acting on it.
Close each thread once its fix is on the remote (git ls-remote origin <branch> shows the fix SHA), or once you decline it with a reason:
$S/respond.sh <pr> <rootCommentId> <threadId> resolve "<what changed> (<sha>)"
Use noresolve and ask when it needs a product call, the code can't answer it, or the fix couldn't be verified. Review mode always uses noresolve. Over ~20 threads, offer bulk mode.
Before every push, snapshot and read .scope (it counts unpushed commits). growth over ~200 lines, or newFiles outside the PR's area → stop and ask. Once the user approves, $S/pr-state.sh <pr> --rebaseline.
Start $S/wait.sh <pr> with the Monitor tool (timeout_ms: 1800000; re-arm on expiry). It waits for checks to register and settle, then prints one snapshot line. Every wait goes through it.
done also needs the review bots' pass on the latest head: botsPending empty, their new threads handled, and a review or summary from each bot. Comment-only bots (Codex) never appear in botsPending. A green bot check can hide a skipped or paused review; report a paused or rate-limited bot instead of waiting on it.
gh pr comment mapping each handled thread to its fixing SHA or decline reason, plus the head SHA, threads: 0 and .review (a human approval is the one gate left to them). Then PushNotification: PR #<n> merge-ready at <sha>.When this skill, a script, or a repo doc misleads you, append to ~/.agent-feedback/<repo>/<branch with / as _>.md (the repo's AGENTS.md "Feedback scratchpad" format if present): ### <date> · <what> · blocked|slowed|wrong, then Hit:, Workaround:, Fix:.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ozeron/skills --plugin ozeron-skills21 skills in this plugin
/codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./code-reviewReview the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X"./deslopRemove AI-generated code slop and clean up code styleOther plugins' skills for the same job