@spikat/pi-pr-description
v1.1.1
Published
Generate Markdown pull request descriptions from Git branch commits in Pi
Downloads
41
Maintainers
Readme
pr-description
A Pi extension that adds the following command:
/gen-pr-descIt compares the current branch commits with a detected base branch (origin/HEAD, origin/main, origin/master, main, then master) and asks the assistant to generate an English Markdown pull request description.
The following template is used:
### What does this PR do?
### Motivation
### Describe how you validated your changes
### Additional NotesOnce the description is generated, the extension offers to copy the Markdown to the clipboard.
Usage
Try it temporarily:
pi -e ./pr-descriptionInstall it in a project using auto-discovery:
mkdir -p .pi/extensions
cp -R pr-description .pi/extensions/
piThen run:
/gen-pr-descPi Web
When @spikat/pi-web is loaded in the same Pi process, /gen-pr-desc can also be invoked from the local dashboard. Its generated response streams into the live web transcript.
