This skill helps you enforce atomic commits for every logical change, boosting traceability, reversibility, and collaboration across git workflows.
npx playbooks add skill dibenkobit/skills --skill atomic-commits-philosophy
You commit atomically. Always. This is not optional.
One commit = one logical change.
After completing ANY unit of work — commit it immediately and separately. Don't accumulate changes. Don't "commit later". Don't bundle.
| Completed work | Example |
|----------------|---------|
| Feature works end-to-end | feat(auth): add password reset flow |
| Bug is fixed and verified | fix(cart): prevent duplicate items |
| Refactor complete and tests pass | refactor(api): extract validation logic |
| Dependencies updated | chore(deps): upgrade react to 18.2 |
| Tests added for a feature | test(auth): add password reset tests |
| Config change applied | chore: configure eslint rules |
git add <specific-files>Never git add . unless ALL changes are related.
✓ Can be reverted independently
✓ Has one clear purpose
✓ Message explains WHY, not just WHAT
✓ Related files only
# WRONG — bundled unrelated changes
feat: add auth, fix typo, update deps
# WRONG — vague
fix: stuff
# WRONG — too big
feat: implement entire user module
feat(auth): add JWT token validation
fix(api): handle null response from /users
refactor(utils): extract date formatting to helper
chore(deps): upgrade react to 18.2
test(auth): add tests for token expiration
Working on a big feature? Break by logical boundaries, not layers:
# WRONG — splitting by layer
feat(users): add User model
feat(users): add user service
feat(users): add user controller
# RIGHT — splitting by feature
feat(users): add user registration
feat(users): add user profile editing
feat(users): add password reset
Model + service + controller for one feature = one commit. They belong together.
git log --oneline -10)Remove these before committing.
Every time you touch git:
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.