setup-conventional-commits
CommunityEnforce conventional commits with a Bash hook.
Authormalinskibeniamin
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Enforces conventional commit formats across repositories by providing a self-contained PreToolUse Bash hook that validates commit messages before they are recorded.
Core Features & Use Cases
- Intercepts git commit commands to validate messages against the conventional commit style (type(scope): description).
- Replaces external tooling (commitlint + husky) with a lightweight, self-contained workflow.
- Supports setup, team onboarding, and policy enforcement to ensure consistent commit history across projects.
Quick Start
Copy scripts/conventional-commits-check.sh and scripts/_hook-lib.sh into .claude/hooks and enable the PreToolUse hook in your settings.
Dependency Matrix
Required Modules
_hook-lib.sh
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: setup-conventional-commits Download link: https://github.com/malinskibeniamin/skills/archive/main.zip#setup-conventional-commits Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.