gitpoet.dev — niche briefing2026-11-27
gitpoet

GitPoet: turn a diff into a commit message that explains itself

GitPoet reads a git diff and writes a commit message that explains what actually changed and why — conventional-commit style, no filler, no 'updates'.

Lead

The edition's main story

The flagship story of the edition — the development that matters most this cycle, explained plainly.

Brief

Second story

A supporting development with real consequences.

Brief

Third story

Context and background worth knowing.

Data

By the numbers

The figures behind the headline.

Topic Summary: gitpoet
What GitPoet isGitPoet is a small developer tool for the git workflow: paste a diff — staged changes, a pull request patch, o
Why a diff is the right input for a commit messageA commit message is a claim about a change, and the diff is the evidence.
How GitPoet reads a diffThe tool parses unified-diff structure — file headers, hunks and context lines — then summarises the semantic
Good commit messages versus lazy onesThe failure mode GitPoet exists to fix is the empty commit message: 'updates', 'fix stuff', 'wip'.
Overview

What GitPoet is

GitPoet is a small developer tool for the git workflow: paste a diff — staged changes, a pull request patch, or the output of git diff — and it writes the commit message for you. The point is not to replace the author but to translate the change into prose: what moved, why it moved, and which part of the system it touches.

Why diffs

Why a diff is the right input for a commit message

A commit message is a claim about a change, and the diff is the evidence. Asking a tool to write the message from the diff — rather than from the branch name, ticket title or the author's memory — keeps the message honest. When the prose and the patch disagree, the patch should win, and a diff-first tool is built around that rule.

  • The diff shows which files and functions actually changed, not which ones were intended to.
  • Added and removed lines reveal intent: a renamed helper, a widened condition, a moved import.
  • Commit messages written from evidence stay accurate even when the surrounding conversation is lost.
Mechanics

How GitPoet reads a diff

The tool parses unified-diff structure — file headers, hunks and context lines — then summarises the semantic content of the change. Small mechanical diffs (renames, formatting, dependency bumps) get short messages; architectural changes get messages that name the subsystem and the behaviour that changed. Output can follow conventional-commit style (feat, fix, refactor, docs) or plain prose.

Examples

Good commit messages versus lazy ones

The failure mode GitPoet exists to fix is the empty commit message: 'updates', 'fix stuff', 'wip'.

A useful message answers three questions a reviewer asks later — what changed, why it changed, and what to watch for. For example, 'fix(router): fall back to default provider when routing rules miss' tells a reviewer more in one line than a paragraph of adjectives.

Workflow

Using GitPoet day to day

The typical flow is paste, read, edit, commit. Paste the staged diff into the tool, review the generated message as a draft rather than gospel, adjust anything the diff could not know — the reason behind the change, a ticket reference — and commit. For teams, the same draft-first habit keeps history readable without adding a review step to every commit.

Fit

Where GitPoet fits in a developer's toolkit

GitPoet sits at the end of the editing loop and the start of the history: it does not touch code, run tests or push commits — it only writes the sentence that will label the change forever. For solo developers cleaning up 'wip' habits, and for teams whose blame history has gone quiet, that single step is often the whole problem.

Where GitPoet fits in a developer's toolkit
Domain availability