Update Pull Request
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.
Context
- Remote URL: !
git remote get-url origin - PR Template: !
bun "${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"
Fetch
- GitHub:
gh pr view $0 --json title,body,updatedAt,commitsandgh pr diff $0 - GitLab:
glab mr view $0andglab mr diff $0
Commits after updatedAt are the work the current body does not yet cover.