← 返回 Skills 市场
panda-git-commit
作者
hash panda
· GitHub ↗
· v1.0.2
· MIT-0
104
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install panda-git-commit
功能描述
智能生成符合 Conventional Commits 规范的 Git Commit Message。 自动检测 monorepo scope,支持将变更按功能拆分为多个 commit。 触发词:"commit"、"提交"、"生成 commit message"、"拆分提交"、 "split commits"、"...
安全使用建议
This skill appears to do what it claims: analyze git diffs/history and generate Conventional Commit messages, plus optionally cache project settings to EXTEND.md in the repo or user config. Before installing or running it:
- Review the scripts (they are included) if you want to confirm behavior; they only use git, filesystem, and local exec calls (no network exfiltration).
- Be aware that --init or --refresh will create/overwrite .panda-skills/panda-git-commit/EXTEND.md in your repository or write a file under your XDG config or $HOME. Back up any existing EXTEND.md you care about.
- The skill requires a JS/TS runtime (bun preferred, fallback via npx -y bun) and will invoke git commands; ensure those tools are available and run it in a repo you trust.
- If you only want to inspect results, use --dry-run and/or --with-diff and avoid automatic committing.
If you want higher assurance, run the tool in a sandboxed clone of your repo first and inspect the generated EXTEND.md and console output.
功能分析
Type: OpenClaw Skill
Name: panda-git-commit
Version: 1.0.2
The panda-git-commit skill bundle is a legitimate tool designed to automate the generation of Git commit messages following the Conventional Commits standard. It includes scripts for analyzing git diffs (analyzer.ts), detecting project-specific commit conventions (convention-detector.ts), and identifying monorepo structures (scope-detector.ts). The code uses safe execution practices (execFile) for git commands and limits its file system operations to project directories and standard configuration paths (~/.config). No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description (Conventional Commits / monorepo scope / commit splitting) align with the provided scripts and behavior. The included TypeScript files perform git log/diff analysis, scope detection, convention detection, and commit-message generation — all consistent with the stated purpose. The declared optional runtimes (bun or npx) are reasonable given the .ts scripts target a JS/TS runtime.
Instruction Scope
Runtime instructions tell the agent to run the included scripts and to read git history, diffs, package.json, workspace config files, .git/hooks, and EXTEND.md from project/XDG/home paths — all expected for this tool. The skill will read repository files and may write an EXTEND.md cache to the project path and to user-level config (~/.panda-skills/... or XDG path). This read/write of project and user config is within scope but is noteworthy for users who do not expect local files to be created or updated.
Install Mechanism
No install spec (instruction-only) — scripts are provided and intended to be executed by bun or via npx. There are no downloads from arbitrary URLs or package installs declared in the skill metadata. Execution uses local git and filesystem; no external package fetches are required by the skill itself.
Credentials
The skill requires no secrets or external credentials. It reads standard environment variables (HOME, XDG_CONFIG_HOME) to locate config files and may read/write files under project and user config paths — behavior that is proportional to its caching/configuration purpose. It invokes git via child_process to inspect history and diffs, which is necessary for functionality.
Persistence & Privilege
The skill writes EXTEND.md into .panda-skills in the repository and can write to user-level config paths (XDG or $HOME). It does not request always:true, does not modify other skills, and does not request elevated system privileges. Users should be aware that running --init/--refresh will create or overwrite those local config files.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install panda-git-commit - 安装完成后,直接呼叫该 Skill 的名称或使用
/panda-git-commit触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
增加初次运行缓存,记住当前项目的提交习惯(语言\规范\限制)
v1.0.1
init
元数据
常见问题
panda-git-commit 是什么?
智能生成符合 Conventional Commits 规范的 Git Commit Message。 自动检测 monorepo scope,支持将变更按功能拆分为多个 commit。 触发词:"commit"、"提交"、"生成 commit message"、"拆分提交"、 "split commits"、"... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 104 次。
如何安装 panda-git-commit?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install panda-git-commit」即可一键安装,无需额外配置。
panda-git-commit 是免费的吗?
是的,panda-git-commit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
panda-git-commit 支持哪些平台?
panda-git-commit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 panda-git-commit?
由 hash panda(@hash-panda)开发并维护,当前版本 v1.0.2。
推荐 Skills