Skip to content
Skills Library
Programming · Writing

update-pr

/update-pr

Creates comprehensive PR descriptions by systematically reviewing ALL changes - features, bug fixes, tests, docs, and infrastructure. Use when user asks to "update the PR", "prepare PR for review", "write PR description", or "document branch changes". Requires gh CLI.

Licence
MIT
Last repository change
21.06.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 21.06.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Creates comprehensive PR descriptions by systematically reviewing ALL changes - features, bug fixes, tests, docs, and infrastructure. Use when user asks to "update the PR", "prepare PR for review", "write PR description", or "document branch changes". Requires gh CLI.

Triggers from the description

update the PRprepare PR for reviewwrite PR descriptiondocument branch changes
Original author description

Creates comprehensive PR descriptions by systematically reviewing ALL changes - features, bug fixes, tests, docs, and infrastructure. Use when user asks to "update the PR", "prepare PR for review", "write PR description", or "document branch changes". Requires gh CLI.

How it works

  1. Phase 1: Complete Change Inventory
  2. Phase 2: Categorize Changes
  3. Phase 3: Write Comprehensive Summary
  4. Phase 4: Update the PR
  5. Quality Checklist
  6. Gotchas
Original SKILL.md headings · 98 lines, 518 words
SKILL.md preview
---
name: update-pr
description: Creates comprehensive PR descriptions by systematically reviewing ALL changes - features, bug fixes, tests, docs, and infrastructure. Use when user asks to "update the PR", "prepare PR for review", "write PR description", or "document branch changes". Requires gh CLI.
allowed-tools:
  - Read
  - Write
  - Edit
  - Glob
  - Grep
  - Bash(git:*)
  - Bash(gh:*)
user-invocable: true
context: fork
---

# Comprehensive PR Description Creator

Create thorough PR descriptions that document EVERY meaningful change, not just the headline feature.

## Phase 1: Complete Change Inventory

Determine the PR's base branch, then review the full diff, changed files, and all commits since branching.

**NEVER assume you know what's in the PR based on branch name or first glance.** PRs often contain secondary bug fixes, performance optimizations, test infrastructure improvements, documentation updates, dependency changes, and configuration adjustments alongside the main feature.

## Phase 2: Categorize Changes

Using the diff output, create a categorized inventory of EVERY changed file:

| Category | What to look for |
|----------|-----------------|
| **Core application** | New methods, refactoring, bug fixes, performance improvements |
| **Bug fixes** | Scan commit messages for "fix", "bug", "correct", "resolve" |
| **Infrastructure** | Interceptors, middleware, base classes, test fixtures |
| **Configuration** | Config files, constants, environment settings, package files |
| **Tests** | New test files vs modified, test patterns, coverage improvements |
| **Documentation** | README, docs folders, inline documentation |
| **Build & tooling** | package.json, build configs, CI/CD, scripts |
| **UI/Frontend** | Components, styles, state management |

For each commit, identify the category (feature, bugfix, test, docs, refactor, perf, chore) and understand WHY the change was made, not just WHAT changed.

## Phase 3: Write Comprehensive Summary

Structure the PR description to cover all categories:

```markdown
## Summary

[One sentence covering the MAIN change, plus brief mention of other significant improvements]

## User Impact

**[Main Feature Category]:**
- [Specific user-facing improvements]

**[Secondary Categories if applicable — e.g., Reliability, Performance]:**
- [Bug fixes with impact]
- [Performance improvements]

## Technical Notes

### 1. [Main Feature Name]
[Detailed explanation with file references]

### 2. [Bug Fixes / Corrections]
[Each bug fix: location, what was wrong, impact, fix]

### 3. [Infrastructure / Performance]
[Test improvements, framework changes, optimizations]

### 4. [Configuration & Dependencies]
[Constants, config changes, dependency updates]

### 5. [Documentation]
[README updates, new docs, removed obsolete content]

## Testing

[Comprehensive test results with specific numbers]

## Implementation Approach

[List ALL commits with brief explanation of each]

---

Generated with [Claude Code](https://claude.com/claude-code)
```

## Phase 4: Update the PR

Show the summary to the user and ask if they want to update the PR. Only update with `gh pr edit` after approval.

## Quality Checklist

Before finalizing, verify:

- **Completeness**: Every commit is represented in the summary
- **Accuracy**: All bug fixes are documented with impact
- **Context**: WHY changes were made, not just WHAT changed
- **Organization**: Changes grouped logically
- **Specificity**: File paths for critical changes
- **Impact**: User-facing vs internal changes clearly separated
- **Testing**: Actual test results reported, not assumptions

## Gotchas

- PRs often contain a week's worth of work across multiple areas. The biggest mistake is focusing only on the main feature and skipping "small" changes like constants, config, docs, and especially bug fixes.
- If no PR exists yet, create one first before running the update process.
- Shell constructs like `$()`, `&&`, and variable assignments in Bash calls can trigger permission prompts. Prefer simple, single-command calls when possible.
Files in this package (3)
  • EXAMPLES.md 7 KB
  • README.md 2 KB
  • SKILL.md 4 KB

Versions

RepositoryScoreLicence
This page · propstreet/claude-powerpack100MIT
alexandermattturner/agent-sanitizer100Apache-2.0
reflexioai/claude-smart100Apache-2.0

Database snapshot: 13.11.2026 · package version bd1b60646ab8 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90update-pr-description
    Generate a PR description from the current branch's changes against a GitHub PR, using the gh CLI. Use when writing, drafting, or updating pull request descriptions, PR summaries, or PR bodies. Does not review code or post review comments — use code-review for local review or…
  • 100pr-describe
    Generate a structured PR description from the current branch's changes. Use when the user says "generate PR description", "describe PR", "PR summary", "pr-describe", "describe my changes", or "write PR description".
  • 100pr
    Write or update a pull request title and description from the actual changes and available evidence. Use when the user asks to prepare, open, describe or update a PR, or improve an existing PR description.
  • 90write-pr-description
    Write a pull request title and description from the actual changes on a branch, then open the pull request or update an existing one on Bitbucket or GitHub using the OmniDev tools. Use when the user asks to raise a PR, write or refresh a PR description, or says a branch is ready for review.
  • 100descriptions
    Draft or revise a pull-request description. Use when a user asks for a "PR description", "pull request summary", or "change description".
  • 100create-pr-description
    Generate a structured PR description from staged git changes when the user asks to create, write, or draft a pull request description

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.