Generated banner for Factory Review Prs
Generated logo for Factory Review Prs

Factory Review Prs

Builder.ioOfficialPublished by Builder.io

  • Skill
  • Review and audit
  • Software development
  • MIT
  • No issues found

From the author

Experimental workflow for reviewing configured repositories' pull requests. Use for manual or scheduled PR triage, approval, or merge decisions.
— the description by Builder.io

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

Factory Review PRs is an experimental workflow designed to automate the triage and management of pull requests within configured repositories. It evaluates PRs against specific filters and policies defined in the project configuration, ensuring that reviews, approvals, and merge decisions are handled consistently. The skill emphasizes verifying live state and head revisions before taking any action, providing a structured approach to maintaining code quality and repository health.

What it does

  • Filters pull requests based on repository configuration and current state.
  • Inspects diffs, linked issues, and review threads for actionable findings.
  • Reports findings with specific file, line, and impact details.
  • Executes approval or merge actions only when all configured gates are met.
  • Maintains a clear separation between review findings and automated actions.
  • Handles skipped or held PRs by documenting the specific reason for the delay.

When to use it

  • When you need to automate the triage of incoming pull requests.
  • When you want to enforce consistent review and merge policies across repositories.
  • When you require a systematic way to check PR status against defined quality gates.
  • When you need to perform scheduled PR reviews or batch processing.

Advantages

  • Reduces manual effort in triaging and reviewing standard pull requests.
  • Ensures that merge decisions are based on verified live state and current head revisions.
  • Provides clear, evidence-based reporting for all review decisions.
  • Allows for flexible configuration of review and merge policies per repository.

Usage examples

“Review the current pull request queue for the repository.”
The agent scans the configured repository, filters PRs, inspects the diffs and status, and provides a report of findings or actions taken.
“Check if any PRs are ready for merge based on current policies.”
The agent verifies all merge gates, including head revision stability and check status, and proceeds with the merge if all conditions are met.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/builderio/factory-review-prs/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip factory-review-prs.zip -d .agents/skills

Documentation by Builder.io

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

ActionProceed only when
ReviewThe PR matches configured filters and has not already had the required current review.
Reply or other PR writeThat action is enabled and its conditions hold. Use configured wording; do not tag, assign, or message otherwise.
ApproveApproval is enabled and author, risk, ownership, current-head, check, and review conditions are verified.
MergeMerge 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.

Files

LICENSE

MIT License

Copyright (c) 2026 Builder.io

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Builder.io
Publisher
Builder.io (Official)
Source
BuilderIO/skills · skills/factory-review-prs · commit f4f10b8
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Builder.io or Builder.io.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download factory-review-prs.zip