From pstack
Monitor an open PR, fix CI failures, address clear review comments, and keep it merge-ready. Claude Code analog of Cursor's built-in /babysit. Use after opening a PR when the user wants the agent to keep driving it without re-prompts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pstack:babysitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Claude Code analog of Cursor's built-in `/babysit`. The implementation is a loop over `gh` CLI plus the Claude Code `loop` skill for pacing.
Claude Code analog of Cursor's built-in /babysit. The implementation is a loop over gh CLI plus the Claude Code loop skill for pacing.
gh pr create.Fetch PR state.
gh pr view <number> --json number,title,state,mergeable,reviewDecision,statusCheckRollup,mergeStateStatus,comments,reviews
Triage in priority order.
mergeStateStatus == DIRTY): rebase or merge main; resolve; force-push only if the branch is yours and not shared.statusCheckRollup entries with conclusion: FAILURE): pull logs with gh run view <run-id> --log-failed. Root-cause the failure; fix the underlying code or test; commit; push.gh pr view --json comments,reviews): act only on feedback you agree with. For clear fixes (typo, naming, missing null check, style), apply and commit with a message that names the comment. For anything design-shaped or unclear, leave it for the user and write what you would have done in a reply.Loop. Use the Claude Code loop skill to pace re-checks. Pick the interval from what you're watching:
gh pr checks --watch (it blocks until checks finish, so no separate loop interval needed).Stop conditions.
AskUserQuestion.Report. Summarize fixes applied, comments addressed, comments deferred (with reason), current PR status. Cite each commit by SHA.
--no-verify).gh pr ready only when all checks are green and no unresolved review comments remain.poteto-mode opens here after a PR is opened.interrogate before opening if the diff is contested; once open, babysit takes over.unslop on any prose you write here (PR comments, commit messages, status reports).This is a Claude Code analog, not a port of Cursor's /babysit. Cursor's implementation is closed source; the workflow above is reconstructed from upstream pstack references and the public community version at spencerpauly/awesome-cursor-skills/babysitting-pr.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub michael-denyer/pstack-claude --plugin pstack