Gemma 4 Challenge: Build With Gemma 4 Submission
This is a submission for the Gemma 4 Challenge: Build with Gemma 4
What I Built
As developers, we repeatedly write commit messages, maintain changelogs, and switch context during development. I wanted to build a lightweight developer tool that could automate this workflow completely offline without relying on cloud APIs or external AI services.
So I built CommitAI — a local AI-powered Git assistant using Gemma 4 + Ollama.
The workflow is simple:
Read staged Git diff
Send it to a local Gemma 4 model
Generate a clean Conventional Commit message
Update changelog automatically
Execute the Git commit
I also added Git hook integration so the workflow becomes:
git add .…