Conventional Git

•

Enforce, validate, and generate Conventional Commits and Conventional Branch names to maintain consistent Git history.

Conventional Git is a versatile tool designed to standardize Git practices across development teams. It enforces Conventional Commits and Conventional Branch naming conventions by integrating directly into the development workflow through deterministic Git hooks. For automated agents, it provides structured violation reports via the Model Context Protocol (MCP), enabling self-correction. Developers can also use its command-line interface (CLI) to directly validate and generate commit messages and branch names, ensuring consistency from the start. This tool helps improve code quality, streamline review processes, and enhance collaboration by ensuring a clear, searchable, and maintainable Git history.

주요 기능

01Validate commit messages and branch names with detailed reports (code, field, message, fix_hint).
02Suggest commit messages from diffs using built-in heuristics or external LLM providers.
03Generate Conventional Commit messages and branch names.
04Install `commit-msg`, `pre-commit`, and `pre-push` Git hooks for enforcement.
05Expose validation and convention details through MCP tools for agent integration.
060 GitHub stars

사용 사례

01Automate the enforcement of Conventional Commits and Branches in Git repositories via hooks.
02Generate standardized commit messages and branch names directly from the command line.
03Validate commit messages and branch names in CI/CD pipelines to ensure compliance.