Git Workflow Assistant for Openclaw

An intelligent automation tool for generating standardized commit messages, pull request descriptions, and managing branch lifecycles.

michealxie001
v1.0.0
Apr 1, 2026
0
716
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install openclaw-gitflow

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 openclaw-gitflow 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 Assistant?

Git Workflow Assistant is a robust utility within the Openclaw Skills ecosystem designed to streamline the version control process for developers. It automates the most tedious parts of the Git lifecycle, such as drafting meaningful commit messages and creating detailed pull request descriptions. By analyzing the diffs in your staged changes, the skill ensures that every contribution is well-documented and adheres to team standards.

This tool is particularly valuable for maintainers and teams who follow strict repository guidelines. It reduces the cognitive load of manual documentation, allowing developers to focus on writing code while maintaining a clean, professional, and searchable project history through standardized formatting and automated branch auditing.

Git Workflow Assistant Use Cases

  • Standardizing commit history using the Conventional Commits specification.
  • Automatically generating pull request summaries and changelogs for code reviews.
  • Identifying and cleaning up stale or merged branches to maintain repository health.
  • Speeding up the development loop with smart-commit features that stage and commit in one step.
  • Integrating with CI/CD pipelines to provide automated summaries of incoming changes.

How Git Workflow Assistant Works

  1. The user interacts with the skill via a Python entry point or pre-configured Git aliases.
  2. The system analyzes the current Git repository status, including staged diffs and branch comparisons.
  3. For commit generation, the tool parses file changes to determine the context and type of modification.
  4. For pull requests, it compares the head branch against the base branch to synthesize a comprehensive summary.
  5. The tool provides an interactive interface for the user to review, edit, or confirm the generated metadata before execution.
  6. Automated operations, such as branch pruning or smart committing, are executed directly through the Git CLI backend.

Git Workflow Assistant Setup

To integrate this tool into your environment for Openclaw Skills, ensure you have Python 3 available and follow these steps:

# Generate a commit message suggest-commit
python3 scripts/main.py suggest-commit

# Configure your Git aliases for ease of use
git config --global alias.cm "!python3 /path/to/git-workflow/scripts/main.py suggest-commit"

# Run the smart commit workflow
python3 scripts/main.py smart-commit

Create a .git-workflow.json configuration file in your project root to define custom commit types and PR templates.

Git Workflow Assistant Data Schema & Taxonomy

The skill manages repository metadata and configuration through structured formats:

Component Description Data Format
Configuration Local settings and templates .git-workflow.json
Commit Output Formatted commit messages Plain Text (Conventional)
PR Summary Summarized change lists Markdown
Branch Audit Stale and active branch status CLI Table
CI Integration GitHub Actions step summaries Markdown/Environment Variables

Git Workflow Assistant Advanced Features

  • Smart commit mode that automates the entire stage-message-commit sequence with user confirmation.
  • Deep integration with Conventional Commits including automatic detection of feat, fix, and refactor types.
  • Configurable emoji support for commit types to improve visual clarity in project logs.
  • Stale branch management that detects branches merged over 30 days ago for automated cleanup.
  • GitHub Actions compatibility for automated PR description injection during the CI process.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*