Git Commit PR Workflow for Openclaw

Automate your entire Git delivery pipeline from branch creation to pull request generation using Openclaw Skills.

wimi321
v1.0.0
Apr 2, 2026
0
585
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install git-commit-pr-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-commit-pr-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 Commit PR Workflow?

Git Commit PR Workflow is a specialized automation within the Openclaw Skills ecosystem designed to manage the end-to-end Git lifecycle. By providing a structured approach to branch management and pull request creation, this tool ensures that developers utilizing Openclaw Skills can maintain high velocity without sacrificing code quality or documentation standards. It effectively handles the transition from a local workspace to a collaborative remote environment, making it a cornerstone for teams looking to standardize their contribution process.

Git Commit PR Workflow Use Cases

  • Transitioning local code changes to a remote repository for peer review.
  • Standardizing the format and content of pull request descriptions and test plans.
  • Creating feature branches automatically when working on the default branch.
  • Reducing manual errors in staging and pushing code during high-velocity development.

How Git Commit PR Workflow Works

  1. The skill inspects the current branch state and diffs it against the default branch.
  2. It creates a feature branch if the developer is currently on the default branch to prevent direct commits to main.
  3. Relevant files are staged and committed with descriptive, concise messages.
  4. The branch is pushed to the remote repository safely without destructive force commands.
  5. A Pull Request is created or updated with a structured summary, bulleted change lists, and a detailed test plan.

Git Commit PR Workflow Setup

To use this automation, ensure your environment is authenticated with your Git provider. This skill leverages your local Git configuration for credentials.

# Verify git is available in your shell
git --version

# Ensure your remote is configured
git remote -v

# The skill is triggered through your AI agent
# Example: "Push this fix and create a PR with a test plan."

Git Commit PR Workflow Data Schema & Taxonomy

Component Data Type Description
Branch State Metadata Evaluation of current diff and branch context
PR Body Markdown A generated summary of changes and verification steps
Commit Message String A concise, technical summary of the staged changes
Pull Request API Object The final remote PR linked to the feature branch

Git Commit PR Workflow Advanced Features

  • Smart PR updates that detect existing requests for the current branch to prevent duplicates.
  • Automated test plan generation based on the specific files modified in the commit.
  • Branch protection awareness to prevent accidental force pushes to protected branches.
  • Seamless integration with existing Openclaw Skills for multi-agent delivery workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*