Commit
Engineering quality focused skills for AI coding agents that keep humans in the loop.
npx -y skills add kreek/consult --skill commitAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use for staging reviewed work, commit splits, and messages.
SKILL.md
4.0 KB, 898 tokens by cl100k_base, as published. Nobody here has run it
Commit
Iron Law
COMMIT ONLY THE REVIEWED SLICE. STAGE FILES BY NAME.
Commit packaging is common and should stay lightweight. Load git-workflow
only when branches, conflicts, rebases, history edits, recovery, or GitHub CLI
use are part of the task.
When to Use
- The user asks to commit, stage, split, or package current changes.
- You need to group dirty files into one or more logical commits.
- You need a right-sized commit subject or body for approved work.
When NOT to Use
- Creating or switching branches, resolving conflicts, rebasing, bisecting,
recovering history, deleting branches, or force-pushing. Use
git-workflow. - Reviewing correctness of the diff. Use
code-reviewbefore packaging non-trivial implementation work. - Preparing release versions, changelogs, tags, or publishing. Use
releaseonly when requested or approved.
Core Ideas
- A branch is not the commit boundary. Even on one branch, group changes by behavior so reviewers can understand what changed and maintainers can revert one behavior without dragging unrelated work with it.
- Logical commits are reader-facing history. A commit should explain one completed behavior, cleanup, or documentation change; nearby work can wait for a second commit when it would need a different rollback decision.
Workflow
- Inspect one compact preflight:
git status --short, current branch, staged diff stat, unstaged diff stat, and recent log. Stop on unexpected state. - Separate unrelated work by behavior, even when all changes belong to the
same branch. Stage only named files or approved pathspecs for the reviewed
slice; never use
git add .in a messy tree. - Verify staged membership with
git diff --cached --statand, when risk appears, inspect the staged diff before committing. - Confirm relevant proof is current. If a broad suite is noisy for unrelated reasons, name the targeted proof and report the broader drift separately.
- Write a commit message that completes "When applied, this commit will ...". Use a concise subject. Add a body only when the change needs context, up to 2-3 short paragraphs.
- Commit without skipping hooks. Afterward, check status and recent log.
Verification
- Only reviewed files are staged; unrelated dirty or untracked files are left unstaged and named as deferred.
- The staged diff matches one logical change.
- The relevant proof or acceptance check is current, or the blocker is reported as unproven.
- The subject completes "When applied, this commit will ...".
- The message is right-sized: concise subject, optional body, no generated
attribution trailers (
Co-Authored-By,Generated by, or similar). - Hooks were not skipped, and post-commit status/log were inspected.
Tripwires
| Trigger | Do this instead | False alarm |
|---|---|---|
| "Commit everything dirty" | Separate current reviewed work from unrelated files first. | The user explicitly approved the full dirty tree. |
| "git add . is faster" | Stage named files or approved pathspecs only. | Fresh scaffold with a clean tree where every file belongs. |
| "This needs a long message" | Use a concise subject plus at most 2-3 short body paragraphs. | Release or migration commits with approved notes. |
| "Skip hooks to save time" | Run the hook or fix/report its blocker. | None. |
| "Add Co-Authored-By or AI attribution" | Omit author-attribution trailers from the commit message. | The user explicitly requested a specific trailer. |
Handoffs
- Use
git-workflowfor branch hygiene, conflicts, rebases, bisects, history recovery, branch deletion, force-push decisions, or GitHub CLI use. - Use
code-reviewbefore committing non-trivial implementation changes. - Use
proofwhen the evidence for the staged behavior is unclear. - Use
releasefor approved version, changelog, tag, publish, rollout, or rollback work.
Gives 0 of the 12 instructions most pr commit review skills give in 898 tokens
Counted across 888 of the 1,342 authors here whose files we hold, read 2026-08-07
- use conventional commits formatin 127 of 888, across 115 files
- keep subject line under 72 charactersin 62 of 888, across 48 files
- delete branches after mergein 51 of 888, across 38 files
- use imperative mood in subject linein 51 of 888, across 42 files
- use imperative mood in commit messagesin 44 of 888
- verify directory is ignored before creating worktreein 43 of 888, across 12 files
- generate a conventional commit messagein 43 of 888
- add unignored worktree directories to gitignorein 42 of 888, across 10 files
- make atomic commitsin 39 of 888, across 27 files
- run tests before committingin 36 of 888, across 25 files
- verify clean test baselinein 35 of 888, across 9 files
- split unrelated changes into separate commitsin 35 of 888, across 30 files
Said here and by no other author read
- separate unrelated work by behavior
- confirm relevant proof is current
- limit body to three short paragraphs
- inspect post-commit status and log
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.