update-pr
This skill should be used when the user asks to "update the PR", "update PR body", "update PR title", "sync PR description", "update pull request", or wants…
Skill by richin13
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/richin13-update-pr
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/update-pr
What's inside
- Skill name
update-pr- Description
- This skill should be used when the user asks to "update the PR", "update PR body", "update PR title", "sync PR description", "update pull request", or wants the pull request title and body to reflect the actual changes on the current branch.
- License
- MIT
- Instructions
- 80 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Update PR
Analyze the current branch's changes and update the associated pull request's title and body to accurately reflect what was done.
## Prerequisites
- The current branch must have an open PR (both `gh pr view` and `gh pr edit` work without a PR number when on the associated branch)
- `gh` CLI is authenticated
## Workflow
### 1. Gather Context
Run these commands in parallel to understand the current state:
```bash
gh pr view --json number,title,body,headRefName,baseRefName
```
```bash
gh pr diff
```
```bash
git log <baseRefName>..HEAD --oneline
```
Use `baseRefName` from the PR view output as the base branch for the log and diff commands.
### 2. Analyze Changes
Review ALL commits and the full diff, not just the latest commit. Identify:
- The nature of each change (new feature, bug fix, refactor, cleanup, etc.)
- Group related changes into coherent bullet points
- Note any files or areas of the codebase affected
### 3. Draft Title and Body
**Title rules:**
- Under 70 characters
- Summarize the overall intent, not individual changes
- Use imperative mood ("Add X" not "Added X")
- Accurate verb choice: "add" for new features, "fix" for bugs, "update" for enhancements, "remove" for deletions, "refactor" for restructuring
**Body format:**
```markdown
## Summary
- <bullet points describing changes>
## Test plan
- [ ] <verification steps>
---
> Drafted by <your name> 🤖
```
Keep bullet points concise. The summary should focus on "why" not "what" when possible. Test plan items should be actionable verification steps.
### 4. Present and Confirm
Show the drafted title and body to the user. Wait for explicit approval before applying.
### 5. Apply
Use the REST API directly to avoid a known GraphQL error where `gh pr edit` fails because it queries the deprecated "Projects (classic)" `projectCards` field:
```bash
gh api repos/<owner>/<repo>/pulls/<number> -X PATCH -f title="<title>" -f body="$(cat <<'EOF'
<body>
EOF
)" --jq '.html_url'
```
Always use a HEREDOC for the body to preserve formatting. Extract owner/repo from `gh repo view --json nameWithOwner --jq .nameWithOwner`.
After applying, return the PR URL from the output.From richin13/dotfiles, MIT.
More from richin13/dotfiles
- 0.643score
generate-img
richin13
Generate or edit images with OpenAI GPT Image 2.5 (Sunburst/Flare) through a bundled bash script.
SkillAFreshness: A★ 15Claude Code +9 - 0.598score
ste-writing
richin13
Rewrite prose (docs, READMEs, PR descriptions, error messages, release notes, comments — never code) into ASD-STE100 Simplified Technical English to remove…
SkillBFreshness: B★ 15Claude Code +9 - 0.597score
new-feature
richin13
Explicit-only workflow for deep feature exploration.
SkillBFreshness: B★ 15Claude Code +9 - 0.550score
fastapi-dev
richin13
FastAPI engineering choices.
SkillCFreshness: C★ 15Claude Code +9 - 0.528score
agent-browser
richin13
This skill should be used when the user asks to "open a browser", "navigate to a URL", "test the UI", "check a page", "browse a website", "take a screenshot"…
SkillCFreshness: C★ 15Claude Code +9 - 0.518score
grill-me
github.com/mattpocock
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 15Claude Code +9 - 0.485score
github-projects
richin13
Knowledge on how to work with Github projects.
SkillDFreshness: D★ 15Claude Code +9 - 0.463score
incremental-discovery
richin13
This skill should be used when the user asks to "investigate something incrementally", "start a discovery journal", "journal my findings", "explore this step…
SkillDFreshness: D★ 15Claude Code +9
Signals
- Stars
- 15
- Forks
- 5
- Open issues
- 0
- Last commit (this folder)
- Jul 23, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/richin13/dotfiles
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from richin13
- 0.643score
generate-img
richin13
Generate or edit images with OpenAI GPT Image 2.5 (Sunburst/Flare) through a bundled bash script.
SkillAFreshness: A★ 15Claude Code +9 - 0.598score
ste-writing
richin13
Rewrite prose (docs, READMEs, PR descriptions, error messages, release notes, comments — never code) into ASD-STE100 Simplified Technical English to remove…
SkillBFreshness: B★ 15Claude Code +9 - 0.597score
new-feature
richin13
Explicit-only workflow for deep feature exploration.
SkillBFreshness: B★ 15Claude Code +9 - 0.550score
fastapi-dev
richin13
FastAPI engineering choices.
SkillCFreshness: C★ 15Claude Code +9 - 0.528score
agent-browser
richin13
This skill should be used when the user asks to "open a browser", "navigate to a URL", "test the UI", "check a page", "browse a website", "take a screenshot"…
SkillCFreshness: C★ 15Claude Code +9 - 0.485score
github-projects
richin13
Knowledge on how to work with Github projects.
SkillDFreshness: D★ 15Claude Code +9
Cite this page
update-pr skill. Agent Mart. https://agentmart.dev/skills/richin13-update-pr (last updated 2026-10-24)