Gh Commit
Commit helper that stages changes, splits mixed diffs, and writes Conventional Commits messages.
- CCM score
- 42 of 100
- skills.sh installs
- 172
- GitHub stars
- 886
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers the commit workflow: staging unstaged changes, reviewing the diff, and writing the message
- Reads current status, branch, staged and unstaged stats, and the last five commits before committing
- Enforces the Conventional Commits 1.0.0 format with types, optional scopes, and
BREAKING CHANGEfooters - Suggests splitting a diff into several smaller commits when it contains multiple distinct logical changes
Install
$ npx -y skills add bastani-inc/atomic --skill gh-commit -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Smart Git Commit
Create well-formatted commit: $ARGUMENTS
Current Repository State
- Git status: !
git status --porcelain - Current branch: !
git branch --show-current - Staged changes: !
git diff --cached --stat - Unstaged changes: !
git diff --stat - Recent commits: !
git log --oneline -5
What This Command Does
- Checks which files are staged with
git status - If 0 files are staged, automatically adds all modified and new files with
git add - Performs a
git diffto understand what changes are being committed - Analyzes the diff to determine if multiple distinct logical changes are present
- If multiple distinct changes are detected, suggests breaking the commit into multiple smaller commits
- For each commit (or the single commit if not split), creates a commit message using conventional commit format
Best Practices for Commits
- Follow the Conventional Commits specification as described below.
Conventional Commits 1.0.0
Summary
Details
- Repository
- github.com/bastani-inc/atomic
- Category
- Git & Releases
- First seen
- Jun 3, 2026
Questions
What does the gh-commit skill do?
The gh-commit skill creates well-formatted git commits that follow the Conventional Commits format. If no files are staged, it stages all modified and new files, reviews the diff, and suggests splitting the work into several commits when it contains distinct logical changes.
How do I install the gh-commit skill?
Run npx -y skills add bastani-inc/atomic --skill gh-commit -y in your project to install it. Once installed, the agent can write conventional commit messages for your staged or unstaged changes.
Where does gh-commit sit in the Git & Releases category?
gh-commit is listed in the Git & Releases category on Claude Marketplaces, alongside triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr. It focuses on writing the commit message and organizing commits rather than guarding or reviewing them.
More from bastani-inc/atomic
All 11Similar to Gh Commit
More Git & Releasessl-commitflora131/atomic168 installsConventional-commit creation workflow for Sapling SCM that splits mixed changes into separate commits.
git-commitgithub/awesome-copilot49.5K installsGenerates Conventional Commits messages from the diff and stages related files before committing.
gh-create-prbastani-inc/atomic170 installsCommits unstaged changes, pushes the branch, and opens or updates a conventional-commit pull request.
conventional-commitgithub/awesome-copilot17.6K installsStructured XML prompt that generates Conventional Commits messages and runs the final git commit automatically.
Git Commit Helperdavila7/claude-code-templates456 installsGenerates conventional commit messages from staged git diffs, following a documented type and scope format.
commit-worksoftaworks/agent-toolkit4.2K installsGuided workflow that stages intended changes, splits work into logical commits, and writes Conventional Commits messages.