# Writing Git Commits

> Write clear, focused Git commit messages and keep commits easy to review.

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

---


# Writing Git commits

Use this skill when preparing a commit.

1. Inspect the staged diff and identify the user-visible change.
2. Keep the subject concise, imperative, and specific.
3. Explain motivation and notable trade-offs in the body when needed.
4. Verify the final staged diff before committing.

