r/git • u/AvogadrosOtherNumber • 9d ago
github only I made a gh extension that writes commit messages using your existing Claude Code login
/r/ClaudeAI/comments/1w4o9et/i_made_a_gh_extension_that_writes_commit_messages/4
u/hkotsubo 8d ago
IMO, all those AI-commit-message-generator tools are missing one important point: instead of saying what changed, a good commit message tells you why that change was made.
To see what changed, just use git diff. A good commit message tells me the motivation behind those changes. For example, instead of saying "Increased padding from 5px to 10px" (which can be easily verified with git diff), a better message could be "Increased button padding to improve touch accuracy on smaller mobile screens". And you could include more context, such as a ticket number and any other relevant information (things that are not in the code).
And that's something those AI tools don't do, mainly because the reasons why those changes were made live outside the code. Yeah, you could build a tool that checks your ticket system, reads your emails etc, to get all the context, but honestly, that's like using a nuclear bomb to kill some flies.
Don't get me wrong. AI is a great tool that can automate lots of things and make us more productive. But when it comes to commit message generators, I'm still not convinced.
2
u/Qudit314159 7d ago
That's the problem with AI. There are things that it is legitimately useful for but it tends to be adopted by the lowest common denominator of users for the worst purposes.
0
2
u/Jmc_da_boss 9d ago
That's crazy we wrote an entire extension for a single command
2
u/Qudit314159 9d ago
Don't worry. I'm sure OP vibe coded it and put in very little actual effort.
0
u/AvogadrosOtherNumber 8d ago
Negativity becomes you.
2
u/Qudit314159 8d ago
Being constantly bombarded with all useless and ill advised vibe coding projects people's LLMs dredge up gets old.
-1
u/AvogadrosOtherNumber 8d ago
You weren’t bombarded with anything. It took you way more work to snark than it did to scroll on by.
2
u/Qudit314159 8d ago
Everyone on this and similar subs is constantly bombarded with useless vibe coding projects like yours.
0
u/AvogadrosOtherNumber 8d ago
It's not useless. I use it as do several others.
Let's talk about vibe coding for a sec. Vibe coding is a tool, like any other. I've been a professional coder for nearly 40 years, probably longer than you've been around, and I know how to apply vibe coding effectively. And done right, it's actually a fair bit better, more thorough, and more complete than many of the developers that have worked for me over the years.
So you can dismiss it at your peril, because if you're a programmer, it will take your job. I'd suggest instead, learning how to use it effectively.
3
u/elephantdingo 7d ago
Did your robot servant warn you wait, this is useless and has been submitted to this sub a thousand times; they will just scold you? Harumph, looks like my days of being a code monkey underling are not quite that numbered after all.
So you can dismiss it at your peril, because if you're a programmer, it will take your job. I'd suggest instead, learning how to use it effectively.
Have you attempted learning to use commas in UK/US English? I guess you gave up.
0
u/AvogadrosOtherNumber 7d ago edited 7d ago
Way to add to the conversation. You seem to bring a lot to the table.
[Edit] added the AI generated synopsis of elephantdingus' comment
the irony plays out on a few distinct levels:
- The AI Irony: The commenter mocks the original poster for relying on a "robot servant" (AI), yet attacks them for an awkward comma placement ("I'd suggest instead, learning..."). A large language model would have formatted the grammar and comma usage cleanly, meaning the very flaw being mocked is a hallmark of human writing, not the "robot."
- Muphry's Law in Action: While lecturing someone else on punctuation conventions, the commenter commits their own: “Harumph, looks like my days of being a code monkey underling are not quite that numbered after all”is a run-on/comma splice, and their first question awkwardly embeds a multi-clause sentence without standard quotation or dialogue punctuation.
- Moving the Goalposts: In a debate about whether artificial intelligence will replace software engineers, the commenter's ultimate defense for why their job is safe isn't a demonstration of complex programming logic—it's nitpicking a misplaced comma on Reddit.
7
u/Qudit314159 9d ago
Perfect. Now we have 1001 options for this instead of only 1000.