git-commit

Validate git commit messages and enforce pre-commit checks before push.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/VladlenFilimonov/hex-kotlin-monolith-template --skill git-commit-vladlenfilimonov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/VladlenFilimonov/hex-kotlin-monolith-template/tree/main/.claude/skills/git-commit
Command: npx skills add https://github.com/VladlenFilimonov/hex-kotlin-monolith-template --skill git-commit-vladlenfilimonov

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents multi-round review cycles by automatically performing pre-commit validation and enforcing consistent commit messages for commit and push operations.

Core Features & Use Cases

  • Pre-commit validation before staging to catch issues early.
  • Commit message formatting that derives issue references from the branch name and rejects non-conforming messages.
  • Enforced branch-based workflow rules to ensure safe pushes and predictable history.

Quick Start

Begin a commit on your feature branch to automatically run pre-commit checks and format the commit message.

Frequently Asked Questions about git-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce pre-commit validation before staging changes?

Pre-commit validation catches issues early by automatically running checks before staging changes. This Skill applies validation rules and formatting during your git commit workflow to prevent unsafe trailers and ensure code quality before a push.

How do I format git commit messages to derive issue references from branch names?

Formatting git commit messages requires deriving issue references directly from your branch name. This Skill automatically extracts the reference and formats the commit message to meet project guidelines, rejecting non-conforming messages before push.

Do I need project-specific validation scripts to use this branching workflow?

Yes, you need project-specific validation scripts located in the scripts/ directory. This Skill depends on these scripts and branch-name conventions to properly derive issue references and enforce the commit workflow rules.

Can I use this commit workflow in backend and CI environments?

Yes, this commit workflow is designed for typical backend and CI environments. It enforces branch-based workflow rules to ensure safe pushes and predictable history across these continuous integration setups.

Why does pre-commit validation prevent multi-round review cycles?

Pre-commit validation prevents multi-round review cycles by automatically checking code quality and formatting messages before pushing. Catching issues early ensures safe pushes and predictable history without manual reviewer intervention.

What is the best way to prohibit unsafe trailers in git commit messages?

Prohibiting unsafe trailers is handled by enforcing robust commit message formatting rules. This Skill automatically rejects non-conforming messages and applies validation to ensure safe trailers during the push workflow.