generate-pr-description

Generate structured PR descriptions from code diffs and PR metadata.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/martin-janci/claude-code-reviewer --skill generate-pr-description
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-pr-description
Source: https://github.com/martin-janci/claude-code-reviewer/tree/main/.claude/skills/generate-pr-description
Command: npx skills add https://github.com/martin-janci/claude-code-reviewer --skill generate-pr-description

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate structured PR descriptions automatically by analyzing diffs and PR metadata, saving time and ensuring consistent messaging.

Core Features & Use Cases

  • Analyze a PR diff to produce a clean, structured description with sections like Summary, Changes, and Testing.
  • Retrieve the PR title and merge it with the generated description to preserve context.
  • Apply the generated description back to the PR with a single command, streamlining collaboration decisions.

Quick Start

Provide a PR number or URL to generate a structured description from the diff and optionally apply it to the PR.

Frequently Asked Questions about generate-pr-description

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

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

You can generate a PR description by providing a PR number or URL. The tool analyzes the code diff and PR metadata to produce a structured description with Summary, Changes, and Testing sections.

What is the best way to create structured GitHub PR descriptions from diffs?

The best way to create structured PR descriptions is to use diff analysis automation that formats output into Summary, Changes, and Testing sections with deterministic formatting and present-tense guidance for consistent messaging.

Can I apply a generated PR description directly back to the GitHub pull request?

Yes, you can apply the generated PR description back to the pull request with a single command. It retrieves the PR title, merges it with the generated description, and updates the PR to streamline collaboration.

What sections are included when drafting PR descriptions from code diffs?

Drafting PR descriptions from code diffs produces structured sections including Summary, Changes, and Testing. It analyzes the diff content and fetches PR metadata to format a complete description ready to apply.

Do I need to manually format the output when generating pull request descriptions?

No, manual formatting is not needed. The tool uses deterministic formatting with present-tense guidance to automatically structure the generated PR description from the diff, ensuring consistent messaging across pull requests.

How does PR metadata improve the quality of automated diff descriptions?

PR metadata improves automated diff descriptions by fetching the PR title and merging it with the generated content. This preserves context and produces a structured description that accurately reflects the code changes.