update-pr SKILL.md skillA

update-pr from reflexioai/claude-smart is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add reflexioai/claude-smart/update-pr@git:20260919.5615f0d

Pins git:20260919.5615f0d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
reflexioai/claude-smart
Path
.agents/skills/update-pr/SKILL.md
Versions recorded
1
Latest version
git:20260919.5615f0d, committed Sep 19, 2026
Size
6,830 bytes
Repository stars
791
License
Apache-2.0

Update an existing pull request with new changes. Use when the user wants to update a PR, push follow-up changes to a PR, refresh a PR description, or sync a PR with latest commits. Triggers on: update pr, update-pr, update the pr, push to pr, refresh pr, sync pr, update pull request.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# PR Updater

Push follow-up changes to an existing PR and update its description to reflect the new work.

---

## Workflow

### Step 1: Pre-flight Checks

1. **Verify GitHub CLI authentication** — run `gh api user --jq '.login'` to confirm the CLI is authenticated. If this fails, the user needs to run `gh auth login` first.
2. **Find the existing PR** — run `gh pr view --json number,title,body,url,baseRefName,state` to find the PR for the current branch. If no PR exists, abort and suggest using `/create-pr` instead. Check the `state` field — if it is not `OPEN`, abort and inform the user that the PR is already merged or closed.
3. **Verify clean git state** — run `git status` to ensure no uncommitted changes. If there are uncommitted changes, commit them **directly** — do NOT delegate to another skill or tell the user to commit first.
4. **Sync submodules** — check if `.gitmodules` exists first. If it does, run `git submodule update --init --recursive`. If not, skip this step.

### Step 2: Sync with Base Branch

Ensure the feature branch is up-to-date with the base branch to avoid merge conflicts:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add reflexioai/claude-smart/update-pr@sha256:a9177fd86d67336f

The line at the top of this page pins the label git:20260919.5615f0d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fqyk6pbczcgcr2zt.svg)](https://markdownregistry.com/a/art_fqyk6pbczcgcr2zt)

7 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 19, 2026.

versioncommittedcommitsizeaudit
git:20260919.5615f0d latest2026-09-19 5615f0d 6,830 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6830 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

reflexioai/claude-smart · 791 stars · license Apache-2.0 · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fqyk6pbczcgcr2zt
GET https://markdownregistry.com/api/v1/resolve?ref=reflexioai/claude-smart/update-pr
GET https://markdownregistry.com/api/v1/blob/a9177fd86d67336fe56a051a26cf3ede8fa110bbd7ddc3aa60af90563306eb4b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from reflexioai/claude-smart

create-pr SKILL.md skill
reflexioai/claude-smart · .agents/skills/create-pr/SKILL.md · Create high-quality pull requests via gh pr create. Use when the user wants to create a PR, submit a PR, open a pull…
git:20260919.5615f0d · audit A · 791 stars
AGENTS.md@plugin/dashboard AGENTS.md file
reflexioai/claude-smart · plugin/dashboard/AGENTS.md
git:20260421.dbf9190 · audit A · 791 stars
claude-smart SKILL.md skill
reflexioai/claude-smart · plugin/skills/claude-smart/SKILL.md · Codex-only — use when the user asks to run claude-smart commands in Codex, including claude-smart show, learn, restart…
git:20261028.3327a42 · audit A · 791 stars

Every file in reflexioai/claude-smart

Other files named update-pr

update-pr SKILL.md skill
tobihagemann/turbo · claude/skills/update-pr/SKILL.md · Update an existing GitHub pull request's title and description to reflect the current state of the branch. Use when the…
git:20261023.d56f17f · audit A · 418 stars
update-pr SKILL.md skill
tobihagemann/turbo · codex/skills/update-pr/SKILL.md · Update an existing GitHub pull request's title and description to reflect the current state of the branch. Use when the…
git:20261023.d56f17f · audit A · 418 stars

Browse by kind, by grade A, or by owner.