Commit Issue Trailers

Put the issue or PR a commit belongs to at the end of the commit message, as a trailer whose prefix says what the relationship is — `ref:`, `related:`, `part-of:`, `follows-up:`, `reverts:`, `blocked-by:`. Use when writing or amending a commit message, when the work came from an issue or PR, when the branch name carries an issue number, or when the user names an issue or PR while asking for a commit. Shapes the message only: it does not stage, commit or push, and it never emits `Closes`/`Fixes`/`Resolves`, which close issues on merge.

matsubo Updated

File contents

matsubo/agent-skills/tree/main/skills/commit-issue-trailers commit 82e273d53e

Frequently asked questions

npx skillmds@latest add matsubo/commit-issue-trailers