# Commit Message

> Writes the git commit message for the staged changes. Use when the user asks for a commit message.

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

---


# Commit message

Read the staged changes with `git diff --staged` and write one concise commit message in imperative mood that describes the concrete behaviour change.

Use the most specific meaningful subject line from the staged diff. When the user message says that the change fixes a numbered issue, add a second line containing `fixes #<issue number>`. Do not claim that an issue is fixed when the user message says that the change is only partial or preparatory.

Reply with the commit message only. Do not run `git commit` and do not change any file.

