Generate GitHub pull request descriptions by analyzing git changes between two branches. Use when the user asks to create or draft a PR description based on branch diffs (for example, "Generate a PR for the changes between featureBranch and mainBranch") and expects a filled template with summary, motivation, and change impact flags.
68
82%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Advisory
Suggest reviewing before use
Generate a PR description by comparing a base branch and a head branch, summarizing key changes, and filling the required template sections. Detect whether dependency installs, env changes, or database updates are required based on the diff.
Require both branches and the repo root. If missing, ask for:
Run the helper script to gather all required data in files:
scripts/collect_pr_changes.py <base> <head> --repo <path>Use the generated files in pr_change_snapshot/:
name_status.txt (file-level changes)diff.txt (full diff)log.txt (commit log)Set the template flags using these heuristics:
npm install: package.json, package-lock.json, pnpm-lock.yaml, yarn.lock, or workspace config changed..env*, *.env, .env.example, configuration templates, or documentation about new env vars changed.If uncertain, leave the flag as :x: and note uncertainty in Additional Information.
Build a concise summary that covers:
If UI files changed (.tsx, .jsx, .css, .scss, web/, frontend/, client/), request screenshots or note that screenshots are required.
Output the PR in a markdown fenced code block so it can be copy/pasted as-is.
Populate the template exactly. Keep the formatting and headings unchanged.
Replace :x: with :white_check_mark: where required.
## Description
- :x: This PR requires an `npm install`.
- :x: This PR requires an update to the `env` file.
- :x: This PR makes changes to the database.
### Summary of Changes:
Please include a summary of the changes and the related issue.
### Motivation for Change:
Explain the motivation for the change and the approach used.
### Additional Information
Please add any other relevant information or context about the pull request.
---
## Screenshots (if applicable)
If your changes include UI updates, please provide screenshots for better context.This skill includes a helper script:
scripts/collect_pr_changes.py: Writes name-status, full diff, and log outputs to pr_change_snapshot/.c0b2e4b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.