Agent skill

Review And Merge PRs

by smontlouis in smontlouis/bible-strong

Sequentially review and merge GitHub pull requests one at a time.

GPL-3.0Auto-check passedDevelopment

Install Review And Merge PRs

skills CLI
$ npx skills add smontlouis/bible-strong --skill review-and-merge-prs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install smontlouis/bible-strong review-and-merge-prs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/smontlouis/bible-strong.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/review-and-merge-prs .claude/skills/review-and-merge-prs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
review-and-merge-prs
GitHub stars
172
Token cost
~1.7k tokens
SKILL.md length
865 words
Files
2
Skills in repo
12
Repo updated
First seen
Licence
GPL-3.0

At a glance

Sequentially review and merge GitHub pull requests one at a time.

  • Works in 4 steps: Checkout and update → Review and fix blockers → Run automated checks → …
  • The user asks to process PRs by checking out each PR
  • SKILL.md covers Core rule, Source of truth, Inputs and Per-PR cycle, plus 4 more sections
  • Calls git, gh and yarn

What it does

Review And Merge PRs is an agent skill from smontlouis/bible-strong. Sequentially review and merge GitHub pull requests one at a time. Use when the user asks to process PRs by checking out each PR, running checks, preparing simulator/manual test instructions, waiting for explicit validation, then merging before moving to the next PR.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Pull requests. It works with GitHub. The licence is GPL-3.0.

When your agent uses it

  • The user asks to process PRs by checking out each PR
  • Preparing simulator/manual test instructions
  • Waiting for explicit validation
  • Then merging before moving to the next PR

Example prompts

  • “/review-and-merge-prs”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Checkout and update
  2. Review and fix blockers
  3. Run automated checks
  4. Handoff for manual testing

What it can do on your machine

Read from SKILL.md and the folder at commit e7bcd65. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh
    • yarn
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, gh, yarn and curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Review And Merge PRs loads about 1.7k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 865 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from smontlouis/bible-strong at commit e7bcd65, republished under its GPL-3.0 licence (© smontlouis). 865 words, ~1,685 tokens.

Download SKILL.mdSave it as .claude/skills/review-and-merge-prs/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
review-and-merge-prs
description
Sequentially review and merge GitHub pull requests one at a time. Use when the user asks to process PRs by checking out each PR, running checks, preparing simulator/manual test instructions, waiting for explicit validation, then merging before moving to the next PR.

Review And Merge PRs

Process PRs as a sequential human-in-the-loop merge gate. Work on one PR, make it ready for manual testing, stop for maintainer validation, merge only after approval, then move to the next PR.

Core rule

Do not merge a PR or start deep work on the next PR until the user explicitly validates the current PR in the current conversation. A prior request to review, check, pull, rebase, prepare, or "start" PRs is not merge approval.

Approval must be specific enough to mean the maintainer tested or accepts the current PR, for example: "ok merge", "validé", "merge celle-ci", or "c'est bon pour la #123".

Source of truth

Read these when relevant:

  • docs/agents/validation.md
  • docs/agents/smoke-tests.md for UI, mobile, navigation, WebView, audio, sync, download, or data-flow changes
  • docs/agents/sensitive-areas.md for auth, sync, storage, backup/import/export, native config, releases, external services, or user-owned data
  • CONTEXT.md and relevant docs/adr/ files when the PR changes domain behavior or architecture

Inputs

If the user names PR numbers, inspect only those PRs. Otherwise, inspect open PRs targeting master.

Build a lightweight queue first. Do not checkout every PR before processing the first one.

bash
gh pr list --state open --base master --json number,title,headRefName,baseRefName,isDraft,mergeStateStatus,reviewDecision,statusCheckRollup,updatedAt,url

Default queue order:

  1. PRs named by the user, in the order given.
  2. Otherwise, open non-draft PRs targeting master, oldest first unless the user asks for a different priority.

Before starting the first PR, briefly report the queue and say which PR is first.

Per-PR cycle

