Update Pr

Rebase a branch on its base, push, and rewrite the PR title and body from the full diff

Tested · Works

Test report

Verdict
Tested · Works
Score
8.4/10
Tested
Jul 21, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Aug 10, 2026 · 0e75a53

Fetched the SKILL.md at .claude/commands/update-pr/; frontmatter parses with name+description, no scripts/curl|sh/base64/injection smells. Confirmed the two sibling skills the body invokes (/create-pr, /commit) return HTTP 200. For output I built a temp git repo with a base branch and a feat/rate-limit branch (2 commits, real diff), then wrote a baseline PR description and a skill-template description from the same diff. Concrete deltas: baseline title "Add rate limiting to login" (no prefix) vs skill "feat: rate-limit login attempts to prevent brute-force" (<70 chars, conventional prefix); baseline was one prose blob naming files, skill produced Summary/Changes/Test Plan with a why ("closing a brute-force vector") and a manual repro test plan. I could not run the live rebase/push/gh pr edit steps (no authenticated gh or real open PR), so that orchestration is judged from the text, not executed.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 5/5
  • Output vs. baseline 6/10
  • Docs & honesty 5/5

What Update Pr does

A gh/git workflow skill that updates an existing open pull request: it verifies gh auth, syncs the feature branch onto its base branch (surfacing rebase conflicts to the user rather than auto-resolving), pushes with --force-with-lease when history changed, then regenerates the PR title and a Summary/Changes/Test Plan description from the whole-branch diff via gh pr edit. Triggers on phrases like "update the PR", "push to PR", "refresh PR", "sync PR", or "update pull request".

How to install Update Pr

git clone --depth 1 https://github.com/ReflexioAI/claude-smart.git /tmp/update-pr-src
mkdir -p ~/.claude/skills
cp -R /tmp/update-pr-src/.claude/commands/update-pr ~/.claude/skills/update-pr
# Requires GitHub CLI (`gh`) authenticated (`gh auth login`) and an existing OPEN PR for the current branch.
# Body also references sibling skills /commit and /create-pr (both present in the same repo under .claude/commands/).
# No external scripts, network installers, or secrets — pure gh/git instructions.

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger Update Pr

  • /update-pr Rebase a branch on its base, push, and rewrite the PR title and body from the full diff

It also activates on plain-language prompts like these:

  • Update this PR with the latest commits
  • Push my follow-up changes to the open PR
  • Refresh the PR description with new changes

Frequently asked questions

Is the Update Pr skill free?
Yes. The skill itself is free from ReflexioAI/claude-smart. SkillProof publishes the install command and an independent test verdict at no cost.
Does Update Pr work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 21, 2026. Verdict: Tested · Works. Fetched the SKILL.md at .claude/commands/update-pr/; frontmatter parses with name+description, no scripts/curl|sh/base64/injection smells. Confirmed the two sibling skills the body invokes (/create-pr, /commit) return HTTP 200. For output I built a temp git repo with a base branch and a feat/rate-limit branch (2 commits, real diff), then wrote a baseline PR description and a skill-template description from the same diff. Concrete deltas: baseline title "Add rate limiting to login" (no prefix) vs skill "feat: rate-limit login attempts to prevent brute-force" (<70 chars, conventional prefix); baseline was one prose blob naming files, skill produced Summary/Changes/Test Plan with a why ("closing a brute-force vector") and a manual repro test plan. I could not run the live rebase/push/gh pr edit steps (no authenticated gh or real open PR), so that orchestration is judged from the text, not executed.
What is the Update Pr SkillProof Score?
8.4/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 6/10, docs & honesty 5/5.
How do I install Update Pr?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Update Pr with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.