update-pr-description

Generate GitHub PR descriptions from current branch changes using gh CLI.

198|19|Updated May 7, 2026
One-click install
npx skills add https://github.com/testdouble/han --skill update-pr-description-testdouble
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-pr-description
Source: https://github.com/testdouble/han/tree/main/han-github/skills/update-pr-description
Command: npx skills add https://github.com/testdouble/han --skill update-pr-description-testdouble

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate PR descriptions automatically from the current branch's changes, saving time and ensuring consistency across PR narratives.

Core Features & Use Cases

  • Generate a PR description from the current branch's changes against a GitHub PR using the gh CLI.
  • Supports drafting, updating, and summarizing PR bodies; clarifies what changed, why, and next steps.
  • Works with or without a repository PR template and reads branch state to tailor the description.

Quick Start

Run the update-pr-description skill on your current branch with an open GitHub PR to generate a ready-to-paste description.

Frequently Asked Questions about update-pr-description

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a GitHub PR description from branch changes?

To generate a PR description from branch changes, run the skill on your current branch with an open GitHub PR. It reads commit summaries and diffs against the default branch to produce a ready-to-paste PR body using the gh CLI.

Can I automatically update a pull request body using the gh CLI?

Yes, you can automatically update a pull request body using the gh CLI. The skill drafts, updates, or summarizes PR bodies by deriving context from the current branch state, including commit summaries and diffs, to clarify what changed and why.

Does the PR description generation work with repository PR templates?

Yes, PR description generation works with repository PR templates. The skill detects when a template is present and ensures the produced description aligns with it, while also functioning normally when no template exists in the repository.

What is the best way to summarize feature work and bug fixes in a pull request?

The best way to summarize feature work and bug fixes in a pull request is to automate description generation from branch changes. The skill reads the git diff and commit history to tailor the PR body for the specific type of work completed.

Do I need an open GitHub PR to draft a description from my current branch?

Yes, you need an open GitHub PR on your current branch to draft a description. The skill uses the gh CLI to interact with the existing pull request, applying the generated text directly to the PR body for feature work or documentation changes.