Skip to content

Swipe right for a newer agent, README Doctor. Swipe left for an older agent, Explain Like I'm Shipping.

Issue 09 · 13 Sep 2026 · Easy · Free

Commit Message Fortune

AI commit message generator for Conventional Commits

You know the change worked and you still type 'fix stuff' because writing the real sentence feels longer than the fix.

Category
Fun & Weird

Sample you can paste

Repo: billing API.
The diff stops trusting body.total and sums the cart on the server again.
Tests: the new test posts a fake total of 1 and expects the stored total to match the cart.
No ticket number. No breaking API change. Do not mention the customer's name anywhere.

Steps

  1. Step 1

    Say what the diff did

    One to five lines: the behavior that changed, the test you ran, and anything the message must not include. You do not need to paste a secret or a customer name to get a good subject.

  2. Step 2

    Paste the prompt

    You get two outputs. The first is the message you may commit. The second is a fortune-cookie version that stays in the chat.

  3. Step 3

    Commit the plain one

    Copy the Conventional Commit. If the subject wraps past 72 characters, shorten it before you commit. Leave the joke out of git log.

  4. Step 4

    Keep the fortune if it helps you remember

    The joke is for you. If it names a person, a customer, or a slur, it failed. Throw it away and keep the plain message.

What you get

What you put in and what you get out

When to use it

Use it when the change works and you are about to type 'fix stuff' because the real sentence feels longer than the fix.

When to skip it

It writes from what you say the diff did. It does not read your repo, so it will not catch a change you forgot to mention.

Sample run

0:00

The change

Checkout sums the cart on the server again and ignores a client total of 1.

Full prompt

commit-message-fortune.prompt.txt

You write two commit messages from a description of a diff. One is safe to commit. One is a fortune cookie that must not be committed.

INPUTS
- What changed, in the author's words.
- Test they ran, if any.
- Forbidden: names, customers, or tickets they said to leave out.

RULES
- The committable message uses Conventional Commits: feat, fix, docs, refactor, test, chore. Pick one.
- Subject is imperative, no period, 72 characters or fewer.
- Body is optional and only for the reason. Do not restate the subject.
- Do not invent a ticket, a co-author, or a breaking-change footer unless they said so.
- The fortune is one or two sentences. It may tease the code. It may not tease a person's body, identity, family, or any name on the forbidden list.
- If you cannot be funny without breaking that rule, write a flat fortune: "The diff did the thing. You may go."
- Label the fortune DO NOT COMMIT.

OUTPUT
## Commit
The message inside a fence.

## Fortune
DO NOT COMMIT
The joke.

## Why this type
One line on the Conventional Commit type you picked.

Copied it? Get the Friday roundup. Seven agents and one tip, once a week.

How it works

The useful output is a Conventional Commit a teammate can trust next month. The fortune is the joke you are not allowed to push. You paste what the diff did and what it must not mention. You commit only the plain message.

The joke can tease the code. It cannot tease a person, a customer, or a group. If the only funny version needs a name you were told to leave out, the fortune is one dry sentence and the plain message still ships.

Subject line under 72 characters. Body only if the reason is not obvious from the subject. No ticket number you did not provide.

Questions about Commit Message Fortune

What is the fortune for?

It is a joke line you read and do not push. The real output is a Conventional Commit subject and body a teammate can trust in git log.

Can I paste the diff instead of describing it?

Yes. A short diff works. Big diffs produce vague subjects, so describe the behavior change in one or two lines when the diff is long.

Is Commit Message Fortune free?

Yes. The prompt is free to copy, download, and reuse under CC-BY-4.0. There is no sign-up on One Agent a Day. You only need access to a chat model such as ChatGPT, Claude and Gemini.

Which AI tools does Commit Message Fortune work in?

It was written for ChatGPT, Claude and Gemini. It is a plain-text prompt, so any capable chat model can run it. Paste the prompt first, then your input.

What do I paste into Commit Message Fortune?

Say what the diff did. One to five lines: the behavior that changed, the test you ran, and anything the message must not include. You do not need to paste a secret or a customer name to get a good subject.

Compare and find more

Share this agent

Commit Message Fortune — You put in Repo: billing API.. You get out The cut. Free from One Agent a Day.

Share on XShare on LinkedIn
Was this useful?

A yes or no is enough. The note stays on this server's log.

Friday email

The week’s 7 agents, in one email

Every Friday. Seven free prompts, one tip, one “paste this first.” Unsubscribe anytime.

One email, every Friday. Confirm on the next page. Unsubscribe anytime.

The daily agent stays free. Pro waitlist is a separate list, and it is not open yet.

Friday email

The week’s 7 agents, in one email

Every Friday. Seven free prompts, one tip, one “paste this first.” Unsubscribe anytime.

One email, every Friday. Confirm on the next page. Unsubscribe anytime.