{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/4"}],"enrichment":{"capability":"A pre-commit hook that validates git commit messages against Conventional Commits formatting rules, rejecting non-compliant messages and optionally enforcing scopes and custom commit types.","skillfed_tags":["git-workflow","commit-linting","conventional-commits"],"use_cases":["Enforce Conventional Commits across a team to enable automated changelog generation and semantic versioning.","Validate commit message format in CI/CD pipelines by running the command-line tool on commit message files.","Restrict commits to a specific set of types (e.g., feat, fix, docs) and require scope specification for better commit organization.","Prevent non-compliant commits from entering the repository during local development via pre-commit hook integration.","Use the Python API to validate commit messages programmatically in custom tooling or scripts."],"what_it_does":"conventional-pre-commit is a pre-commit hook that enforces Conventional Commits formatting on git commit messages. It integrates with the pre-commit framework to block commits that don't follow the pattern type(scope): subject, rejecting messages like \"add a new feature\" while accepting \"feat: add a new feature\". The hook supports customization through arguments to restrict allowed commit types (feat, fix, chore, etc.), enforce scope presence, define allowed scopes, and enable strict mode to disallow fixup and merge commits.\n\nIt can be deployed as a pre-commit hook in your repository's workflow or installed standalone via pip for command-line or programmatic use. The package has no runtime dependencies and integrates cleanly into existing development workflows. It provides clear error messages showing what went wrong and how to fix the commit message, with optional verbose output explaining the expected format.","worth_installing":"Yes. This is a low-friction, actively maintained tool that solves a real problem\u2014enforcing commit message consistency\u2014with no dependencies and permissive licensing. It's well-suited for teams adopting Conventional Commits. Install it if your project needs standardized commit messages for changelog automation or team discipline; skip it if you have no such requirement."},"id":"conventional-pre-commit","links":{"html":"https://skillfed.io/packages/conventional-pre-commit","md":"https://skillfed.io/packages/conventional-pre-commit.md","pypi":"https://pypi.org/project/conventional-pre-commit/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-18","license_spdx":null,"license_treatment":"permissive","name":"conventional-pre-commit","python_support":"supports_current","summary":"A pre-commit hook that checks commit messages for Conventional Commits formatting."},"popularity":{"monthly_downloads":135238,"position":11446,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.4.0"}
