Agent Skills › BuilderIO/skills › factory-review-prs

factory-review-prs

GitHub

用于审查配置仓库的拉取请求,执行手动或定时 PR 分拣、审批及合并决策。根据策略过滤队列,检查代码差异与状态,执行独立动作门禁并报告结果。

skills/factory-review-prs/SKILL.md BuilderIO/skills

Trigger Scenarios

需要人工或自动审查 Pull Request 执行定时 PR 分拣任务 进行代码合并前的最终审批

Install

npx skills add BuilderIO/skills --skill factory-review-prs -g -y
More Options

Use without installing

npx skills use BuilderIO/skills@factory-review-prs

指定 Agent (Claude Code)

npx skills add BuilderIO/skills --skill factory-review-prs -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-review-prs",
    "description": "Experimental workflow for reviewing configured repositories' pull requests. Use for manual or scheduled PR triage, approval, or merge decisions.",
    "installer-group": "factory"
}

Factory Review PRs

Start with the Factory guide for workflow setup and configuration.

This skill reviews a filtered queue. For one long-lived, explicitly authorized PR, use factory-babysit-pr. Read the filters and independent action policies from .agent-factory/config.yaml; see the configuration reference. Apply the optional skill_prompts.factory-review-prs entry as additional project guidance; it does not replace this skill or authorize an action disabled by policy.

Review the queue

For each candidate PR:

  1. Read live state from the configured host. Exclude drafts and PRs outside the configured filters. Skip a PR with a current review unless re-review is requested by policy.
  2. Inspect the diff, linked issues, required checks, review threads, author eligibility, and exact head revision. Treat bot findings as leads and preserve human review direction unless source evidence disproves it.
  3. Report actionable findings with file, line, impact, and a concrete fix. If none exist, record that outcome without inventing a comment.

Unavailable or partial state is unknown, never a clean result.

Apply separate action gates

Action Proceed only when
Review The PR matches configured filters and has not already had the required current review.
Reply or other PR write That action is enabled and its conditions hold. Use configured wording; do not tag, assign, or message otherwise.
Approve Approval is enabled and author, risk, ownership, current-head, check, and review conditions are verified.
Merge Merge is separately enabled; every live merge condition and any soak hold on the unchanged head.

Host-level mergeability, one green check, or a bot approval does not prove all gates passed. Re-read the exact head and live state immediately before an approval or merge. Restart a configured soak if the head or a gate changes.

Report

For each PR, state the decision and evidence. List skipped, unavailable, and held PRs with the reason. Keep review findings separate from approvals, replies, and merge decisions.

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-babysit-pr/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-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
9ddf8ed8
Indexed
2026-09-27 16:03

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