pr
Open a pull request for the current branch, watch its checks, and land it — squash, rebase, run hooks, push, then merge and clear the worktree away.
Skill by feelepxyz
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/feelepxyz-pr
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pr
What's inside
- Skill name
pr- Description
- Open a pull request for the current branch, watch its checks, and land it — squash, rebase, run hooks, push, then merge and clear the worktree away. Use when the user wants to open or update a pull request, ship a branch, check whether CI passed, or merge a request that is ready.
- License
- GPL-3.0
- Instructions
- 106 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- openai.yaml · agents/
- checks.sh
- pr.sh
SKILL.md (first lines)
# Pull request
Two scripts, one arc. `pr.sh` runs worktrunk's merge pipeline with the landing
swapped for a pull request — pre-commit hooks, squash, rebase onto the default
branch, pre-merge hooks, push, `gh pr create`. `checks.sh` watches what CI makes
of it. `pr.sh --merge` lands the request and takes the worktree with it.
## Run it
bash ~/.agents/skills/pr/pr.sh
Run through `bash` — skills install without the exec bit. `--merge` lands an
already-open request and has its own section below; `--help` lists the rest.
Opening a request leaves the worktree standing. Nothing to `cd` to, nothing
gone — the checkout stays until the request merges, because that is where a red
run gets investigated.
## Relay what it returns
Report the pipeline lines, the `pr:` URL, and the `next:` line as they come —
the script re-reads git and gh after acting, so its output is already reality.
A branch carrying nothing the base lacks is a complete answer: say so and stop.
## Watch the checks
The run ends with a `watch:` line naming the exact command. Run it in the
background and carry on with something else — do not poll it by hand, and do not
sit waiting on it.
Under Claude Code, use `Monitor`: the `watch:` line as `command`, a description
like `CI checks on PR #412`, `timeout_ms: 1380000`, `persistent: false`. The
script prints progress to stderr and exactly one block to stdout when it
settles, so one notification carries the whole verdict. Anywhere else, run it in
the foreground and wait.
`checks.sh` probes immediately, then polls every 5 minutes and gives up after
20. Its flags — `--interval`, `--deadline`, `--grace`, `--once` — take seconds
and exist for tighter loops; `--once` polls a single time and reports.
## Act on the verdict
The `checks:` line says which of four things happened.
**`checks: pass`** — open the request: `gh pr view <url> --web`. Then offer to
land it with `bash ~/.agents/skills/pr/pr.sh --merge` and wait for an answer.
Review is the user's gate; do not walk through it for them.
**`checks: fail`** — open the request the same way, then investigate. Invoking
this skill is the request for it: launch one `general-purpose` agent with the
failing check names from the `failed[...]` block and the `log:` path, and tell
it to:
- read the log and the branch's diff against the base;
- name the root cause of each failing check;
- propose a fix as `file:line` plus a diff sketch, with a confidence; and
- change nothing — no edits, no commits, no PR comments.
The worktree is still there, so it can read the code the failure is about.
Relay its report and ask before applying anything.
**`checks: timeout`** — report what was still pending and the `help:` line that
restarts the watch. Do not launch an agent; nothing has failed yet.
**`checks: none`** — the repository reports no checks. Say so and stop.
## Land it
bash ~/.agents/skills/pr/pr.sh --merge
Squash-merges the open request, removes the worktree, deletes the branch local
and remote, and fast-forwards the local default branch. This is the one path
that deletes the directory it ran in: when the output carries a `cwd:` line,
`cd` there before running anything else — every later command fails otherwise.
Processes the worktree started — dev servers, watchers — outlive it. `wt remove
--reap <branch>` takes them down, but only run it by hand: it kills every
process whose working directory is under the worktree, which includes the shell
that ran it.
Run it when the user asks, or when they accept the offer after a green run.
Never on your own initiative.
## When it reports an error
Every error carries a `cause:` and a `help:` line — act on the `help:` line.
`published:` says whether anything reached the remote, so you know what is left
behind. On a failed `--merge`, `removed:` says the same about the cleanup.
Two cases stay with the user:
- `approval:` — hand them `wt config approvals add`; never run it yourself.
- The default branch is refused with two runnable options. Ask which they want
rather than choosing.
## Boundary
`wt merge` has no part in this — it fast-forwards the default branch, so the
work would sit unmerged on local `main` and every branch cut in the meantime
would inherit it. `--merge` catches the default up only after GitHub has merged.
Reviewing the request, re-running failed checks, and fixing what an
investigation proposes are all separate asks.From feelepxyz/dotfiles, GPL-3.0.
More from feelepxyz/dotfiles
- 0.563score
setup-worktrunk
feelepxyz
Set up, change, or repair a repository's worktrunk hooks so a new worktree opens a herdr workspace with the agent and dev servers already running.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
setup-git-hooks
feelepxyz
Set up, change, or repair a repository's git hooks with prek.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
commit
feelepxyz
Commit the working tree with a generated Conventional Commits message, then name the next step.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
mission
feelepxyz
Orchestrate projects too large or complex for one reliable agent context.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
setup-github
feelepxyz
Converge a GitHub repository's settings — merge hygiene, a guardrail ruleset on the default branch, Dependabot and secret scanning.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
tdd
feelepxyz
Implement or change software through a focused test-driven loop.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
add-dotfiles-skill
feelepxyz
Scaffold a new personal skill in this dotfiles repo (skills/custom/) and install it into Claude/Codex/pi via npx skills.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
branch
feelepxyz
Land on a branch worth working on — fetch, cut off the fresh default, carry uncommitted work across, or report the branch already here.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
setup-repo
feelepxyz
Set a repository up across all three areas — git hooks, worktrunk and GitHub housekeeping — in one pass and one commit.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
shape
feelepxyz
Turn a request into a compact contract — the observable destination, the implementation brief, and the validation contracts that prove it.
SkillBFreshness: B★ 2Claude Code +9 - 0.552score
minto
feelepxyz
Answer in Minto pyramid order — conclusion first, then the arguments that carry it, then the evidence.
SkillBFreshness: B★ 2Claude Code +9 - 0.551score
hunk
feelepxyz
Open the working diff, last commit, or branch range in the Hunk terminal viewer — and with `auto`, review it inline.
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Jul 29, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- GPL-3.0
- Repository
- github.com/feelepxyz/dotfiles
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from feelepxyz
- 0.563score
setup-worktrunk
feelepxyz
Set up, change, or repair a repository's worktrunk hooks so a new worktree opens a herdr workspace with the agent and dev servers already running.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
setup-git-hooks
feelepxyz
Set up, change, or repair a repository's git hooks with prek.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
commit
feelepxyz
Commit the working tree with a generated Conventional Commits message, then name the next step.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
mission
feelepxyz
Orchestrate projects too large or complex for one reliable agent context.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
setup-github
feelepxyz
Converge a GitHub repository's settings — merge hygiene, a guardrail ruleset on the default branch, Dependabot and secret scanning.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
tdd
feelepxyz
Implement or change software through a focused test-driven loop.
SkillBFreshness: B★ 2Claude Code +9
Cite this page
pr skill. Agent Mart. https://agentmart.dev/skills/feelepxyz-pr (last updated 2026-10-24)