← Back to Skills Marketplace
yang1002378395-cmyk

Git Commit Helper

by yang1002378395-cmyk · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ Security Clean
639
Downloads
0
Stars
2
Active Installs
28
Versions
Install in OpenClaw
/install git-commit-helper
Description
智能分析代码变更,自动生成符合 Conventional Commits 规范的中英文 Git commit 信息及 PR 描述。
README (SKILL.md)

Git Commit Helper Skill

🎯 智能生成 Git commit message,遵循 Conventional Commits 规范,提升代码质量和团队协作效率。

功能特性

核心功能

  • 自动生成 commit message - 根据代码变更智能生成
  • Conventional Commits 规范 - 遵循业界最佳实践
  • 多语言支持 - 中文/英文 commit message
  • 代码变更分析 - 理解修改意图
  • PR 描述生成 - 一键生成 Pull Request 描述

高级功能

  • Breaking Change 检测 - 自动识别破坏性变更
  • 关联 Issue - 自动关联 GitHub Issues
  • Commit 分类 - 按类型/模块分组
  • 历史学习 - 学习团队 commit 风格

使用方式

基础使用

帮我生成这次提交的 commit message

分析变更

分析这个代码变更,生成 commit message

指定类型

这是一个新功能,生成 commit message

多语言

用中文生成 commit message

PR 描述

为这次变更生成 PR 描述

输出格式

简短版本

📝 Commit Message

feat: add user login feature

详细版本

📝 Commit Message

feat(auth): add user login feature

- Add login page with email/password form
- Implement JWT authentication
- Add login API endpoint
- Add form validation
- Add loading state and error handling

Closes #123

PR 描述

## 📝 Pull Request

### 变更概述
添加用户登录功能

### 变更内容
- ✅ 登录页面(邮箱/密码表单)
- ✅ JWT 认证实现
- ✅ 登录 API 端点
- ✅ 表单验证
- ✅ 加载状态和错误处理

### 测试计划
- [ ] 测试正常登录流程
- [ ] 测试错误处理
- [ ] 测试表单验证

### 相关 Issue
Closes #123

Commit 类型说明

类型 说明 示例
feat 新功能 feat: add user login
fix 修复 bug fix: correct login validation
docs 文档更新 docs: update README
style 代码格式(不影响逻辑) style: format code
refactor 重构(不是新功能也不是修复) refactor: simplify login logic
perf 性能优化 perf: improve query speed
test 测试相关 test: add login tests
build 构建系统 build: update webpack config
ci CI 配置 ci: add github actions
chore 其他修改 chore: update dependencies
revert 回滚 revert: revert login feature

最佳实践

Commit Message 规范

\x3Ctype>(\x3Cscope>): \x3Csubject>

\x3Cbody>

\x3Cfooter>

示例

feat(auth): add user login feature

- Add login page with email/password form
- Implement JWT authentication
- Add login API endpoint

Closes #123
Breaking change: Session API changed

建议

  • 保持 subject 在 50 字符以内
  • 使用动词开头(add, fix, update, remove)
  • body 说明"做了什么"和"为什么"
  • 关联相关 Issue

使用场景

  1. 日常提交 - 快速生成规范 commit
  2. 团队协作 - 统一 commit 风格
  3. Code Review - 清晰描述变更内容
  4. 版本发布 - 自动生成 CHANGELOG
  5. 项目文档 - 保持提交历史可读

创建时间:2026-03-11 作者:ClawMart 版本:1.0.0

