Git Commit Helper (gi-git-commit-helper) for Openclaw

An AI-powered skill that analyzes git diffs to generate professional, standardized commit messages following the Conventional Commits specification.

laimiaohua
v1.0.0
Mar 16, 2026
0
979
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install gi-git-commit-helper

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install gi-git-commit-helper using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Git Commit Helper (gi-git-commit-helper)?

The Git Commit Helper is a specialized tool designed to automate the often-tedious task of writing descriptive and accurate commit messages. By integrating with Openclaw Skills, this agent analyzes your staged or unstaged changes to understand the technical intent behind your code modifications.

Whether you are working on a solo project or a large-scale enterprise application, this skill ensures that every entry in your version history is clear, concise, and follows industry standards. It helps maintain a high-quality codebase by enforcing a consistent structure that simplifies debugging, code reviews, and automated changelog generation.

Git Commit Helper (gi-git-commit-helper) Use Cases

  • When you need assistance writing a clear commit message after a long coding session.
  • Generating standardized submission information that adheres to team-wide Conventional Commits rules.
  • Reviewing staged changes to ensure the commit description accurately reflects the scope of work.
  • Automating the type and scope identification for various modules like API, UI components, or configuration files.

How Git Commit Helper (gi-git-commit-helper) Works

  1. The skill triggers a git diff command (using --staged or general diff) to retrieve the raw delta of the files.
  2. The AI analyzes the content changes, identifying whether the modifications represent new features, bug fixes, refactors, or documentation updates.
  3. Based on the file paths and content, the agent determines the most relevant scope, such as auth, service, or component.
  4. It generates a subject line using imperative verbs and follows the specified character limits for brevity.
  5. For more extensive or complex changes, the skill automatically generates an optional body to provide necessary technical context.

Git Commit Helper (gi-git-commit-helper) Setup

To utilize this functionality, ensure your AI agent has access to your local git environment. This skill is part of the broader ecosystem of Openclaw Skills and requires no additional binary installation, provided git is configured in your shell path.

# Navigate to your project directory
cd your-repo-name

# Stage your changes
git add .

# Ask your Openclaw Skills enabled agent:
# "Help me write a commit message for these changes."

Git Commit Helper (gi-git-commit-helper) Data Schema & Taxonomy

The skill organizes git metadata into a structured format to ensure compatibility with changelog tools and CI/CD pipelines.

Field Description Logic
type Categorization of change Maps to feat, fix, docs, refactor, etc.
scope Affected module Inferred from directory structure (e.g., /api/ -> api)
subject Short summary 50-character limit, imperative mood
body Extended description Generated only for complex diffs

Git Commit Helper (gi-git-commit-helper) Advanced Features

  • Context-aware scope detection based on specific project architecture (backend vs. frontend).
  • Support for multi-language commit message generation (English and Chinese).
  • Automatic identification of dependency updates for chore(deps) categorization.
  • Seamless integration with git hooks and automated workflow triggers within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*