# nutlope/aicommits

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/nutlope-aicommits).**

9,022 stars · 465 forks · TypeScript · MIT

## Links

- GitHub: https://github.com/Nutlope/aicommits
- Homepage: https://www.npmjs.com/package/aicommits
- awesome-repositories: https://awesome-repositories.com/repository/nutlope-aicommits.md

## Description

aicommits is a command line tool and AI code summarizer that generates descriptive git commit messages by analyzing staged code changes. It functions as an LLM git commit generator, transforming technical diffs into human-readable summaries based on standardized formats.

The project features a multi-provider AI interface that connects to either cloud-based or local artificial intelligence models. Users can customize generation logic through specific language locales, length constraints, and custom prompts to ensure consistent version control documentation.

The tool integrates directly into version control workflows via git hooks to automate the authoring process. It includes systems for managing AI provider credentials, model selection, and user preferences through configuration files and environment variables.

## Tags

### Development Tools & Productivity

- [Commit Message Generators](https://awesome-repositories.com/f/development-tools-productivity/commit-message-generators.md) — Uses AI to analyze staged code changes and generate descriptive git commit messages. ([source](https://github.com/nutlope/aicommits#readme))
- [Git Automation Tools](https://awesome-repositories.com/f/development-tools-productivity/git-automation-tools.md) — Automates the commit message authoring process to reduce manual documentation effort.
- [Staged Change Extraction](https://awesome-repositories.com/f/development-tools-productivity/project-scaffolding-config-code-generation/code-generation/llm-driven/diff-based-edit-application/diff-based-change-isolation/staged-change-extraction.md) — Extracts pending git changes via shell commands to provide the primary context for AI analysis.
- [Prompt Template Injection](https://awesome-repositories.com/f/development-tools-productivity/argument-injection-utilities/prompt-template-injection.md) — Dynamically injects code diffs and user preferences into generative AI prompts to guide output.
- [Git Hooks](https://awesome-repositories.com/f/development-tools-productivity/git-hooks.md) — Integrates with git hooks to automatically populate the commit message editor during the workflow. ([source](https://github.com/nutlope/aicommits#readme))

### Artificial Intelligence & ML

- [Codebase Change Summarization](https://awesome-repositories.com/f/artificial-intelligence-ml/codebase-change-summarization.md) — Transforms technical code diffs into human-readable summaries based on standardized formats.
- [LLM Provider Adapters](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-provider-adapters.md) — Provides a standardized interface to switch between various cloud and local AI model providers.
- [Model Provider Configurations](https://awesome-repositories.com/f/artificial-intelligence-ml/model-provider-configurations.md) — Manages API keys and model selection for both cloud-based and local AI runners. ([source](https://github.com/nutlope/aicommits#readme))
- [Multi-Model AI Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-model-ai-interfaces.md) — Acts as a flexible bridge connecting local or cloud-based AI models to the developer environment.
- [Output Constraint Customization](https://awesome-repositories.com/f/artificial-intelligence-ml/custom-generation-functions/output-constraint-customization.md) — Allows adjustment of AI output through custom prompts, language locales, and length constraints. ([source](https://github.com/nutlope/aicommits#readme))

### Software Engineering & Architecture

- [Commit History Standardization](https://awesome-repositories.com/f/software-engineering-architecture/commit-history-standardization.md) — Creates standardized commit histories using AI to summarize technical changes for team collaboration.

### Part of an Awesome List

- [Command Line Tools](https://awesome-repositories.com/f/awesome-lists/devtools/command-line-tools.md) — AI-powered meaningful git commit message generation.
- [Programming Tools](https://awesome-repositories.com/f/awesome-lists/devtools/programming-tools.md) — Automated generation of descriptive git commit messages.
