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

  1. Run git status, git diff --staged, and git log -5 --oneline
  2. Generate single-line commit message using conventional commit format (feat:, fix:, docs:, refactor:, test:, chore:, etc.)
  3. Match language (English/Japanese) from recent commit history
  4. Execute git commit -m "message"
  5. Verify with git status