gogongxt/dotfiles/git-commit-simple
Claude Code and agent skill by gogongxt/dotfiles
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Commit changes with a simple, concise conventional-commit message — just a type prefix and a short one-line subject in English. Use when the user says "commit", "提交", "git commit", or wants to save changes with a brief message. Keeps messages short: no long body, no co-author trailers, no boilerplate.
Install
npx vskill@latest install gogongxt/dotfiles/git-commit-simpleSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Simple Git Commit
Commit staged (or all) changes with a short conventional-commit message.
Message format
- One line only. No body paragraph, no bullet lists, no co-author trailers.
- Subject is a few keywords, lowercase after the type, no trailing period.
- Keep it to ~50–60 chars; a second line is acceptable only if one line can't fit.
Allowed types
| Type | Use for | |
|---|---|---|
feat | new feature / new capability | |
add | add a file, config, or small thing | |
fix | bug fix | |
refactor | code restructure, no behavior change | |
docs | documentation only | |
chore | build, deps, tooling, misc | |
test | tests only |
If unsure, feat for new behavior, fix for corrections, chore for the rest.
Examples
Workflow
- See what changed:
``bash git status -s git diff --stat ``
- Stage. Stage only what the user asked for; if they said "commit everything",
git add -A. Otherwise stage explicitly (git add <paths>).
- Commit with the short message:
``bash git commit -m "feat: add dcl skill for kunpeng cr" ``
CRITICAL: Pre-commit hook failures — stop, do not self-fix
Repos often run pre-commit hooks on git commit (lint, format, type-check, tests). These hooks may fail the commit, and some hooks (e.g. formatters) may also auto-modify files. When the commit fails:
- Stop immediately. Do NOT retry the commit, do NOT run the hook's fix command,
and do NOT edit the code to "fix" whatever the hook complained about.
- Report the raw error to the user — show the full stdout/stderr that
git commit
returned, especially the pre-commit section. Quote it verbatim.
- Note whether any files were auto-modified by a hook (check
git status -s/ the
hook output) and tell the user, but do not stage or re-commit on your own.
- Wait for the user to decide what to do (fix manually, adjust the hook, skip with
--no-verify only if they ask, etc.).
Never silently patch code, run git add -A + re-commit, or pass --no-verify to bypass a failing hook without explicit user approval.
Rules
- English only, lowercase subject, imperative mood ("add" not "added").
- No co-author trailer, no
Co-Authored-By, no🤖 Generated withline. - No long body. If the change is complex enough to need explanation, still keep
the message to one line; the diff explains the rest.
- Don't amend or rewrite history unless asked.
- If there's nothing staged and the user didn't say to stage all, ask before
git add -A.
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 repositoryCheckingclaudecode/.claude/skills/git-commit-simple/SKILL.md
Popularity
- Repository stars
- 57
- Repository forks
- 6
- 7-day trend score
- 20
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/gogongxt/dotfiles/git-commit-simple)