← Back to Skills Marketplace
wimi321

Git Commit Workflow

by wimi321 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
120
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install git-commit-workflow
Description
Use when the user wants a single clean commit created from current changes with safe staging, message drafting, and non-interactive git usage.
README (SKILL.md)

Git Commit Workflow

Use this skill when the task is to create one commit from current work.

Workflow

  1. Inspect git status, diff, branch, and recent commit style.
  2. Stage only relevant changes.
  3. Draft a concise commit message that reflects why the change exists.
  4. Create a new commit non-interactively.
  5. 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.

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install git-commit-workflow
  3. After installation, invoke the skill by name or use /git-commit-workflow
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial extraction from local Claude Code source
Metadata
Slug git-commit-workflow
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 120 downloads so far.

How do I install Git Commit Workflow?

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

Is Git Commit Workflow free?

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

Which platforms does Git Commit Workflow support?

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

Who created Git Commit Workflow?

It is built and maintained by wimi321 (@wimi321); the current version is v1.0.0.

💬 Comments