← 返回 Skills 市场
120
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install claude-code-git-commit-workflow
功能描述
Use when the user wants a single clean commit created from current changes with safe staging, message drafting, and non-interactive git usage.
使用说明 (SKILL.md)
Git Commit Workflow
Use this skill when the task is to create one commit from current work.
Workflow
- Inspect git status, diff, branch, and recent commit style.
- Stage only relevant changes.
- Draft a concise commit message that reflects why the change exists.
- Create a new commit non-interactively.
- Report the resulting commit summary.
Guardrails
- Never amend unless explicitly asked.
- Never bypass hooks unless explicitly asked.
- Avoid staging secrets or unrelated files.
- Do not create an empty commit.
Example Requests
- Make one clean commit from the current working tree.
- Stage the right files and create a proper commit message.
Inputs
- Current diff
- Branch state
- Recent commit style
Outputs
- One non-amended commit
- Accurate commit message
Success Criteria
- Only relevant changes were committed.
- No empty commit was created.
- Hooks and safety rules were respected.
Non-Goals
- Amend flows unless explicitly asked
- Committing secrets or unrelated changes
Source Provenance
Derived from src/commands/commit.ts.
安全使用建议
This skill appears to do what it says: stage and create a single non-amended commit. Before installing or running it, ensure the agent environment has git available and that you are comfortable allowing the agent to modify the repository (it needs write access). Because the package is instruction-only and the provenance points to a source file name but there's no code to inspect, you should: (1) verify the agent's actual runtime commands when first invoked (have it show the git commands it intends to run), (2) review the staged changes before confirming the commit to avoid accidental inclusion of secrets or unrelated files, and (3) require explicit permission for any amend/hook-bypass actions. If you need stronger assurance, request a skill version with verifiable source code or a declared dependency on git in its metadata.
功能分析
Type: OpenClaw Skill
Name: claude-code-git-commit-workflow
Version: 1.0.0
The skill bundle provides a standard workflow for staging and committing Git changes. It includes explicit guardrails in SKILL.md to avoid staging secrets, bypassing hooks, or creating empty commits, and lacks any indicators of data exfiltration or malicious execution.
能力评估
Purpose & Capability
The skill's name and description match its instructions: staging, drafting a message, and creating a non-interactive commit. Minor mismatch: the skill does not declare that the 'git' binary is required, yet the workflow implicitly needs git and write access to the repository.
Instruction Scope
SKILL.md stays within scope: it instructs the agent to inspect repo state (diff, status, branch), stage relevant changes, craft a message, and commit. It explicitly forbids amending, bypassing hooks, and committing secrets. There are no instructions to read unrelated system files or send data externally.
Install Mechanism
No install spec and no code files are present (instruction-only). This minimizes installation risk — nothing will be downloaded or written by the skill itself.
Credentials
The skill requires no environment variables, credentials, or config paths. Its needs (repository read/write access and a git binary at runtime) are proportionate to the stated purpose.
Persistence & Privilege
The skill does not request always:true or other elevated persistence. It is user-invocable and can be invoked autonomously per platform default, which is expected for a commit workflow skill.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install claude-code-git-commit-workflow - 安装完成后,直接呼叫该 Skill 的名称或使用
/claude-code-git-commit-workflow触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial extraction from local Claude Code source
元数据
常见问题
Git Commit Workflow 是什么?
Use when the user wants a single clean commit created from current changes with safe staging, message drafting, and non-interactive git usage. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 120 次。
如何安装 Git Commit Workflow?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install claude-code-git-commit-workflow」即可一键安装,无需额外配置。
Git Commit Workflow 是免费的吗?
是的,Git Commit Workflow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Git Commit Workflow 支持哪些平台?
Git Commit Workflow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Git Commit Workflow?
由 wimi321(@wimi321)开发并维护,当前版本 v1.0.0。
推荐 Skills