# Commit Message

> Use this skill when writing a Git commit message from a completed diff or set of changes.

- Skill: `eriic-builds/commit-message` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add eriic-builds/commit-message`
- Raw SKILL.md: https://api.skillmd.com/api/skills/eriic-builds/commit-message/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: eriic-builds (https://skillmd.com/u/eriic-builds)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/eriic-builds/commit-message

---


# commit-message

Write a concise, accurate Git commit message from the changes the user made.

1. Inspect the diff and identify the dominant user-facing change.
2. Use an imperative subject line under 72 characters.
3. Prefer a conventional-commit prefix such as `feat:`, `fix:`, `docs:`, or
   `chore:` when the repository uses that convention.
4. Add a short body only when it explains important context, tradeoffs, or
   behavior that is not obvious from the subject.
5. Never claim changes that are not present in the diff. Return the proposed
   message in a copyable code block and briefly explain the choice.

