/pull-request:update [pr-url | mr-url]from pull-request
Rewrites a PR/MR body to describe the current diff after additional commits. Fetches diff, identifies new commits, and updates the description.
Ships in pull-request. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Rewrite the PR/MR body so it describes what merging the current diff does. Describe the end result, and mention a change made during review only when that result is user-facing.
$0 (optional) is a PR/MR URL, number, or branch name. With none, gh/glab resolve the PR/MR from the current branch.
git remote get-url originbun ${CLAUDE_PLUGIN_ROOT}/scripts/pr-template.ts!bun ${CLAUDE_PLUGIN_ROOT}/scripts/git-context.ts
!bun ${CLAUDE_PLUGIN_ROOT}/scripts/sem-context.ts --stack-file "${user_config.stack_file}"
!bun ${CLAUDE_PLUGIN_ROOT}/scripts/contributing.ts
gh pr view $0 --json title,body,updatedAt,commits and gh pr diff $0glab mr view $0 and glab mr diff $0Commits after updatedAt are the work the current body does not yet cover.
Rewrite the body per sections.md, the rules the create skill follows, and load the writing skill. When a PR template is in context, keep its structure. Use the Entities block to judge what the change did, and lead the body with intent rather than that list.
Write the body to tmp/pr-body-<branch>.md and apply it:
gh pr edit --body-file tmp/pr-body-<branch>.mdglab mr update --description-file tmp/pr-body-<branch>.mdUpload any screenshot or recording the new body references by local path: --attach ./shot.png per file on gh pr edit (load github:attach), or --attach ./shot.png per file on glab mr update. Assets already in the body keep their uploaded URLs.
For GitLab username lookup, load gitlab:merge-request.
Done when a fresh gh pr view/glab mr view shows the new body and it describes the work in the commits after updatedAt.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub bendrucker/claude --plugin pull-request4 skills in this plugin
/babysitpull-request:babysitMonitor a PR's CI, fix trivial failures, and self-cancel when green; --merge drives to merged, --reviews hands off to AI-review triage./createpull-request:createCreate a pull request, merge request, or change request (PR, MR, CR).
Use when the user asks to open one, including right after committing changes.
/follow-uppull-request:follow-upFollow up as the author on review feedback on your PR/MR: triage and draft replies, catch silent resolves, and drive bot reviewers to a passing score. Triggers: "address reviewer feedback", "make the bot reviewer pass", "greptile/coderabbit review", "bot review before pushing".
Other plugins' skills for the same job