| name | pr-prep |
| description | Prepare a branch for a pull request and draft its title and body. Use when a branch is ready for a PR or when asked for a PR title and description. |
Run AGENTS.md, "Before opening a pull request" (every item) and the pull request prose rule
under "Patches and commits": title and body say what and why, nothing the commits already say,
no "Test plan" section, no em dashes. On top of it:
- When
@type/@treturn changed, generate the docs (ldoc .) and check the links land on
types, not functions.
- Compare
git diff against git diff -w for stray whitespace; bash tools/checks/pre-commit
covers the trailing blank line on staged files.
- Fixup commits stay unsquashed unless squashing was explicitly requested; the maintainer
reviews them before they are folded.
- After any force-push, re-read the title and body against the branch as it now stands.