git-auto for Openclaw

A comprehensive Git automation skill that streamlines status checks, smart commits, and safe pushes with intelligent defaults.

mupengi-bot
v1.0.0
Feb 18, 2026
0
1.5k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install git-auto

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 git-auto 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-auto?

git-auto is a specialized automation skill designed to simplify daily Git operations through intelligent defaults and standardized workflows. As a core component of the Openclaw Skills ecosystem, it eliminates the friction of manual version control management by automating repetitive tasks like generating commit messages and checking repository health. It is built to help developers maintain a clean, professional commit history while ensuring branch safety and conflict awareness.

By leveraging git-auto, developers can shift their focus from manual CLI commands to higher-level code architecture. This tool is one of the essential Openclaw Skills for those working in fast-paced environments where maintaining Conventional Commits and safe deployment patterns is critical for team collaboration and CI/CD pipelines.

git-auto Use Cases

  • Checking workspace status across multiple repositories or monorepo subdirectories instantly.
  • Generating meaningful commit messages automatically from staged changes based on code analysis.
  • Executing pushes with built-in safety checks for branch protection and remote conflict detection.
  • Reviewing formatted logs and detailed diff analysis of working directory changes without complex flags.
  • Managing batch operations across various subdirectories within a single workspace.

How git-auto Works

  1. The skill automatically detects the .git directory and identifies the current active branch and upstream status.
  2. When performing a commit, it executes a diff of staged changes to analyze the nature of the code updates.
  3. It maps these changes to a Conventional Commits category such as feat, fix, or refactor.
  4. Before pushing, the skill validates the target branch to ensure it is not a protected branch like main or master.
  5. It performs a final check for upstream conflicts and provides clear error handling if the repository is in a detached HEAD or merge-conflict state.

git-auto Setup

To integrate git-auto into your workflow alongside other Openclaw Skills, ensure you have Git installed on your system. No additional configuration is required as the skill auto-detects your environment.

# Display current workspace status
git-auto status

# Generate a smart commit from staged changes
git-auto commit

# Push changes with safety checks
git-auto push

git-auto Data Schema & Taxonomy

The git-auto skill processes and organizes repository data according to standard Git protocols and Conventional Commits standards. It presents data in the following taxonomy:

Component Data Description
Workspace State Includes modified files, untracked files, and ahead/behind commit counts.
Commit Types Categorizes changes into feat, fix, refactor, docs, chore, or test.
Safety Metadata Branch protection status and remote synchronization alerts.
Log History Formatted commit hashes, author information, and time-stamped activity.

git-auto Advanced Features

  • Multi-repo scanning: Use the --all flag to check the status of all repositories within a parent directory.
  • Intelligent Safety Checks: Prevents accidental direct pushes to protected branches like main or master.
  • Conventional Commit Enforcement: Automatically formats messages to ensure your Openclaw Skills output aligns with industry best practices.
  • Integration Support: Designed to work seamlessly with pre-commit analysis and automated code-review skills.
  • Enhanced Diff Visualization: Provides toggleable views for staged versus unstaged changes.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*