pr-desc

Updates GitHub pull-request descriptions from branch commits using gh CLI, git, and Python.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/salimhamed/dotfiles --skill pr-desc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-desc
Source: https://github.com/salimhamed/dotfiles/tree/main/.claude/skills/pr-desc
Command: npx skills add https://github.com/salimhamed/dotfiles --skill pr-desc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of updating a PR description to reflect the current branch context, ensuring the PR body stays aligned with recent commits and changes.

Core Features & Use Cases

  • Automated PR description updates based on the active branch context.
  • Incorporates commit summaries, changed files, and diffs to produce a concise, actionable description.
  • Use Case: After adding a feature on a feature branch, refresh the PR body to reflect the scope and recent changes without manual editing.

Quick Start

Run the pr-desc workflow to refresh the PR description for the current branch. The skill will gather context from the local repo and apply the new description using the included scripts.

Frequently Asked Questions about pr-desc

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

FAQPage Schema
How do I automatically update a PR description from branch commits?

You can automatically update a PR description by gathering branch context and commit summaries to generate a concise body. This skill inspects local repo diffs and changed files to refresh the PR body without manual editing.

Do I need the GitHub CLI to refresh a pull request body from local commits?

Yes, you need the GitHub CLI installed to apply the updated PR description. The workflow also requires git and Python to gather the necessary branch context and execute the update scripts.

What is the best way to keep a PR description aligned with recent branch changes?

The best way to keep a PR description aligned is to automate context gathering from your feature branch. By analyzing commit summaries and changed files, you can regenerate the PR body to reflect the current scope accurately.

How does automated PR maintenance handle diff context for code reviews?

Automated PR maintenance handles diff context by extracting changed files and commit logs from the local repository. It synthesizes this branch context into an actionable summary to keep code review descriptions accurate.

Does this PR update workflow work without manual intervention after pushing commits?

Yes, the workflow runs automatically to apply PR updates after you push commits. It extracts the latest branch context and updates the PR body directly through the GitHub CLI without requiring manual text editing.