git-workflow for Openclaw

A comprehensive automation skill for Git that handles change detection, commit message generation, and remote synchronization.

broommonk
v1.0.0
Mar 1, 2026
1
2.7k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install git-workflow

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-workflow 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-workflow?

The git-workflow skill is a specialized automation layer designed to streamline the version control lifecycle within Openclaw Skills. It removes the manual overhead of staging files and writing repetitive commit messages by providing an AI-driven approach to repository management. This skill ensures that every change—whether it is a code update, a documentation tweak, or a new feature—is captured with precision and pushed to remote servers immediately.

By leveraging this skill, developers can maintain a clean and professional project history without breaking their creative flow. It is particularly effective for users who manage multiple repositories or those who want to ensure their Openclaw Skills environments remain perfectly synchronized with GitHub, GitLab, or Bitbucket.

git-workflow Use Cases

  • Automatically committing generated analysis reports or stock market data to a dedicated repository.
  • Managing multiple project repositories like Jarvis or Stock-Analysis from a single command interface.
  • Ensuring all documentation updates are pushed to the remote main branch at the end of every work session.
  • Standardizing commit messages across a team using the Conventional Commits format.

How git-workflow Works

  1. The skill initiates by checking the current repository state using git status and identifying modified files with git diff.
  2. Files are automatically staged using git add based on the scope of the current task.
  3. An intelligent commit message is generated following the : format (e.g., feat, fix, docs).
  4. The changes are committed locally and then synchronized with the remote repository via git push.

git-workflow Setup

To enable this skill within your Openclaw Skills environment, ensure Git is installed and your identity is configured globally:

git config --global user.name "Your Name"
git config --global user.email "[email protected]"

Make sure your remote repository is set up with SSH keys or a personal access token to prevent authentication failures during the automated push process.

git-workflow Data Schema & Taxonomy

The git-workflow skill organizes operations based on the following metadata and command structure:

Component Details
Commit Types feat, fix, docs, style, refactor, test, chore
Change Detection Tracked via git diff --name-only and git status
Repository Context Maps file paths to specific repositories like Jarvis or Amazon-Analyzer
Push Logic Executes git push to the current upstream branch

git-workflow Advanced Features

  • Multi-repository support: Intelligently routes file changes to their respective git roots across complex directory structures.
  • Conventional Commits automation: Automatically selects the correct prefix (feat, fix, etc.) based on the nature of the modified code.
  • Automated Conflict Detection: Identifies 'CONFLICT (content)' errors and provides a structured path for manual resolution within the Openclaw Skills interface.
  • High-frequency micro-commits: Support for a 'commit-as-you-go' workflow to ensure no work-in-progress is ever lost.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*