samcdavid/dotfiles/commit
Claude Code and agent skill by samcdavid/dotfiles
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Commit current changes in logical groups using my ~/.gitmessage template.
Install
npx vskill@latest install samcdavid/dotfiles/commitSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as samcdavid/dotfiles/commit.
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. Never bypass git hooks: they run important checks that must pass. 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.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingclaude/skills/commit/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 13
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/samcdavid/dotfiles/commit)