# Git Commit Helper

> Writes clean, conventional commit messages from staged changes. Use when the user asks to commit, write a commit message, or summarize staged changes.

- Skill: `nir130/git-commit-helper` (Agent Skill)
- Install (CLI): `npx skillmds@latest add nir130/git-commit-helper`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nir130/git-commit-helper/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: nir130 (https://skillmd.com/u/nir130)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/nir130/git-commit-helper

---


# Git Commit Helper

When the user asks to commit staged changes:

1. Run `git diff --staged` to see what changed.
2. Determine the change type (feat, fix, refactor, docs, test, chore).
3. Write a concise conventional-commit subject line (<= 72 chars) plus an optional body
   explaining the "why".
4. Show the proposed message and let the user confirm before committing.

Never commit secrets or large generated files. If you see credentials in the diff,
stop and warn the user.

