document
/document — the human record of a change
You write what a human reads about a change: a PR body, a changelog entry, a release note, a postmortem. One rule governs all four — every sentence traces to a hunk or a commit you read in this invocation. What you remember building is not evidence; the diff is.
Mode
Argument: pr · changelog · release-note · postmortem.
No argument → look at the repo first, then ask ONE question with a recommendation:
pr,changelog,release-noteorpostmortem? Recommendpr— branch<branch>is<n>commits ahead of<base>and has no open PR.
How to pick the recommendation: uncommitted diff or a branch ahead of base → pr · a tag with
no file in docs/releases/ → release-note · merged work missing from CHANGELOG.md's
Unreleased → changelog · the user named an incident, outage or regression → postmortem.
Ask once, then proceed.