/atomic-commits:atomic-commitsfrom atomic-commits
Guides agents to commit early and often in atomic increments, separate feature/refactor/cleanup work, and keep pull requests under ~200 lines.
Ships in atomic-commits. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Work in small, focused increments. Every commit should be atomic. Every PR should be reviewable in one sitting.
Every commit must:
If the commit message needs "and", split it.
Target ~200 lines per PR. If larger, find a seam — ship refactor and feature as separate PRs, each independently mergeable and deployable.
git add --patch or specific files).This skill includes a PostToolUse hook (hooks/check-diff-size.sh) that monitors diff size after Edit/Write operations and nudges when it's time to commit or open a PR.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
atomic-commits@skills is listed by thoughtbot/skills — review the source before installing
npx claudepluginhub thoughtbot/skills --plugin atomic-commits