chenmijiang/cmj_tools/git-commit
Claude Code and agent skill by chenmijiang/cmj_tools
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Commit changes when the user asks in natural language or invokes /commit; also generate a Conventional Commits message when requested without committing.
Install
npx vskill@latest install chenmijiang/cmj_tools/git-commitSKILL.md
The same SKILL.md was published earlier as chenmijiang/cmj_tools/git-commit.
Git Commit
Workflow
- Inspect
git status, staged and unstaged diffs, and identify the files changed by the current task. - If the user asked only for a message, generate exactly one message from the relevant diff and return it without changing Git state.
- For a commit request, stage only current-task files. If a file mixes current-task work with pre-existing changes, ask the user how to proceed and stop.
- Generate exactly one Conventional Commits message from the staged diff's primary intent:
- Choose the most specific type:
feat,fix,perf,refactor,docs,test,style,build,ci,chore, orrevert. - Prefer behavior change over refactoring, docs, or tests; use
choreonly when no specific type fits. - Add a short scope only when one area clearly dominates.
- Write a concrete, imperative description, preferably within 50 characters, with lowercase first letter and no trailing period.
- Add a 1-2 line body only when the reason, impact, context, or risk is not obvious.
- Use
!andBREAKING CHANGE:only for real consumer-facing breakage.
- Commit immediately. The user's commit request is authorization for this task; message confirmation is unnecessary.
- Report the commit hash and message. If Git hooks fail, report the failure and leave the resulting Git state unchanged.
Use git commit -m "<subject>" for a single-line message. For a multiline message, write it to a temporary file and use git commit -F <file> so newlines are preserved.
Stop without committing when no relevant changes exist or task-owned changes cannot be isolated safely.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/engineering/git-commit/SKILL.md
Popularity
- 7-day trend score
- 0
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/chenmijiang/cmj_tools/git-commit)