Skip to content
Agentmart
Submit a tool

update-pr-description

Update the PR's title and description to accurately reflect the changes.

Skill by lucaspimentel

IndexedMIT
Write a review

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/lucaspimentel-update-pr-description

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.

We use your email only for this newsletter. Privacy

About

Update the PR's title and description to accurately reflect the changes.

No 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-description

What's inside

Skill name
update-pr-description
Description
Update the PR's title and description to accurately reflect the changes.
License
MIT
Instructions
48 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

Update the PR's title and description to accurately reflect the changes.

## Analysis Steps
1. Fetch PR details: `gh pr view --json title,body,commits,files`
2. Review all commits and changes: `gh pr diff`
3. Understand the full scope of changes (not just latest commit)
4. If the PR title and description were not empty, show me a summary of what will change (added, removed, etc) before updating the PR

## Title Requirements
- Keep concise (≤ 72 characters recommended)
- Use imperative mood (e.g., "Add feature" not "Adds feature")
- Accurately summarize the overall change
- If the title already starts with a tag in `[]` (e.g., `[Build]`, `[Azure Function]`), preserve it exactly and only update the rest of the title.
- If there is no existing tag, add an appropriate topic tag in `[]`:
  e.g., "[Azure Function] Add feature"

## Description Requirements
- Follow repository template if available (search case-insensitive):
  - `pull_request_template.md`
  - `.github/pull_request_template.md`
  - `docs/pull_request_template.md`
- If no template, include:
  - Summary of changes (what and why)
  - Testing performed (do not include test counts such as "23 tests passed"; state that the suite passes instead)
  - Breaking changes or migration notes (if applicable)
- Keep concise but complete
- Use bullet points for clarity
- The joke footer is opt-in, never automatic:
  1. Generate three short, concrete joke candidates appropriate to the changes; include the existing joke as a candidate if the description already has one.
  2. Ask the user which to use via the host's structured question tool (e.g., AskUserQuestion in Claude Code, ask_user_question in pi, or the equivalent); present the actual joke text in each option plus an explicit "No joke" choice.
  3. Wait for the answer. If the tool is unavailable or the question goes unanswered, stop before applying the PR update; do not infer consent.
- Only the selected candidate becomes the footer, formatted as an italicized quote with no model, agent, or harness name:
  > *"[selected joke]"* 🤖
- If the user selects "No joke", omit the joke footer and remove any existing joke footer and attribution. Otherwise, replace an existing joke with the selected candidate. Never keep or add a joke the user did not select.

## Updating PR

### When editing an existing PR description
1. Save the current PR description to a temp file and print its path: `tmp=$(mktemp) && gh pr view --json body --jq .body > "$tmp" && echo "$tmp"`
2. Use the Edit tool to modify the temp file at the echoed path with the new description (this lets the user see the diff and approve before changes are applied)
3. Once approved, apply: `gh pr edit PR_NUMBER --title "..." --body-file <echoed-path>`
4. Clean up the temp file at the echoed path

### When creating a new PR or the existing description is empty
1. Write the description directly using `gh pr edit PR_NUMBER --title "..." --body "..."`
   - No temp file needed since there's nothing to diff against

From lucaspimentel/agent-skills, MIT.

More from lucaspimentel/agent-skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 20, 2026 (8 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from lucaspimentel

Cite this page

update-pr-description skill. Agent Mart. https://agentmart.dev/skills/lucaspimentel-update-pr-description (last updated 2026-10-24)