The author noticed a repetitive task of reading his commit history, collect important information and present it to the client. Hence, he decided to automate it using an AI-powered tool that can read and summarize git commits.
The CLI tool is open source and available in the GitHub repository named ai-commit-report-generator-cli. It uses various technology like Git Commands, LLMs for analysis, Agents for decision making, and structured prompts for generating targeted outputs.
The tool generates two types of reports, Technical Report and Business Report, which contains detailed information about each commit and a brief summary of the changes made, respectively.
The author has recorded four streams of coding sessions available on YouTube and Twitch Collection.
The tool requires the Gemni API key to function correctly, which is free to obtain from Google AI Studio.
The CLI tool applies filters to detect authors, days or weeks to consider starting from today and generates the technical reports accordingly.
The Commit AI Processor Agent analyzes the commit’s file changes and identifies the critical changes to be considered for generating a complete summary of the commit.
The tool generates a Daily Bullet Point Report that contains the summarized description of changes made that day in a non-technical and understandable format.
The generated reports can be viewed in the terminal after the tool prompt user to select which report they want to view.
The tool is an efficient way to avoid human errors and automate repetitive manual tasks that involve reporting to clients. The author also notes that there is more room for expansion of the tool in future updates.