Skip to content
Back to skills

Git Commit Craft

ASecurity

Write small, scoped, well-explained git commits instead of one giant dump of unrelated changes.

  • 78 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
developmentgit

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add RYOITABASHI/Shelly --skill git-commit-craft --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Commit Craft?

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

Security grade badge for Git Commit Craft
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ryoitabashi-git-commit-craft/badge)](https://www.skillsdirectory.com/skills/ryoitabashi-git-commit-craft)

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-commit-craft
description: Write small, scoped, well-explained git commits instead of one giant dump of unrelated changes.
---
Before committing, group the working-tree diff into the smallest set of
logically-independent commits:

1. Run `git status` and `git diff` (staged and unstaged) first — never guess
   at what changed.
2. If the diff touches more than one concern (e.g. a bug fix AND an unrelated
   refactor, or app code AND a config/docs tweak), split it into separate
   commits with `git add <specific files>` rather than `git add -A`.
3. Write the subject line in the imperative mood ("fix", "add", "refactor" —
   not "fixed"/"adds"), under ~70 characters, and make it describe the
   *effect* of the change, not a literal file list.
4. Use the body (a blank line after the subject, then free text) to explain
   *why* the change was made, not what the diff already shows line-by-line.
   Call out anything a reviewer would otherwise have to reverse-engineer:
   a bug's root cause, a tradeoff you chose, a follow-up you deliberately
   deferred.
5. Never bundle a secret, credential, or generated/binary artifact into a
   commit "just to get it done" — stop and ask if you're unsure whether a
   file belongs.
6. After committing, run `git log --oneline -5` and `git status` to confirm
   the commit landed as intended and nothing was left uncommitted or
   accidentally staged.

If the repo has its own CLAUDE.md/CONTRIBUTING commit-message convention
(e.g. Conventional Commits, a required trailer, a specific verb list),
that project-specific rule always wins over the generic guidance above.

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.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.