mcpField
F
full-babysit-pr

full-babysit-pr

github.com/sztadiiその他07 回インストール今日更新
リポジトリ

full-babysit-pr について

レビューと CI の分析から修正、公開、マージまで、プルリクエストを継続して管理するスキルです。コード変更には明示的な承認を求め、マージ前に条件を確認します。

主な機能

  1. 01レビューコメントと CI 失敗の分析
  2. 02ローカル修正と検証
  3. 03コード公開前の明示的な承認
  4. 04コメント返信とスレッド状態の追跡
  5. 05マージ条件と阻害要因の確認
  6. 06状態の保存と最終結果の報告

活用シーン

  1. 01レビュアーのフィードバックへの対応
  2. 02失敗したチェックの診断と修正
  3. 03レビュー待ちの PR の維持
  4. 04必要条件を満たした後のマージ

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/sztadii/agent-skills --skill full-babysit-pr

インストール後、Claude Code で/full-babysit-prを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

agents/
openai.yaml
references/
pr-comments.md
publication.md
simplification.md
verification.md
watching.md

README(原文)English

プロジェクトの README より

この README の日本語訳はまだありません。以下は英語の原文です。日本語の紹介はページ上部をご覧ください。

Full Babysit PR

Scope

Maintain an identified PR through the requested endpoint. Invocation authorizes analyzing feedback and CI, preparing and verifying local fixes, evidence-backed replies, resolution of this workflow's verified threads and, once the conditions below are met, merge without further confirmation. Every commit and push of code changes requires the user's explicit approval of those changes. Default endpoint: confirmed merge. Honor narrower user constraints, including “do not merge”.

Closing PRs and dismissing reviews require authority. Prefer update merges on shared branches; authorized rewrites use a lease tied to the inspected head.

Workflow

Maintain

  1. Read current head/base, required checks/reviewers, repository guidance, feedback and all unresolved threads, including outdated ones; paginate. Optional bots do not create indefinite waiting gates.
  2. Analyze each new comment and CI failure against current code. Explain false positives and reasons for deferring unrelated requests.
  3. Drastic changes (broad rewrites, architectural or major behavior changes), whether requested in a comment or needed for CI: do not implement. Tell the user immediately with the link, the request or failure and your assessment, then await direction.
  4. Other substantiated issues: fix them locally right away. Update the base or resolve conflicts when integration or policy requires it; retry transient CI failures only with a reason. Include changes the user prepared for this PR.
  5. After every code-changing round, simplify the complete local fix diff as in Simplification, then verify the simplified snapshot as in Verification, covering affected behavior and required checks. Fix failures and repeat both. Skip them for replies and metadata-only rounds unless the user requests simplification.
  6. Once the fixes work and are ready to commit and push, tell the user the handled comments or failures with links, what changed, the diff summary and evidence. Do not commit or push until the user explicitly approves; apply requested adjustments and repeat step 5.
  7. After approval, publish to the existing PR as in Publication. Do not bypass its blockers or publish without changes.
  8. Reply to handled feedback and resolve threads as in PR comments, with the fix revision/evidence or reasons for no change. The user's approval of each reported fix or decision on a drastic change counts as approval for the confirmed prefix. Resolve a thread only after publication and only when its fix is trivial and indisputable; leave any fix involving judgment open for the reviewer. Track pending feedback by thread state.

Merge

A draft awaits human review. Only a human may mark it ready; never perform or delegate that transition. Continue maintenance while waiting.

Merge requires ready status set by a human, green CI on the current head, valid repository-required approvals, all review threads resolved, including outdated ones, and no unpublished or unapproved local fixes. Recheck expected head, these conditions and mergeability immediately before merging. Never bypass branch protection or required reviews. Merge without further confirmation and verify the actual merge; pending or unavailable requirements leave the endpoint incomplete.

Wait and finish

When immediate actions are done but the endpoint is pending, follow PR event waiting for changes affecting mergeability. Persist PR/head, endpoint, handled feedback, local fixes awaiting approval, evidence, pending issues and next action. Reuse sent notifications instead of reposting on wakes. Wakes do not widen scope.

Result

Report final head, checks/reviews, fixes (published or awaiting approval), drastic requests awaiting direction, blockers and watcher state. Default completion requires confirmed merge; for maintenance-only endpoints, report the actual outcome and deferred checks. Stop on closure/cancellation. Missing access, external decisions or repeated failures without new evidence are blockers.

コメント