pr-description

Generate structured PR descriptions from git diffs or descriptions.

3|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/sunny0826/open-source-skills --skill pr-description-sunny0826
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-description
Source: https://github.com/sunny0826/open-source-skills/tree/main/skills/pr-description
Command: npx skills add https://github.com/sunny0826/open-source-skills --skill pr-description-sunny0826

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the generation of structured, high-quality PR descriptions from git diffs or textual descriptions, reducing manual drafting time and minimizing overlooked details.

Core Features & Use Cases

  • Analyze provided git diff or description to identify core changes
  • Generate a structured PR description with sections for title, summary, changes, tests, and reviewer notes
  • Auto-detect change type (bug fix, new feature, refactor, or docs) and reflect it in the template
  • Support bilingual output (English/Chinese) based on the prompt language
  • Ensure safety: only uses the supplied content and never fetches external content

Quick Start

Paste a git diff or textual description into the prompt and ask me to generate a PR description.

Frequently Asked Questions about pr-description

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

FAQPage Schema
How do I generate a PR description from a git diff?

To generate a PR description from a git diff, paste the diff content into the prompt. The tool analyzes the core changes and outputs a structured template with a title, summary, key changes, test notes, and reviewer sections.

Can I write pull request descriptions automatically from textual change descriptions?

Yes, you can automatically write pull request descriptions by providing a textual summary of your changes. The generator identifies the core modifications and formats them into a professional, structured PR template.

Does the PR description generator support bilingual output for Chinese and English?

The PR description generator supports bilingual output, automatically matching the language of your prompt. If you request the description in Chinese, it produces the structured template in Chinese, defaulting to English otherwise.

How to categorize pull request types like bug fix or new feature automatically?

To categorize pull request types automatically, the generator analyzes the provided git diff to detect the change type. It determines whether the modification is a bug fix, new feature, refactor, or documentation update, and reflects this in the template.

What are the limitations of automating PR descriptions from git diffs?

A key limitation of automating PR descriptions is that the tool only uses the supplied content for safety. It never fetches external content or context, meaning the generated summary is strictly limited to the information within your pasted git diff or textual description.