haacked/dotfiles/commit
Claude Code and agent skill by haacked/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Commit staged/unstaged changes with a well-crafted commit message.
Install
npx vskill@latest install haacked/dotfiles/commitSKILL.md
Commit
Commit changes with a message that follows project conventions.
force = true if --force is present in the arguments. message_hint = remaining text after stripping --force, or empty string if none was given.
Example invocations:
/commit/commit Fix race condition in job queue/commit Add webhook retry support/commit --force/commit --force Fix race condition in job queue
Steps
1. Gather Git Context
Run in parallel:
If git diff HEAD fails (no commits yet), run git diff --cached instead.
If git status shows a clean working tree with nothing staged, tell the user there is nothing to commit and stop.
2. Compose Commit Message
Format:
Subject line rules:
- Follow the commit-message conventions in the project agent instructions (imperative verb, final state not the journey, no volunteered AI attribution); no period at the end
- If
message_hintis non-empty, use it verbatim as the subject line (trim whitespace; do not rephrase)
3. Show Preview and Confirm
If force is true, skip to Step 4 immediately — do not show a preview or ask for confirmation.
Otherwise, display the proposed commit exactly as shown below, then stop and wait for the user to reply:
Ask: "Commit with this message? Reply yes to confirm, or describe any changes."
Do not proceed until the user replies. If the user requests changes, update the message and show the full preview again before asking once more.
4. Commit
Stage specific files by name. Do not use git add -A or git add ..
Use absolute paths in all bash commands.
5. Report Result
On success, show the short commit hash and subject line. On failure, show the full error output and stop.
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 repositoryCheckingai/skills/commit/SKILL.md
Popularity
- Repository stars
- 128
- Repository forks
- 21
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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/haacked/dotfiles/commit)