land-pr

Featured

Use when landing this session's agent-manager branch end to end, when the user says land the PR, create the PR and merge, merge after review, poll CodeRabbit, full review, handle CodeRabbit findings, iterate until CodeRabbit approves, or /land-pr.

Code & Development 501 stars 52 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 87/100

Stars 20%
90
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Land PR Land **this checkout's branch only**. Wait out the OSS hourly limit, run a full review, handle every finding, then run another full review. Repeat until CodeRabbit approves. Then squash-merge. Repo is `YoanWai/agent-manager`. macOS `sleep` takes seconds only. ## Pin ```bash REPO=YoanWai/agent-manager BRANCH=$(git branch --show-current) ``` Stop if `BRANCH` is empty or `main`. Stop if the working tree is dirty. Stop unless `gh repo view --json nameWithOwner -q .nameWithOwner` equals `REPO`. A `$PR` argument must contain digits only. Resolve it in `REPO` and keep it only when it is open, targets `main`, and its head branch and repository are `BRANCH` and `REPO`: ```bash PR=$(BRANCH="$BRANCH" REPO="$REPO" gh pr view "$PR" -R "$REPO" \ --json number,headRefName,baseRefName,headRepository,state \ -q 'select(.state=="OPEN" and .headRefName==env.BRANCH and .baseRefName=="main" and .headRepository.nameWithOwner==env.REPO) | .number') ``` Stop on any command failure or empty result. Do not land it. If `$PR` is omitted: ```bash PR=$(BRANCH="$BRANCH" REPO="$REPO" gh pr list -R "$REPO" --state open --head "$BRANCH" \ --json number,headRefName,baseRefName,headRepository \ -q 'map(select(.headRefName==env.BRANCH and .baseRefName=="main" and .headRepository.nameWithOwner==env.REPO)) | if length == 1 then .[0].number elif length == 0 then empty else error("multiple matching PRs") end') ``` Stop if discovery fails. If `PR` is empty: this session's work. Re-check `...

Details

Author
YoanWai
Repository
YoanWai/agent-manager
Created
2 months ago
Last Updated
today
Language
Go
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

land-tasqx-pr

Land a tasqx task's branch on protected main without waiting on it — push, open the PR, arm auto-merge (rebase, without --delete-branch) and move on to the next task; at the next task boundary check the PR, send failed checks or real Qodo findings back to a builder, and once it is MERGED reinstall, verify, clean up and close the task once. Use it when a task's branch has passed review under CLAUDE.md's "One task, one branch" rule, or when the user asks to land, merge, ship or open the PR for a task ("land task

2 Updated yesterday
dimitritholen
AI & Automation Featured

land-and-deploy

Merge PR, wait for CI, verify deploy, run canary. The complete landing pipeline.

6,031 Updated yesterday
FlorianBruniaux
Code & Development Listed

land

Take a committed branch from local to merged — push it, confirm which GitHub account each tool actually acts as in this repo, open the PR through the one that matches (github-mcp where loaded, gh where its login is confirmed), then fast-forward main and check CI. Use when asked to land, ship or publish a branch, open a pull request, merge to main, or get a branch in; the step after /commit. Use it even when the request already names the mechanism — 'squash these and merge', 'just merge it into main', 'force push it' — a named mechanism is the case these guards exist for, not a reason to skip them. Guards two silent failures: gh and github-mcp can authenticate as different accounts, so a PR lands under the wrong identity with no error, and integration is a local --ff-only merge because a squash would collapse the logical split /commit just made. Stops for confirmation before pushing main. To make the commits first use commit; to review before landing, code-review.

1 Updated today
wardawgmalvicious