I used to spend extra time writing detailed comments in my Git commits.
Not just about what changed, but why — so my team could learn from the reasoning behind my code. It also serves as a reference for my future self.
Not just about what changed, but why — so my team could learn from the reasoning behind my code. It also serves as a reference for my future self.
Fast forward to today.
Most of my code is written with AI now. I now add the prompts I used as comments in my Git commits. That way, it doesn’t just record the code changes — it records the conversation that shaped it.
Sometimes, when I use Gemini to recall the prompts from a coding session, it even shows me the initial prompt that Gemini CLI sends to the LLM. Like catching a glimpse behind the scenes of how it works.
To me, Git commits are no longer just about documenting code. They’re becoming a record of collaboration with AI.
And here’s another thought. This evolving Git history — code plus prompts — could become valuable training data to improve the next generation of coding LLMs.
What do you think? Do you add your prompts to your Git commits?
—
I share practical tips about business, marketing and AI
🔔 Follow me to learn more!
♻️ Re-post this to help others!
🔖 Save this for future reference!
💬 DM me for collaboration!
#GenAI #SoftwareDevelopment #Git #Coding #VibeCoding
Enjoyed this? Subscribe for more.
Practical insights on AI, growth, and independent learning. No spam.
More in Vibe Coding
Am I the only one feeling uneasy building AI agents with OpenCrawl after testing it for a while?
I've been building AI agents before OpenClaw, and building skills using Claude Code for a while. It's powerful. When I learned about OpenClaw, I knew exactly...
From ChatGPT to Claude Code: A Non-Techie’s Introduction to the Raw Power of AI by a Techie
Not because I don't like sharing. But because the only tool I use for 99% of my AI needs is Claude Code. And while I think it is not hard to learn, I'm never...
Wan Wei, Soh "begged" me to teach this course.
Today, I am launching Foundations of Claude Code, a 4-hour course on May 7, for non-techies who want to learn Claude Code properly and walk out with their ow...
"Why is my Claude Code different from his Claude Code, even though both of us are using VS Code?"
This is one of the questions I get from my Claude Code workshop for non-techies.
"Wait, you used to do THAT manually?"
I've been building software for 19 years. Something that would take me 2 months now takes 1 week.
I was doing vibe coding and saw AI generated this code.
Notice anything?
Am I the only one feeling uneasy building AI agents with OpenCrawl after testing it for a while?
I've been building AI agents before OpenClaw, and building skills using Claude Code for a while. It's powerful. When I learned about OpenClaw, I knew exactly...
"Why is my Claude Code different from his Claude Code, even though both of us are using VS Code?"
This is one of the questions I get from my Claude Code workshop for non-techies.
I was doing vibe coding and saw AI generated this code.
Notice anything?
From ChatGPT to Claude Code: A Non-Techie’s Introduction to the Raw Power of AI by a Techie
Not because I don't like sharing. But because the only tool I use for 99% of my AI needs is Claude Code. And while I think it is not hard to learn, I'm never...
Wan Wei, Soh "begged" me to teach this course.
Today, I am launching Foundations of Claude Code, a 4-hour course on May 7, for non-techies who want to learn Claude Code properly and walk out with their ow...
"Wait, you used to do THAT manually?"
I've been building software for 19 years. Something that would take me 2 months now takes 1 week.