Setup conventional commits

From redpanda-data/ui-harness · View interactive version

Setup conventional commits is an AI agent skill from the GitHub repository redpanda-data/ui-harness. Enforce conventional commit format via a PreToolUse hook on Bash that intercepts git commit commands. Replaces commitlint + husky entirely. Use when setting up conventional commits, commit message validation, or enforcing commit format standards.

How to use this skill

Skill file

Setup Conventional Commits

PreToolUse hook (Bash) intercept git commit -m -> validate format. Replace commitlint + husky (zero deps).

Format

type(scope): description

Steps

  1. Copy scripts/conventional-commits-check.sh + scripts/_hook-lib.sh -> .claude/hooks/. chmod +x.
  2. Add to .claude/settings.json: PreToolUse (Bash): .claude/hooks/conventional-commits-check.sh
  3. Optional: codex-compat for Codex .codex/hooks.json

Verify

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.