pr-generator

Generate GitHub pull request descriptions from git diff analysis.

8|3|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/ucdavis/ai-skills-registry --skill pr-generator-ucdavis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-generator
Source: https://github.com/ucdavis/ai-skills-registry/tree/main/skills/git-workflow/pr-generator
Command: npx skills add https://github.com/ucdavis/ai-skills-registry --skill pr-generator-ucdavis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of GitHub pull request descriptions by analyzing the differences between two branches, saving developers time and ensuring consistent documentation.

Core Features & Use Cases

  • Automated PR Description Generation: Creates a template-filled PR description based on git diffs.
  • Impact Classification: Automatically detects if npm install, environment updates, or database changes are required.
  • Use Case: When you've finished a feature on featureBranch and want to create a PR against main, use this skill to generate a comprehensive description summarizing the changes, their impact, and any necessary follow-up actions.

Quick Start

Generate a PR description for the changes between the 'main' and 'develop' branches in the current repository.

Frequently Asked Questions about pr-generator

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

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

To generate a pull request description from a git diff, this Skill analyzes changes between two specified branches. It collects git diff, name-status, and log information via a Python script to summarize modifications and format them into a standard PR template.

Can I automatically detect database migrations or dependency updates for a GitHub pull request?

Yes, you can automatically detect database migrations or dependency updates for a GitHub pull request. The Skill classifies impacts by analyzing git diffs to identify necessary actions like running npm install, updating environments, or applying database changes.

What is the best way to automate PR template generation for feature branches?

The best way to automate PR template generation is using a script that processes differences between your feature branch and main. This Skill summarizes key modifications and required follow-up actions, filling out a standard template automatically to ensure consistent documentation.

Do I need any external dependencies to summarize git changes between branches?

No, you do not need any external dependencies to summarize git changes between branches. The Skill operates independently using internal scripts to process git diff, name-status, and log information directly within your repository environment.

Does this automated PR description generator work without a continuous integration pipeline?

Yes, the automated PR description generator works without a continuous integration pipeline. It functions locally by executing a Python script to analyze branch differences and output a formatted PR description directly from your repository.