/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 (git/obsidian) or a page/object titled PR Description Template (notion/anytype). 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
- Verify. Lists the template’s automatable checks and asks whether to run them now; ticks only what passed
- Generate. A
heraldsub-agent fills each section from the diff and commits - Persist. Saves the record to
thoughts/shared/prs/{number}_description.md(git syncs, obsidian doesn’t) or as aPR #{number}: ...row on notion/anytype, withstatustracking the PR’s open/merged/closed state - Update PR. Updates the PR description on GitHub via
gh pr edit