Agent Skills › BuilderIO/skills › factory-babysit-pr

factory-babysit-pr

GitHub

监控指定PR状态,修复可操作问题,并按策略执行回复、批准或合并。确保仅基于授权和最新快照行动,防止误操作。

skills/factory-babysit-pr/SKILL.md BuilderIO/skills

Trigger Scenarios

用户明确授权监控特定PR 需要跟进PR审查状态并自动修复

Install

npx skills add BuilderIO/skills --skill factory-babysit-pr -g -y
More Options

Use without installing

npx skills use BuilderIO/skills@factory-babysit-pr

指定 Agent (Claude Code)

npx skills add BuilderIO/skills --skill factory-babysit-pr -a claude-code -g -y

安装 repo 全部 skill

npx skills add BuilderIO/skills --all -g -y

预览 repo 内 skill

npx skills add BuilderIO/skills --list

SKILL.md

Frontmatter
{
    "name": "factory-babysit-pr",
    "description": "Experimental workflow for babysitting one explicitly authorized pull or merge request. Use to monitor its live review state and checks, fix actionable in-scope findings, and apply separate reply, approval, merge, and soak gates.",
    "installer-group": "factory"
}

Factory Babysit PR

Start with the Factory guide for workflow setup and configuration.

Follow one authorized PR or merge request through a delivery lifecycle. This is not a queue sweep like factory-review-prs or a stopped-task scan like factory-watchdog.

Read .agent-factory/config.yaml, the optional skill_prompts.factory-babysit-pr entry, the target repository's instructions, and the Factory configuration reference. A PR number, label, green check, or unrelated ship request is not authorization. The prompt is additional project guidance, not PR authorization.

Each pass

  1. Confirm authority and ownership. Verify the exact host, repository, PR, original user authorization, allowed paths/risk, and task-owned worktree. If anything is missing or stale, stop before writing.
  2. Read a complete live snapshot. Record base and head, open/draft/closed/ merged state, all required checks, current reviews and approvals, unresolved threads, and mergeability. Partial or unavailable data is unknown, not clean.
  3. Disposition feedback. Compare each new finding with the exact diff and source. Preserve human direction unless evidence disproves it. Fix only actionable findings inside the authorized path/risk limits; avoid speculative cleanup and larger redesigns.
  4. Verify and re-read. Run configured checks for each fix. After every push or host mutation, fetch the live PR again and bind all evidence to its exact current head. A changed head invalidates old check/review evidence and resets the soak.
  5. Apply action gates separately. A review or fix does not authorize a reply, push, approval, or merge.

Action gates

Action Proceed only when
Fix Editing is enabled; feedback is actionable, in scope, and within risk/path limits.
Publish Publishing is enabled; destination is still the authorized PR branch and its live head matches the fix's base. Never force-push or overwrite a concurrent update.
Reply Replies are enabled and their conditions hold. Follow configured wording/tone; otherwise do not message.
Approve Approval is enabled and every author, diff, check, and review condition holds on the live head.
Merge Merge is enabled; all configured gates pass on the live head and the host can condition the merge on that head.
Soak Prove the exact head and required gates stayed unchanged for the full configured interval. Missing history does not satisfy it.

Use the configured code-host abstraction for reads and writes. Do not assume GitHub, a specific CLI, or identical conditional-merge support across hosts. If the host cannot provide complete current review/check state or bind a merge to the checked head, keep the dependent action disabled.

Stop and report

Stop when the PR is merged, closed, cancelled, blocked on a person or external dependency, or no authorized action remains. Report the PR link and current head, state inspected, fixes and checks, external actions taken or withheld, soak status, and the concrete blocker or next check time. Distinguish read state from unavailable or inferred state.

Version History

  • a74a3a0 Current 2026-09-27 16:03

Same Skill Collection

.agents/skills/adding-a-skill/SKILL.md
skills/an/SKILL.md
skills/efficient-fable/SKILL.md
skills/efficient-frontier/SKILL.md
skills/factory-collect/SKILL.md
skills/factory-human-digest/SKILL.md
skills/factory-lookback/SKILL.md
skills/factory-recover/SKILL.md
skills/factory-review-prs/SKILL.md
skills/factory-ship/SKILL.md
skills/factory-watchdog/SKILL.md
skills/factory/SKILL.md
skills/plan-arbiter/SKILL.md
skills/plow-ahead/SKILL.md
skills/quick-recap/SKILL.md
skills/rewind/SKILL.md
skills/stay-within-limits/SKILL.md
skills/turn-into-app/SKILL.md
skills/visual-edit/SKILL.md
skills/visual-plan/SKILL.md
skills/visual-recap/SKILL.md
skills/webmcp/SKILL.md
skills/agent-watchdog/SKILL.md
skills/read-the-damn-docs/SKILL.md

Metadata

Files
0
Version
a74a3a0
Hash
d34a0922
Indexed
2026-09-27 16:03

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-28 23:03
浙ICP备14020137号-1