<< All versions

Skill v1.0.1

Automated scan100/100
samcdavid/dotfiles/commit

+3 new

──Details
PublishedNovember 4, 2026 at 05:17 AM
Content Hashsha256:bb935b8c3511b135...
Git SHAe96d29f8aba6
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 1.5 KB)
SKILL.md1.5 KBactive
SKILL.md · 38 lines · 1.5 KB

name: commit description: "Commit current changes in logical groups using my ~/.gitmessage template." when_to_use: "Use when the user asks to commit, save, or check in work, or says a change is ready to land." effort: xhigh metadata: version: "1.0.1"


Group the changes into logical commits. Stage only the files that belong together, and never sweep in unrelated changes I made.

Write each message from the template in ~/.gitmessage: a subject of 50 characters or fewer, a blank line, then its three headings with their underlines, each answered in a few lines wrapped at 72:

  • Why are these changes introduced?
  • Why do the changes satisfy the requirements?
  • How do these changes affect existing functionality?

Leave out the template's # comment lines. Pass the message with a heredoc, not an editor.

Pre-commit hooks are the gate. Let them run and read their output. A failed hook means nothing was committed, so don't report success until git log -1 shows the new commit.

  • If a hook rewrote files (a formatter, an autofixer), review what it changed,

stage it, and commit again.

  • If a hook reports errors (lint, types, tests, secrets), fix the code that

caused them, then commit again. Fix the cause. Don't silence the check: no disable comments, no rule or config edits, no skip variables like SKIP= or HUSKY=0.

  • If a fix would change behavior, reach well beyond the staged change, or the

hook seems wrong, stop and show me the hook output instead of guessing.

Never use --no-verify, never amend unless I ask, and never push.

← v1.0.0All versionsv1.0.2 →