Repeat this cycle for exactly one PR at a time.

1. Checkout and update

Fetch and inspect the current PR:

bash
gh pr view <number> --json number,title,body,url,headRefName,baseRefName,isDraft,mergeStateStatus,reviewDecision,comments,reviews,statusCheckRollup,files,commits
gh api repos/smontlouis/bible-strong/pulls/<number>/comments --paginate

Then check it out:

bash
gh pr checkout <number>

If the PR is behind origin/master, rebase it before asking the maintainer to test:

bash
git fetch origin master
git rebase origin/master

If the rebase changes the branch, run validation and push the rebased branch:

bash
git push --force-with-lease
2. Review and fix blockers

Inspect the diff against the target base:

bash
git diff --stat origin/master...HEAD
git diff --name-only origin/master...HEAD
git diff origin/master...HEAD

Identify and resolve, before the manual test handoff:

  • merge conflicts;
  • red or missing checks that can be reproduced locally;
  • action-worthy review comments;
  • obvious regressions found in the diff;
  • stale generated docs or validation artifacts that would create avoidable conflicts.

If a fix is needed, implement it on the PR branch, run relevant validation, commit, push, and mention the new commit in the handoff.

3. Run automated checks

Run the smallest useful validation set for the PR:

  • focused ESLint for touched code;
  • yarn format:check when formatting-sensitive files changed;
  • yarn typecheck for TypeScript, navigation params, Redux, Jotai, helper, or shared API changes;
  • focused yarn test ... for touched tests or helpers;
  • resource checks such as CDN curl -I -L or generator commands when the PR changes downloadable resources.

Use full yarn lint, yarn test, or broader agent checks only when the change scope justifies it or focused checks are insufficient.

4. Handoff for manual testing

Stop after the current PR is ready to test. Do not merge and do not move to the next PR.

Give the maintainer a concise handoff:

  • PR number, title, and URL;
  • branch currently checked out;
  • what changed in product terms;
  • automated checks run and their result;
  • review comments handled or still open;
  • risk level and reason;
  • exact simulator/manual test checklist;
  • explicit next instruction: ask the maintainer to test and reply with approval to merge, or describe what failed.

Do not claim mobile behavior is verified unless you actually ran a simulator/emulator or inspected a real device flow. If simulator testing is expected from the maintainer, say that clearly.

Show full SKILL.md (309 more words)Show less

Preflight

Before starting or switching PRs:

  1. Run git status --short.
  2. If the worktree is dirty, stop and report the files unless the user explicitly allowed continuing with the dirty state.
  3. Fetch the latest refs:
bash
git fetch origin master

Merge after approval

Only after explicit user approval for the current PR:

  1. Re-check the worktree is clean.
  2. Update master:
bash
git checkout master
git pull --ff-only origin master
  1. Re-check the approved PR:
    • check out the PR branch again if needed;
    • rebase on origin/master if master changed since the handoff;
    • resolve conflicts without discarding unrelated user changes;
    • rerun the relevant local validation if the branch changed;
    • force-push only if the branch was rebased;
    • confirm GitHub checks are green.

Prefer GitHub CLI merge commands over manual local merges:

bash
gh pr merge <number> --squash --delete-branch

If the repo clearly uses a different merge strategy for the active PR set, follow that strategy and say so.

After the merge:

  1. Fetch and update local master.
  2. Report the merge result.
  3. Return to the queue and start the next PR's per-PR cycle, unless the user asked to stop.

Stop conditions

Stop and report instead of asking for manual testing or merging when:

  • CI is red or missing for the PR head;
  • the PR is draft;
  • merge conflicts require product judgment;
  • review comments are action-worthy and unresolved;
  • local validation fails;
  • a sensitive area changed without clear validation evidence;
  • the user has not explicitly approved merging.

If the maintainer rejects the PR during manual testing, do not merge. Either fix the issue on the PR branch and produce a new handoff, or skip the PR if the maintainer asks to move on.

Final report

After all approved PRs have been merged, or when stopping, report:

  • PRs merged, with URLs;
  • PRs left open and why;
  • current branch;
  • validation run locally for the current or last processed PR;
  • GitHub checks status;
  • remaining manual tests or next PR in the queue, if any.

© smontlouis, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/review-and-merge-prs of smontlouis/bible-strong.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit e7bcd65

Compare with similar skills

Review And Merge PRs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Review And Merge PRs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Review And Merge PRs this skillsmontlouis/bible-strong172—~1.7kAutomated safety check: PassGPL-3.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from smontlouis/bible-strong

All 12 skills in this repo
  • Neon Postgres

    smontlouis/bible-strong

    Guides and best practices for working with Lakebase Postgres, the database behind Neon.

    172 GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check: notes
  • Bible Strong Illustrations

    smontlouis/bible-strong

    Create or adapt Bible Strong illustrations in the house style of flat colors, monochromatic characters, and fine detail lines.

    172 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Setup TS Deep Modules

    smontlouis/bible-strong

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files.

    172 GitHub starsUsed in 4 repos~1.9k tokens
    Auto-check passed
  • Bible To Strong

    smontlouis/bible-strong

    Deterministic Strong-Bible command workflow for this repository.

    172 GitHub stars~17k tokensUpdated today
    Auto-check: notes
  • Neon

    smontlouis/bible-strong

    Overview of Neon, a complete set of cloud backend primitives for apps and agents, spanning Lakebase Postgres, Auth, the Data API, Object Storage, Compute Functions, and the AI Gateway.

    172 GitHub stars~7.1k tokensUpdated today
    Auto-check: notes
  • Orchestrate Ready Issues

    smontlouis/bible-strong

    Sequentially orchestrate GitHub issues labeled ready-for-agent through the Bible Strong harness.

    172 GitHub stars~1.7k tokensUpdated today
    Auto-check: warnings

Works with

Categories

Questions about Review And Merge PRs

What does Review And Merge PRs do?

Sequentially review and merge GitHub pull requests one at a time. Review And Merge PRs is an agent skill from smontlouis/bible-strong. Sequentially review and merge GitHub pull requests one at a time.

When should I use Review And Merge PRs?

Review And Merge PRs fits situations like: the user asks to process PRs by checking out each PR; preparing simulator/manual test instructions; waiting for explicit validation; then merging before moving to the next PR.

How do I install Review And Merge PRs in Claude Code?

Run `npx skills add smontlouis/bible-strong --skill review-and-merge-prs -a claude-code`. Or copy the skill folder (.agents/skills/review-and-merge-prs in smontlouis/bible-strong) into .claude/skills/review-and-merge-prs in your project. Claude Code loads it when a task matches its description.

How do I install Review And Merge PRs in Codex?

Run `npx skills add smontlouis/bible-strong --skill review-and-merge-prs -a codex`. Or copy the skill folder (.agents/skills/review-and-merge-prs in smontlouis/bible-strong) into .agents/skills/review-and-merge-prs in your project. Codex loads it when a task matches its description.

Can I use Review And Merge PRs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add smontlouis/bible-strong --skill review-and-merge-prs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/review-and-merge-prs, .gemini/skills/review-and-merge-prs, .github/skills/review-and-merge-prs and .opencode/skills/review-and-merge-prs in your project.

What does Review And Merge PRs need to run?

Going by SKILL.md and its folder, Review And Merge PRs needs the command-line tools its instructions call (git, gh, yarn and curl).

Does Review And Merge PRs access the network?

SKILL.md contains no URLs. Its commands use git, gh and curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Review And Merge PRs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Review And Merge PRs use?

Review And Merge PRs is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Review And Merge PRs use?

About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Review And Merge PRs?

Skills that share tags, products or a category with Review And Merge PRs: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Review And Merge PRs?

smontlouis (a GitHub user) maintains it in smontlouis/bible-strong, which has 172 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 11, 2026.

Source: smontlouis/bible-strong on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.