Skip to content
Back to skills

Git Conventional Commit

ASecurity

Create Conventional Commit messages with consistent type, scope, and body. Use when asked to write commit messages, enforce commit conventions, or improve commit history clarity.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
documentationgitperformancedocumentation

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 11, 2026

npx -y skills add 0xharryriddle/codex-field-kit --skill git-conventional-commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Conventional Commit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Git Conventional Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/0xharryriddle-git-conventional-commit/badge)](https://www.skillsdirectory.com/skills/0xharryriddle-git-conventional-commit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: git-conventional-commit
description: Create Conventional Commit messages with consistent type, scope, and body. Use when asked to write commit messages, enforce commit conventions, or improve commit history clarity.
---

# Git Conventional Commit

Write commit messages in Conventional Commits format and ensure checks passed before commit.

## Required Format

`type(scope)!: short imperative summary`

Optional body explains why and impact. Optional footer includes ticket links and breaking changes.

## Type Selection

Use this default mapping:

- `feat`: user-visible behavior or capability
- `fix`: bug fix
- `refactor`: internal change with no behavior change
- `perf`: measurable performance improvement
- `test`: test-only updates
- `docs`: documentation-only updates
- `build`: dependency/build pipeline changes
- `ci`: CI configuration changes
- `chore`: maintenance that does not fit above

See `./references/conventional-types.md` for examples.

## Process

1. Confirm `git-run-checks` passed for the staged slice.
2. Read staged diff: `git diff --cached`.
3. Pick the narrowest type and accurate scope.
4. Keep subject line under 72 chars and in imperative mood.
5. Add body only when it adds decision context.
6. Use `!` + `BREAKING CHANGE:` footer for incompatible changes.

## Optional Helper Script

Use `./scripts/compose-conventional-commit.sh` to draft a message skeleton.

## Boris-Inspired Operating Rules

- Prefer precision over verbosity.
- Explicitly state assumptions when scope is ambiguous.
- Keep semantic history clean so reviews and bisects stay fast.

## Claude Mapping (Optional)

- If project uses slash commands, expose `/commit-msg` to call the helper script.

Files in this skill

  • SKILL.md1.7 KB
  • agents/openai.yaml206 B
  • references/conventional-types.md562 B
  • scripts/compose-conventional-commit.sh380 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…