Show HN: Cocommit – A copilot for git commit
Published on: 2025-09-25 09:16:00
Cocommit: A Copilot for Git
Cocommit is a command-line tool that works with your HEAD commit and leverages an LLM of your choice to enhance commit quality.
A good commit consists of multiple elements, but at a minimum, it should have a well-crafted commit message. Cocommit analyzes the message from the last (HEAD) commit and suggests improvements, highlighting both strengths and areas for enhancement.
Cocommit v2 is currently in development and will introduce many new features—see the v2 documentation for details.
Cocommit utilizes LangChain as an abstraction layer to access various Large Language Models (LLMs).
Why Use Cocommit?
Works with the LLM of your choice
Provides a simple foundation for building custom AI-powered tools
Easily integrates into your development workflow
Allows customization of the LLM experience to fit your project needs
Table of Contents
Example CLI Session
Session Start
git add . git commit cocommit -s bedrock-claude37
Execution Output
Calling wi
... Read full article.