/describe_pr
Generate PR descriptions from repository templates
Generate a pull request description that follows your repository’s standard template.
/describe_prPrerequisites
Section titled “Prerequisites”Create a PR description template at thoughts/shared/pr_description.md. The template defines the sections the agent fills out on every PR.
Process
Section titled “Process”- Read template. Loads
thoughts/shared/pr_description.md - Identify PR. Checks the current branch for an associated PR, or lists open PRs
- Analyze changes. Reads the full diff, commit history, and referenced files
- Run verification. Executes any verification commands from the template (e.g.,
make check test) - Generate description. Fills out each section of the template
- Save and sync. Writes to
thoughts/shared/prs/{number}_description.mdand syncs - Update PR. Updates the PR description on GitHub via
gh pr edit
Variants
Section titled “Variants”/describe_pr_nt: skips thoughts directory integration/ci_describe_pr: CI-optimized version