update-pr-summary

Community

Refresh PR titles/descriptions from changes.

Authorfunsaized
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates updating a PR's title and description to reflect the full changeset in the current branch, reducing manual rewrites and drift between code and PR metadata.

Core Features & Use Cases

  • Fetch PR info: Retrieve the PR's current title, body, base branch, and head branch using gh pr view <pr> --json title,body,baseRefName,headRefName.
  • Analyze the complete changeset: Compare the base branch with HEAD via git diff <base-branch>...HEAD to capture all changes, ignoring unstaged edits.
  • Generate and apply updates: Produce a clean, readable summary following the create-pr format, then apply it with gh pr edit <pr> --title "..." --body "...".
  • Handle extra context: When invoked with extra text, treat it as the PR number or URL to update the correct PR.

Quick Start

Provide the PR URL or number and ask to update its title and body.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: update-pr-summary
Download link: https://github.com/funsaized/claude-and-codex-settings/archive/main.zip#update-pr-summary

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.