git-commit-helper
Generate descriptive commit messages by analyzing git diffs. Use when the user asks for help writing commit messages or reviewing staged changes.
原文 · 译文未通过检查适用对象:软件开发与测试。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Git Commit Helper
- Quick start
- Commit message format
- Types
- Examples
- Analyzing changes
- Commit message guidelines
- Multi-file commits
Analyze staged changes and generate commit message: Follow conventional commits format: feat: New feature fix: Bug fix docs: Documentation changes style: Code style changes (formatting, missing semicolons) refactor: Code refactoring test: Adding or updating tests chore: Maintenance tasks Feature commit: Bug fix: Refactor: Review what's being committed: DO: Use imperative mood ("add feature" not "added feature") Keep first line under 50 characters Capitalize first letter No period at end of summary Explain WHY not just WHAT in body DON'T: Use vague messages like "update" or "fix stuff" Include technical implementation details in summary Write paragraphs in summary line Use past tense When committing multiple related changes: Frontend: feat(ui): add loading spinner to dashboard fix(form): validate email format Backend: feat(api): add user profile endpoint fix(db): resolve connection pool leak Infrastructure: chore(ci): update Node version to 20 feat(docker): add multi-stage build Indicate breaking changes clearly: 1. Review changes: git diff --staged 2. Identify type: Is it feat, fix, refactor, etc.? 3. Determine scope: What part of the codebase? 4. Write summary: Brief, imperative d
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- davila7/claude-code-templates
- 源文件
- cli-tool/components/skills/development/git-commit-helper/SKILL.md
- 固定版本
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:davila7/claude-code-templates · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T14:01:44.374Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。