Install
openclaw skills install @charlie-morrison/pr-description-generatorAuto-generate pull request descriptions from git diffs and commit history. Parses conventional commits, categorizes changes (features, fixes, refactoring), analyzes file impact, generates reviewer hints, and produces structured descriptions. Supports minimal, standard, and detailed templates with markdown or JSON output. Use when asked to generate PR descriptions, create pull request summaries, describe git changes, summarize a branch, or prepare a PR body. Triggers on "PR description", "pull request description", "generate PR", "describe changes", "PR summary", "what changed", "PR body", "PR template".
openclaw skills install @charlie-morrison/pr-description-generatorAuto-generate structured PR descriptions from git diffs and commit history. Pure Python + git CLI.
# Standard description (current branch vs main)
python3 scripts/generate_pr_description.py
# Compare against specific base branch
python3 scripts/generate_pr_description.py --base develop
# Minimal template (just bullet points)
python3 scripts/generate_pr_description.py --template minimal
# Detailed template (file breakdown + reviewer hints)
python3 scripts/generate_pr_description.py --template detailed
# JSON output (for automation)
python3 scripts/generate_pr_description.py --format json
# Different repo path
python3 scripts/generate_pr_description.py --repo /path/to/repo
# Save to file
python3 scripts/generate_pr_description.py --output pr-body.md
# Copy to clipboard
python3 scripts/generate_pr_description.py --copy
| Template | Use Case |
|---|---|
minimal | Quick summary, internal PRs |
standard | Default, most PRs |
detailed | Large PRs, cross-team reviews |
Best results when commits follow conventional format:
feat(auth): add OAuth2 login
fix(api): handle null response from payment gateway
refactor: extract validation into shared utility
docs: update API reference for v2 endpoints
Non-conventional commits are grouped under "Other Changes".