land-pr
FreeRuns bundled scriptsNot checkedDrive an open pull request to merge-ready (reviewed, CI green, comments resolved, spec fidelity checked, project verify skills passed, review bot passed on…
by AojdevStudio★ 336 GitHub starsAbout this skill
land-pr
The PR gate refuses a merge unless the PR body passes the contract and the review bot passed the exact head. This skill gets the PR to merge-ready. Merging is a separate step: the agent merges on its own when the PR's merge danger is medium or lower, and otherwise takes the owner's word.
Merge policy
| Condition | Rule |
|---|---|
| Pass signal | The pullfrog-approval check-run from the Pullfrog app concludes success on the exact head SHA. Missing, running, failed, or stale verdicts do not pass, and neither does a second run of that name or one from another app. The kit's source repo is the owner's curated settings repo and is never gated by a review bot. CodeRabbit is the review bot for the repos merge.ts lists in CODERABBIT_GATED (the CLIProxyAPI panel fork, 2026-11-03). The owner is on CodeRabbit's free plan, which posts reviews but never approves, so there the pass signal is a finished, clean review of the exact head. Finished means CodeRabbit's own CodeRabbit check-run (app coderabbitai) on the head concluded success with "Review completed" in its summary, so a skipped or unknown run never passes. Its summary comment is no proof, because it names the head while the review still runs. Clean means no CodeRabbit review thread is unresolved, and none of its reviews lists "Outside diff range comments". Fix or answer each finding, then resolve its thread. Outside-diff findings have no thread, and later incremental reviews do not repeat them, so a PR with any goes to the owner, who checks them and merges in GitHub. CodeRabbit reads its config from the branch under review, so the gate refuses a PR that touches any file whose name starts with .coderabbit (.coderabbit.yaml, .coderabbit.yml, .coderabbit.config.ts), and one whose file list GitHub returns incomplete. Keep no CodeRabbit config file on the default branch of a CodeRabbit-gated repo, because a config there (a .coderabbit.config.ts can import any file) could change the review through files the guard does not watch. A top-level @coderabbitai approve or @coderabbitai resolve comment skips or closes the review, so the gate also refuses a PR that has one. Never post either command. Ask for a review with @coderabbitai review. The owner merges a refused PR in GitHub. |
| Exempt repo merges | For any repo on the exemption list, name the repo in the merge command (-R <owner>/<repo> or the PR URL), even inside its checkout. The gate grants the exemption only then. |
| Conflict fix | A conflict-resolution commit changes the head. Wait for a successful pullfrog-approval check-run on that exact head before merging. An exempt repo has no check-run to wait for. It needs green CI and a local review of the new head instead. |
| CI | Required checks pass on the same head. |
| Threads | Fix actionable findings. Resolve bot threads with evidence. Resolve or disposition every other thread. |
| Agent merge | The agent merges without asking when all of these hold on the exact head: the PR body's Merge danger shows a blast radius of none, low, or medium, required CI passes, the project's verify skills pass (step 6), and the pass signal passes. A repo with no review bot qualifies only when this kit's exemption list (merge.ts) names it, because that list is the owner's record that the repo has no bot on purpose. Never add a repo to that list to make a merge pass. The rating counts only as the local review left it. If the blast radius was lowered after that review, the agent does not merge on its own. The gate checks the body and the bot verdict, not the rating, so this rule is the agent's to keep. The owner set this rule on 2026-10-30. |
| Owner's word | Every other merge takes the owner's word: a high blast radius, a rating lowered after review, or a repo with no review bot and no exemption. The word is an explicit "merge", or a request whose wording implies it ("ship it", "get it merged", "merge when green"). For "merge when green", wait for required checks and exact-head approval, then use a merge pinned to that approved head. Without the word, stop at merge-ready and report the head SHA, CI, bot verdict, threads, spec fidelity, verify skills, and merge danger. A high PR also gets an explainer video first (see Explainer video for a high PR). |
| Always | Never pass --admin or --auto. The gate refuses both. Never merge when the repo's AGENTS.md forbids agent merges. |
| Other bots | Open Code Review, CodeRabbit, Greptile, and Codex are advisory unless branch rules require them. |
Convergence rule
A stale PR costs more than one more round. Keep fixing while each round makes progress.
- Fix only confirmed, in-scope blockers. Verify each bot finding against the source first. Dismiss a false positive with a written reason.
- Count the reviews each open finding has been through. A push or a restart does not reset the count.
- The loop spins when one finding is still open at its fourth review, after three fixes
Install land-pr in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the land-pr skill do?
Drive an open pull request to merge-ready (reviewed, CI green, comments resolved, spec fidelity checked, project verify skills passed, review bot passed on the head), then merge under the merge policy (on its own at medium merge danger or lower, otherwise on the owner's word). Owns the review-bot pass signal, the convergence rule for fix rounds, spec fidelity, and merge proof. Use after open-pr, for "babysit", "get it green", "address the review comments", or any `gh pr merge`.
How do I install the land-pr skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the land-pr skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
by AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
by Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
by Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
by Anthropic