pr-summary

Generate a GitHub pull request summary from branch commits and diffs.

413|31|Updated Mar 16, 2025
One-click install
npx skills add https://github.com/gittower/git-flow-next --skill pr-summary-gittower
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: pr-summary
Source: https://github.com/gittower/git-flow-next/tree/main/.claude/skills/pr-summary
Command: npx skills add https://github.com/gittower/git-flow-next --skill pr-summary-gittower

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you quickly create a polished pull request summary from branch history, diffs, and planning notes so you do not have to assemble the PR body by hand.

Core Features & Use Cases

  • Branch-aware context gathering: Detects the active branch and finds the matching .ai/ workflow folder for related planning documents.
  • Change analysis: Reviews commits, file changes, and diffs to understand what was implemented.
  • PR body drafting: Produces a PR summary that follows the repository template, includes the issue reference when present, and is ready for gh pr create.
  • Use case: A developer finishes a feature branch and wants an accurate PR description that reflects the concept, analysis, plan, and final code changes.

Quick Start

Ask the assistant to generate a PR summary for the current branch and save it as .ai/<matching-folder>/pr_summary.md.

Frequently Asked Questions about pr-summary

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

FAQPage Schema
How do I generate a GitHub pull request summary from branch commits and diffs?โ–ผ

To generate a pull request summary, the Skill reads branch metadata, commits, diffs, and workflow notes, then drafts a structured PR body compliant with repository templates. It outputs this summary directly to the repository's `.ai/` PR summary file for immediate use.

What is the best way to automate drafting a PR body for a feature branch?โ–ผ

Automating PR body drafting involves analyzing branch changes and matching planning documents to produce a ready PR summary. This Skill reviews your feature branch history and repository PR template rules to create an accurate description without manual assembly.

Does this PR summary generator work with existing repository PR templates and issue references?โ–ผ

Yes, the PR summary generator works with repository PR templates and issue references. It reads repository PR template rules and includes the issue reference when present, ensuring the generated PR body is fully compliant and ready for `gh pr create`.

Can I use workflow notes and planning documents to create a structured GitHub PR description?โ–ผ

You can use workflow notes and planning documents to create a structured GitHub PR description by placing them in the matching `.ai/` workflow folder. The Skill detects the active branch, finds these planning documents, and incorporates them into the final PR summary.

How to write a ready PR summary to a specific file path in my repository?โ–ผ

To write a ready PR summary, the Skill analyzes your branch diffs and saves the result as `.ai/<matching-folder>/pr_summary.md`. This ensures your pull request summary file is correctly structured and stored within the appropriate workflow folder for future reference.