← 返回 Skills 市场
239
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install git-commit-helper-pro
功能描述
Automatically generates standardized Git commit messages by analyzing code changes, supporting multiple languages and Conventional Commits format.
使用说明 (SKILL.md)
Git Commit Helper
智能 Git Commit Message 生成器 - 根据代码变更自动生成规范的 commit message。
功能
- 🤖 智能分析:分析 git diff,理解代码变更内容
- 📝 规范生成:生成符合 Conventional Commits 规范的 message
- 🌍 多语言:支持中文和英文 commit message
- 🎯 类型识别:自动识别 feat/fix/docs/style/refactor/test/chore 等类型
- ⚡ 一键使用:复制即可用,支持自定义修改
使用方式
帮我生成 commit message
或在 git 仓库中:
git add .
分析当前变更并生成 commit message
输出示例
feat(user): 添加用户登录验证功能
- 实现 JWT token 生成和验证
- 添加登录接口 /api/auth/login
- 添加密码加密处理
- 编写单元测试
Closes #123
支持的类型
feat: 新功能fix: 修复 bugdocs: 文档更新style: 代码格式调整refactor: 代码重构test: 测试相关chore: 构建/工具/配置
作者
倒里牢数 · 严谨专业版
版本
1.0.0
安全使用建议
This skill appears to implement the advertised commit-message generator and only invokes git commands (execSync) to read staged diffs — that's expected. However: 1) Inspect SKILL.md for invisible/control characters and remove them; they are a common prompt-injection vector. 2) Review index.js locally: execSync is used but only with hard-coded git commands ('git rev-parse' and 'git diff --cached --stat'), which is reasonable; ensure you run it in a trusted repository and not in a directory containing sensitive files. 3) Run the included test.js in a sandbox or throwaway repo to confirm behavior. 4) Because the publisher/source is unknown, be cautious about giving this skill broad access in automated/autonomous contexts; prefer manual invocation until you are satisfied. If you are not comfortable inspecting files yourself, do not install from this unknown source.
功能分析
Type: OpenClaw Skill
Name: git-commit-helper-pro
Version: 1.0.0
The 'git-commit-helper-pro' skill is a legitimate utility designed to automate the generation of Git commit messages by analyzing repository changes. The core logic in `index.js` uses `child_process.execSync` to execute standard Git commands (`git diff --stat`), but these calls use hardcoded strings and do not incorporate unsanitized user input, preventing shell injection. The skill contains no external dependencies, no network activity, and no instructions in `SKILL.md` that would suggest malicious intent or data exfiltration.
能力评估
Purpose & Capability
Name, description, SKILL.md, and index.js are coherent: the code runs git commands, parses git diff --cached --stat, and builds Conventional Commit-style messages. No unrelated environment variables, binaries, or installs are requested.
Instruction Scope
SKILL.md instructs the agent to analyze staged changes and generate commit messages — this is within scope. However, a static scan flagged unicode-control-chars in SKILL.md (prompt-injection pattern). While the visible SKILL.md content is benign, invisible control characters can be used to manipulate downstream parsers or agent behavior; manual inspection/removal is recommended.
Install Mechanism
No install spec; the skill is instruction/code-only. package.json has no dependencies and included files are local. This is low-risk from an installation perspective.
Credentials
The skill requests no environment variables, no credentials, and no config paths. It only needs access to a git repository working directory, which matches its purpose.
Persistence & Privilege
always is false; skill does not request persistent or system-wide privileges and does not modify other skills. It can run autonomously (platform default), but that is not combined with broad credential access.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install git-commit-helper-pro - 安装完成后,直接呼叫该 Skill 的名称或使用
/git-commit-helper-pro触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of git-commit-helper-pro:
- Generates Conventional Commits messages from git diff automatically.
- Supports both Chinese and English commit messages.
- Identifies commit types such as feat, fix, docs, style, refactor, test, and chore.
- One-click usage with customizable output.
- Designed for easy integration with git workflows.
元数据
常见问题
Git Commit Helper Pro 是什么?
Automatically generates standardized Git commit messages by analyzing code changes, supporting multiple languages and Conventional Commits format. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 239 次。
如何安装 Git Commit Helper Pro?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install git-commit-helper-pro」即可一键安装,无需额外配置。
Git Commit Helper Pro 是免费的吗?
是的,Git Commit Helper Pro 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Git Commit Helper Pro 支持哪些平台?
Git Commit Helper Pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Git Commit Helper Pro?
由 oct1st85(@oct1st85)开发并维护,当前版本 v1.0.0。
推荐 Skills