commit-discipline
Skill3 starsChanged 23 days agoMITView on GitHub
Voorkomt commit-spam: nooit autonoom committen tijdens werkbatches, werk verzamelen in de working tree, en op signaal van de gebruiker indelen in 3-7 thematische commits. Bevat het hergroepeer-recept voor als er toch te veel lokale commits staan. Gebruik bij elke commit-beslissing, bij "commit dit", "maak er commits van", "squash dit", en aan het eind van elke autonome werkbatch in een git-repo.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- whoaskedssselery/claude-workspacetheir own version, first seen Oct 20, 2026
- dfedoryshchev/weftworkstheir own version, first seen Oct 13, 2026
- applypack/applypacktheir own version, first seen Aug 27, 2026
- zaidmukaddam/skillstheir own version, first seen Aug 17, 2026
- ayush-singh-0601/commit-discipline-mcptheir own version, first seen Aug 11, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- applypack/applypack★ 30same name
- zaidmukaddam/skills★ 18same name
- dfedoryshchev/weftworks★ 5same name
- ayush-singh-0601/commit-discipline-mcp★ 1same name
- whoaskedssselery/claude-workspace★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository51 other files it gives its agents.
- guidelines/CLAUDE.mdCLAUDE.md
- animate-expoSkill
- animateSkill
- animation-vocabularySkill
- apple-designSkill
- ask-sonnerSkill
- batch-grill-meSkill
- bi-dashboardsSkill
- bouw-loopSkill
- brandkitSkill
- code-auditSkill
- councilSkill
- createlooppromptSkill
- data-visualizationSkill
- design-taste-frontendSkill
- diagram-designSkill
- dicht-loopSkill
- e2e-rulesSkill
- e2eSkill
- emil-design-engSkill
- find-animation-opportunitiesSkill
- find-bugsSkill
- fixing-accessibilitySkill
- fix-loopSkill
- frontend-gotchasSkill
- goalSkill
- improve-animationsSkill
- keten-loopSkill
- make-interfaces-feel-betterSkill
- mobile-nativeSkill
- office-docsSkill
- pick-ui-librarySkill
- polijst-loopSkill
- polpohire-designSkill
- pre-pr-gatesSkill
- projectstructuurSkill
- prototypeSkill
- readmeSkill
- reaSkill
- redesign-existing-projectsSkill
- render-proofSkill
- repo-hygieneSkill
- review-animationsSkill
- skill-finderSkill
- speur-loopSkill
- supergoalSkill
- systematic-debuggingSkill
- theme-selectorSkill
- transitions-devSkill
- ux-heuristicsSkill
- waak-loopSkill
The file
Files
Commit-discipline
Reviewers kunnen geen 20+ commits tegelijk beoordelen. Een dag werk wordt ingedeeld in een handvol thematische commits, en dat gebeurt pas op signaal van de gebruiker. Dit geldt in elke repo; in gedeelde repos met andere ontwikkelaars is het hard verboden om er vanaf te wijken.
De andere kant van dezelfde discipline: verzamelen betekent niet blind
doorwerken. In de Boomgaard&Munnik-sessie stonden 195 Edit-calls (5494
regels) in de working tree zonder één tussentijdse verificatie of
git status; één slechte edit was toen niet meer te isoleren geweest.
Verzamel in de working tree, maar verifieer per werkblok en check de
tree-status voor je verder bouwt. Detail en het waarom: [[commit-discipline]].
Aanpalend: de PreToolUse-hook ~/.claude/hooks/commit-guard.js bewaakt de
inhoud van elke commit (secrets, scratch-files, blocklist). Deze skill
bewaakt timing en granulariteit; de hook vangt wat er nooit in mag. Ze
vervangen elkaar niet.
De drie regels
- Nooit autonoom committen. Ook niet tijdens /goal-batches of lange autonome runs. Werk blijft in de working tree staan. Aan het eind van de batch: verifieer het werk en som in het eindbericht de voorgestelde commit-groepen op met messages. Committen gebeurt pas na expliciet signaal ("commit", "commit alles", "maak er commits van").
- Handvol, thematisch. Bij het signaal: deel in naar 3-7 commits op thema (feature-gebied), niet 1 mega-commit en niet per micro-stap. Een thema = wat een reviewer als één samenhangend verhaal kan lezen: "theme-systeem", "REST API + hardening", "Exact token-fix", "vertalingen".
- Nooit pushen zonder vraag. Squashen/hergroeperen mag alleen op commits die nog niet gepusht zijn.
Indelen
- Groepeer op padbasis per thema; één file kan maar in één commit, kies de commit waar de file inhoudelijk het meest bij hoort en dek de rest in de message (bijv. settings.py bij de API-commit, message noemt de i18n-regel).
- Bugfixes met tests krijgen een eigen
fix:-commit, los van feature-werk. - Conventional commits:
feat:,fix:,style:,chore:met een body die het waarom dekt. - Volgorde: fundament eerst (assets, settings), dan features, dan polish.
Hergroepeer-recept (te veel lokale commits, niets gepusht)
git branch backup/pre-squash # vangnet, niet overslaan
base_branch=$(git symbolic-ref --quiet --short refs/remotes/origin/HEAD || echo origin/main)
# takt de branch af van een andere branch (bijv. dev): zet base_branch daarop
git reset "$(git merge-base HEAD "$base_branch")" # mixed reset naar het aftakpunt: commits weg, werk blijft
# per thema:
git add <paden van thema 1> && git commit -m "feat: ..."
# ... herhaal per thema
git diff backup/pre-squash..HEAD # MOET leeg zijn: inhoud identiek
git status --short # working tree cleanDe lege diff tegen de backup is de verificatie; zonder die check niet klaar
melden. Backup-branch laten staan tot na de push, daarna mag hij weg
(git branch -D backup/pre-squash).
Anti-patronen (de reden dat deze skill bestaat)
- 12 commits in één autonome middag-batch maken "omdat het werk af was": de gebruiker kreeg bijna 24 commits richting een reviewer geduwd.
- Na elke sub-taak direct committen "voor de netheid": dat is netheid voor de agent, ruis voor de reviewer.
- Eén reuzen-commit "frontend redesign" met 60 files: net zo onreviewbaar als 24 losse.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

