Writing release notes from Git commits is easier if you give the AI two things: the changes between release tags and evidence of what customers can use. In our test, 1 of 2 announcements in the commit-only draft described a feature that was switched off. The same draft asked the editor to check availability. Someone copying only the customer section would have published the mistake.
We tested this on November 25, 2026, with a small, fictional app called Project Desk. Five commits landed between two local tags. We asked Claude for notes twice in separate sessions with the same prompt. The second time, we added the release configuration and the results of a before-and-after export. Here’s how to reproduce that editorial check on your own release.
Which commits belong in the draft?
Start with the last release your audience received and the tag you are preparing to announce. For our example those were v1.3.0 and v1.4.0. Run this from the repository, substituting your own tags:
git log --reverse --format="%h %s" v1.3.0..v1.4.0
This lists the commits reachable from the new tag after excluding those already reachable from the old one. The short hashes give an editor a way back to the source. In our log, the commit that added a project-count badge was followed by a revert. Reading only the feature titles would have missed the second half of that story. Git log documentation
Next, compare the two release trees:
git diff --stat v1.3.0 v1.4.0
Our summary listed the export code, the sidebar code and a test checklist. The badge file was absent from the final tree. A file appearing in the summary tells you where to look. It takes a separate check to establish what the change does for a user. To inspect a particular change, keep the same tags and give Git the path, as in git diff v1.3.0 v1.4.0 -- export.py. Git diff documentation
What evidence should I give the assistant?
Give each candidate announcement a concrete check. These were the three decisions that mattered in Project Desk:
1. CSV export order. We selected Zinc first and Amber second. The old release exported Amber, then Zinc. The new release exported Zinc, then Amber. Using names in reverse alphabetical order exposed the difference. Testing with Amber first would have produced the same order in both versions.
2. Sidebar colors. The new code could add a color to a project label, but the release configuration set show_project_colors to false . With that setting, a red project named Amber still displayed as “Amber.” Announcing colored labels would have sent users looking for something they could not see.
3. Project-count badge. The add and revert both appeared in the log. We checked the new tag’s file list with git ls-tree -r --name-only v1.4.0 . The badge implementation was absent. The remaining checklist edit documented a test and added no customer feature.
For a real release, include the deployed version and who has access. If only a pilot group has the feature, name the group in the editor’s evidence. Our local test established behavior under the example configuration. It supplied no production deployment record.
What prompt should I use for release notes from Git commits?
Paste this prompt above your tag range, change list, test results and rollout details. Keep the editor section with the draft until someone has resolved its questions.
Copyable prompt
Draft customer-facing release notes for Project Desk v1.4.0 using only the supplied release evidence. For each supported visible change, write one sentence telling the customer what they can do or what changed. Put uncertain, reverted or internal changes in a separate editor-only list with the reason. If availability or a claimed effect cannot be established, ask a specific question. Never invent rollout, metrics or scope. Return a customer section and an editor section.
Replace the product name and version before reusing it. If your team starts in GitHub Releases, its generated notes can supply merged pull requests, contributors and a full changelog link. Add the behavior and rollout evidence when turning that record into customer copy. GitHub’s guide to automatically generated release notes
What changed when Claude saw the test results?
With the log alone, Claude put both sidebar colors and the CSV fix in the customer section. It caught the reverted badge and asked a reasonable editor question about whether the colors were gated. The question did nothing to qualify the announcement already sitting above it.
With the release configuration and test results, the second draft put only the CSV fix in the customer section. It moved colors into the editor section, cited the disabled flag and asked whether the release had actually been deployed. It also included our example project names in the customer bullet. Those names helped prove the fix to the editor, so we kept them in the evidence and shortened the public wording.
Customer copy for the fictional release
CSV exports now list projects in the order you selected them.
Those two runs illustrate a specific editing failure. They do not measure how often a model will make it. For other development tasks where a local check can support an AI draft, see our eight Claude Code workflows for developers.
How do I decide whether a bullet is ready to publish?
1. Find the behavior. Point to a test, screenshot or reproducible action that shows what the user can now do. For the export fix, the evidence was two rows in a file.
2. Name the audience. Confirm which build and account settings a reader needs. A release branch can contain work that is still hidden.
3. Read the customer section on its own. If an editor question could make a sentence false, move that sentence out of the public draft until the owner answers. In this test, that one reading would have caught the sidebar announcement.
