This automates your git commits with proper conventional commit formatting. It checks your repo state, stages unstaged files if needed, analyzes the diff, and generates commits following the Conventional Commits spec (feat:, fix:, chore:, etc.). The smart part is it detects when you've mixed multiple logical changes and suggests splitting them into separate commits instead of cramming everything into one messy message. It pulls your current branch, recent commits, and staged changes to give Claude full context. If you're tired of writing "updated stuff" or arguing with your team about commit message format, this handles the busy work and keeps your history clean.

skills.sh installs
172
GitHub stars
234
last updated
Jun 3, 2026

Install

$ npx -y skills add flora131/atomic --skill gh-commit --agent claude-code

Installs into .claude/skills of the current project.

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

  1. Checks which files are staged with git status
  2. If 0 files are staged, automatically adds all modified and new files with git add
  3. Performs a git diff to understand what changes are being committed
  4. Analyzes the diff to determine if multiple distinct logical changes are present
  5. If multiple distinct changes are detected, suggests breaking the commit into multiple smaller commits
  6. 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

Sponsors

Details

Repository
github.com/flora131/atomic
Category
Git & Pull Requests
First seen
Jun 3, 2026

More from flora131/atomic

All 39
1akillness avatarcode-reviewakillness/oh-my-skillscode review171skills.sh installs
2flora131 avatargh-create-prflora131/atomicgh create pr170skills.sh installs
3flora131 avatarsl-submit-diffflora131/atomicsl submit diff168skills.sh installs
4akillness avatargit-submoduleakillness/oh-my-skillsgit submodule167skills.sh installs
5akillness avatargit-workflowakillness/oh-my-skillsgit workflow167skills.sh installs
60xbigboss avatargit-best-practices0xbigboss/claude-codegit best practices149skills.sh installs