From thoughtbot-dev
Use when implementing features, fixing bugs, refactoring code, or making any multi-step code changes. Guides agents to commit early and often in atomic increments, separate feature/refactor/cleanup work, and keep pull requests under ~200 lines. Use whenever writing code that will be committed, even if the user doesn't mention commits or PRs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/thoughtbot-dev:atomic-commitsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Work in small, focused increments. Every commit should be atomic. Every PR should be reviewable in one sitting.
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.
npx claudepluginhub thoughtbot/thoughtbot-dev --plugin thoughtbot-devProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.