git-commit
用于提交暂存更改时。在创建提交之前生成适当的提交消息并确认更改。
📖 中文导读:用于提交暂存更改时。在创建提交之前生成适当的提交消息并确认更改。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: git-commit description: Used when committing staged changes. Generates appropriate commit messages and confirms changes before creating commits.
Git Commit
Commit staged changes with appropriate commit messages.
Steps
- Run
git status,git diff --staged, andgit log -5 --oneline - Generate single-line commit message using conventional commit format (feat:, fix:, docs:, refactor:, test:, chore:, etc.)
- Match language (English/Japanese) from recent commit history
- Execute
git commit -m "message" - Verify with
git status