update-pr-body
Installation
SKILL.md
Update GitHub PR Body
Instructions
When updating a GitHub PR body:
-
Get the current PR number (if not provided):
gh pr list --head "$(git branch --show-current)" --json number --jq '.[0].number' -
Get the current PR body to review existing content:
gh pr view <pr-number> --json body -q '.body'