Skip to content

NickCirv/pr-summary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pr-summary

Generate PR descriptions from your git diff — no manual drafting required

License: MIT Zero Dependencies Node

Install

npx github:NickCirv/pr-summary

Usage

# Basic summary from current branch vs main
npx github:NickCirv/pr-summary

# AI-polished description, copied to clipboard
npx github:NickCirv/pr-summary --ai --copy

# Compare against a different base branch and open a draft PR
npx github:NickCirv/pr-summary --base develop --open
Flag Description
--base <branch> Base branch to compare against (default: main)
--ai AI-polished summary via ANTHROPIC_API_KEY (Claude Haiku)
--copy Copy the output to clipboard
--open Open a draft PR using the gh CLI
--format <fmt> Output format: markdown or github (default: markdown)

What it does

pr-summary reads your git diff against a base branch and generates a structured PR description with a summary, commit breakdown, file-change list, and a test checklist. Pass --ai to refine the summary through Claude Haiku (requires ANTHROPIC_API_KEY). Pass --open to push the draft directly to GitHub via the gh CLI.


Zero dependencies · Node 18+ · MIT · by NickCirv

About

Generate structured PR descriptions from your git diff — summary, commits, file changes, and test checklist in one command

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors