PR Title and Description Generator

Generate GitHub Pull Request titles and descriptions from final code state.

1|Updated Sep 9, 2025
One-click install
npx skills add https://github.com/alienfast/claude --skill pr-title-and-description-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: PR Title and Description Generator
Source: https://github.com/alienfast/claude/tree/main/skills/pr-update
Command: npx skills add https://github.com/alienfast/claude --skill pr-title-and-description-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) and references (resource) and templates (resource) components.

What problem does it solve?

Manually crafting accurate and comprehensive GitHub Pull Request titles and descriptions is time-consuming and prone to errors, especially when needing to reflect the final state of code changes, not just commit history. This Skill automates that process, ensuring PRs are always precise and up-to-date.

Core Features & Use Cases

  • Dynamic PR Generation: Automatically creates or updates PR titles and descriptions based on the actual code changes in the current branch's HEAD.
  • Code-Verified Documentation: Critically verifies that every feature or change mentioned in the PR description actually exists in the final code, preventing documentation of reverted or removed features.
  • Structured Output: Generates PRs with clear sections for summary, categorized changes, breaking changes, testing, and cost impact, following best practices.
  • Use Case: After completing a complex feature branch, simply ask the AI to "update the PR description for this branch." The Skill will analyze your code, generate a detailed PR, and even verify its contents against the actual files.

Quick Start

Update the PR description for my current branch. Ensure it accurately reflects the final code changes and includes a summary of new features and bug fixes.

Frequently Asked Questions about PR Title and Description Generator

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

FAQPage Schema
How do I automatically generate accurate GitHub PR titles and descriptions from my code changes?

This Skill generates PR titles and descriptions by analyzing your branch's final code state using git commands. It creates structured output with summaries, categorized changes, and breaking changes, then verifies that documented features actually exist in the final code to prevent outdated documentation.

Can I verify that my PR description matches the actual code I've written?

Yes. The Skill validates every feature or change mentioned in the PR description against the actual files in your HEAD state, catching reverted or removed features before the PR is submitted and ensuring documentation accuracy.

What's the best way to keep PR descriptions up-to-date after code reviews and rebases?

Ask the Skill to update the PR description for your current branch. It re-analyzes the final code state and regenerates the title and description to reflect only the changes present in HEAD, automatically staying current with your latest commits.

Does this work with complex feature branches involving multiple commits?

Yes. The Skill inspects the final code state rather than commit history, so it accurately documents feature branches with many commits, bug fixes, and infrastructure changes by analyzing what actually exists in the branch's HEAD.

Can I use this for infrastructure changes and bug fix PRs, or just features?

The Skill applies to PRs involving features, bug fixes, and infrastructure changes. It generates structured sections including summaries, categorized changes, testing notes, and cost impact, adapting the output to match your PR type.

What do I need to set up before using this Skill?

You need the `gh` GitHub CLI tool installed and available in your environment. The Skill uses git commands to inspect your branch and the GitHub CLI to interact with pull requests.