← 返回 Skills 市场
120
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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 coherent and limited to git repo operations. Before using it, ensure you're running the agent in the intended repository (so it can't commit in the wrong project), verify the staged changes and generated commit message before finalizing, and avoid granting the agent access to repositories that contain secrets. If you need to enforce stricter checks, run the steps manually or require a user confirmation step before the final git commit.
功能分析
Type: OpenClaw Skill
Name: git-commit-workflow
Version: 1.0.0
The git-commit-workflow skill is a standard utility for automating git staging and commits. The instructions in SKILL.md and agents/openai.yaml are focused on safe, non-interactive git usage and include explicit guardrails to avoid staging secrets or bypassing commit hooks. No malicious logic, data exfiltration, or prompt-injection risks were identified.
能力评估
Purpose & Capability
Name/description ('single clean commit') match the instructions: inspect status/diff/branch, stage relevant files, draft message, and create one non-amended commit. No unrelated binaries, env vars, or config paths are requested.
Instruction Scope
SKILL.md limits runtime actions to repository-scoped operations (git status/diff/branch, staging, commit) and includes sensible guardrails (don't amend, don't bypass hooks, avoid staging secrets). It does not instruct reading arbitrary system files or external endpoints. It implicitly assumes the agent has access to the working tree, which is expected for this skill.
Install Mechanism
Instruction-only skill with no install spec and no code files; nothing will be downloaded or written to disk by an installer.
Credentials
No environment variables, credentials, or config paths are required. Requested inputs (current diff, branch state, commit style) are proportional to the task.
Persistence & Privilege
always is false and the skill does not request persistent presence or system-wide changes; autonomous invocation is allowed by default but is not combined with any broad privileges or credential access.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install git-commit-workflow - 安装完成后,直接呼叫该 Skill 的名称或使用
/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 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