git-commit
Installation
SKILL.md
Commit Message Generator
Generate commit messages from staged changes following Conventional Commits.
Workflow
-
Get staged diff
- Run
git diff --cached - If output is empty, inform user there are no staged changes and exit
- Run
-
Generate commit message
- Analyze the diff content
- Apply the rules below to produce a commit message
-
Confirm and commit
- Display the generated commit message
- Ask user to confirm, edit, or cancel
- Only commit after user confirmation
- Run
git commit -m "<message>"
Related skills
More from chenmijiang/cmj_skills
lightweight-explorer
轻量探索模式 — 用最少 token 完成代码搜索和调研。核心理念:只读搜索不需要加载全部工具和项目规则。适用于:(1) 搜索代码库找文件/函数 (2) 调研项目架构 (3) 多文件分析 (4) 回答"代码里哪里有 X"类问题。
4humanizer-zh
|
2universal-translator
Use when translating documents between languages while preserving style, tone, and cultural context - analyze source style first, then adapt target language naturally
1