skills/git-pr-update/SKILL.md
{{ ƔƔƔ }} Update a PR description to account for commits made since it was last written
npx skillsauth add jasonwarrenuk/goblin-mode PR: UpdateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Update the description of PR #$ARGUMENTS.
Run:
gh pr view $ARGUMENTS --json body,title,headRefName,baseRefName
Look in the PR body for a comment in this exact format:
<!-- pr-update-watermark: <commit-sha> -->
If found, note the SHA — this is where the last update stopped. Call it $WATERMARK_SHA.
If not found, treat the entire commit history on the branch as new.
Run:
git log <baseRefName>..<headRefName> --oneline
If a watermark was found, filter to only commits after $WATERMARK_SHA:
git log ${WATERMARK_SHA}..HEAD --oneline
If there are no new commits since the watermark, tell me and stop — the description is already up to date.
For each new commit, run:
git show <sha> --stat
Understand what changed and why. Group related commits into coherent change categories.
Take the existing PR body and update it:
## Changes section to incorporate the new commits. If collapsible <details> blocks already exist, add new entries or update existing ones as appropriate.<!-- pr-update-watermark: <latest-sha> -->
Display:
Wait for my approval.
Once approved, run:
gh pr edit $ARGUMENTS --body "<updated body>"
Confirm success.
tools
{{ 𝚫𝚫𝚫 }} Rebuild roadmap-system.zip, the distributable snapshot of the roadmap tooling (scripts, HTML template, conventions reference, and every roadmap-touching skill, including this one).
tools
--- name: "Suggest: Task" description: "{{ 𝚫𝚫𝚫 }} Suggest the next logical task — grounded in the roadmap's pre-vetted ready-set when one exists, codebase analysis otherwise" when_to_use: "When you don't know what to work on next and want a grounded recommendation rather than picking arbitrarily." model: haiku effort: low disable-model-invocation: true allowed-tools: ["Read", "Glob", "Grep", "Bash(python3:*)", "Bash(npm:*)", "Bash(bun:*)", "Bash(pnpm:*)", "Bash(deno:*)"] argument-hint: [named
development
{{ 𝛀𝛀𝛀 }} Convert an old simple-style roadmap (single Markdown, four statuses, <a name> anchors, roadmaps.json pointer registry) into the rich phase-array format (roadmaps.json source of truth + PHASE task list + prose overview).
data-ai
{{ ƔƔƔ }} Create a pull request to main — wordy or shiny (with screenshots), ready-for-review or draft