generating-commit-messages

seanogdev 的头像作者 seanogdev

暂存所有更改并按照约定式提交格式生成清晰的提交消息。在准备好提交工作时使用。

📖 中文导读:暂存所有更改并按照约定式提交格式生成清晰的提交消息。在准备好提交工作时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: Generating Commit Messages description: Stages all changes and generates clear commit messages following conventional commit format. Use when ready to commit your work.

Generating Commit Messages

Instructions

  1. Run git add . to stage all changes (if not already staged)
  2. Run git diff --staged to see changes
  3. I'll suggest a single-sentence commit message under 50 characters
  4. Use conventional commit format (feat:, fix:, docs:, style:, refactor:, test:, chore:)
  5. Ensure clarity and context for future reference

Best practices

  • Use present tense
  • Explain what and why, not how