Usage Guidance
This skill is instruction-only and appears coherent with its stated purpose. Before installing: (1) confirm how your agent will provide repository context (diffs/staged changes) to the skill — the SKILL.md is high-level and expects that context to come from the agent or user; (2) do not grant repository credentials unless you trust the agent runtime that will supply diffs, since the skill itself does not request credentials but the agent may need them to access private repos; (3) review generated commit messages/PR text for accuracy and sensitive data leakage before publishing (automated generation can inadvertently include secrets or internal identifiers). If you require the skill to operate fully automatically, verify the agent's mechanism for reading the repo and storing any tokens it uses.
Capability Analysis
Type: OpenClaw Skill Name: git-commit-helper Version: 1.1.0 The skill bundle is a documentation-only package (SKILL.md) designed to guide an AI agent in generating standardized Git commit messages and PR descriptions. It contains no executable code, external dependencies, or suspicious instructions that would indicate data exfiltration or prompt injection attacks.
Capability Assessment
Purpose & Capability
Name/description (generate Conventional Commit messages and PR descriptions) matches the content of SKILL.md. No unexpected binaries, environment variables, or config paths are required.
Instruction Scope
SKILL.md contains templates, examples, and user prompts for generating commits/PR text but is high-level and does not specify concrete commands to read the repository or diffs. This is appropriate for an instruction-only skill, but implementers/agents will need to supply repository context (diffs, staged changes, or file contents) externally.
Install Mechanism
No install spec and no code files — lowest risk. Nothing is downloaded or written to disk by the skill as provided.
Credentials
The skill does not declare any environment variables, credentials, or config paths. That is proportionate for a commit-message generator.
Persistence & Privilege
always:false and default autonomous invocation are unchanged. The skill does not request persistent system privileges or modify other skills' configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install git-commit-helper
  3. After installation, invoke the skill by name or use /git-commit-helper
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
优化功能,修复问题
v1.0.52
- No file changes detected in this version. - Documentation and skill features remain unchanged. - Version incremented to 1.0.52 with no functional or content modifications.
v1.0.51
Version 1.0.51 - No code or documentation changes detected in this release. - All features and usage remain the same as the previous version.
v1.0.50
- No file changes detected in this release. - Documentation, features, and usage remain unchanged from previous version.
v1.0.49
- No changes detected in this version. - The SKILL.md file remains unchanged from the previous release.
v1.0.48
- Version bump to 1.0.48 with no file changes. - No updates to functionality or documentation.
v1.0.47
Version 1.0.47 - No file changes detected in this release. - No updates or modifications to functionality or documentation.
v1.0.46
Version 1.0.46 - No file changes detected in this release.
v1.0.45
Version 1.0.45 - No file changes detected in this release. - Documentation and features remain consistent with the previous version.
v1.0.44
- No file changes detected in this version. - Documentation, features, and usage remain unchanged.
v1.0.43
Version 1.0.43 - No file or documentation changes in this release. - Functionality and features remain unchanged from the previous version.
v1.0.42
Version 1.0.42 - No code or documentation changes detected in this release.
v1.0.41
- No file changes detected in this release. - Documentation (SKILL.md) reformatted without content changes. - No feature updates or bug fixes included.
v1.0.40
Version 1.0.40 - No file changes detected for this release. - Functionality and documentation remain unchanged from the previous version.
v1.0.39
Version 1.0.39 - No code or documentation changes detected in this release.
v1.0.38
- No file changes detected in this version. - Documentation content remains unchanged. - No new features, bug fixes, or other updates introduced in this release.
v1.0.37
- No file changes detected in this version. - No updates to functionality, documentation, or features. - Version number updated only.
v1.0.36
- No file changes detected in this release; no updates or fixes included. - All functionalities and documentation remain unchanged from the previous version.
v1.0.35
1. No code or documentation changes detected in this release. 2. Version bump to 1.0.35 with no modifications to files.
v1.0.34
Version 1.0.34 - No file changes detected in this release. - No updates or modifications to SKILL.md or code.
Metadata
Slug git-commit-helper
Version 1.1.0
License MIT-0
All-time Installs 3
Active Installs 2
Total Versions 28
Frequently Asked Questions

What is Git Commit Helper?

智能分析代码变更,自动生成符合 Conventional Commits 规范的中英文 Git commit 信息及 PR 描述。 It is an AI Agent Skill for Claude Code / OpenClaw, with 639 downloads so far.

How do I install Git Commit Helper?

Run "/install git-commit-helper" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Git Commit Helper free?

Yes, Git Commit Helper is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Git Commit Helper support?

Git Commit Helper is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Git Commit Helper?

It is built and maintained by yang1002378395-cmyk (@yang1002378395-cmyk); the current version is v1.1.0.

💬 Comments