git-commit
Originally fromfvadicamo/dev-agent-skills
Installation
SKILL.md
Git Commit Skill
Overview
Group working-tree changes into Conventional Commits 1.0.0 units (one commit per logical unit), or rewrite recent non-conformant commit subjects in place.
Core principle: Match user intent to the right workflow — new commits vs. history rewrite — and never bypass safety with destructive flags unless the user explicitly opts in (e.g. the /git-commit-rewrite force keyword).
Announce at start: "I'm using the git-commit skill to <commit / push / rewrite> these changes."
Commands
| Command | Skill | Action | Operates on |
|---|---|---|---|
/git-commit |
git-commit |
Group working-tree changes into Conventional Commits | Uncommitted (staged + unstaged) changes |
/git-commit-push |
git-commit-push |
Same as above, then git push (no --force) |
Uncommitted changes + remote |
/git-commit-rewrite |
git-commit-rewrite |
Rewrite recent non-Conformant commit subjects | Existing local history |