panda-git-commit for Openclaw

A smart Git commit message generator that ensures compliance with Conventional Commits while automatically detecting monorepo scopes and splitting complex changes.

hash-panda
v1.0.2
Mar 31, 2026
0
629
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install panda-git-commit

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 panda-git-commit 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 panda-git-commit?

panda-git-commit is a sophisticated tool designed for developers who value clean and standardized version control history. As part of the Openclaw Skills ecosystem, it leverages intelligent analysis to generate commit messages that strictly adhere to project-specific conventions like commitlint or commitizen. By analyzing your git history and local configuration, it adapts its output to match your team's existing style, whether that involves specific emojis, Jira prefixes, or standard Conventional Commits.

Beyond simple message generation, this skill excels at managing complex codebases. It features a unique smart splitting capability that can identify changes spanning multiple scopes or functions, suggesting separate commits to maintain a granular and readable history. It is highly optimized for monorepos, providing automatic scope detection across various workspace structures including pnpm, Lerna, and Nx.

panda-git-commit Use Cases

  • Automating the creation of standardized commit messages following the Conventional Commits specification.
  • Managing commits in complex monorepo environments where manual scope identification is tedious.
  • Splitting a large set of staged changes into multiple logical commits based on functional impact.
  • Ensuring team-wide consistency by enforcing project-specific commitlint or git hook rules automatically.
  • Rapidly initializing git conventions in a new repository using the built-in detection and caching system.

How panda-git-commit Works

  1. The skill starts by loading configurations from EXTEND.md or defaults, checking for cached project conventions to accelerate the process.
  2. It analyzes the git history (last 20-50 commits) to automatically detect the preferred language (English, Chinese, Japanese, etc.) and existing commit patterns.
  3. It identifies the project structure, looking for monorepo configuration files to map directories to specific scopes.
  4. The system runs a deep analysis of the git diff (staged changes) to understand the nature of the modifications (feat, fix, refactor, etc.).
  5. Based on the analysis, it either generates a single compliant commit message or suggests a split into multiple commits if the changes are functionally diverse.
  6. After user confirmation or manual adjustment, it executes the git commit command(s) and provides a summary of the operation.

panda-git-commit Setup

To use this skill within the Openclaw Skills framework, ensure you have bun installed. If bun is not found, the agent will attempt to run via npx.

Initialize the project configuration:

/panda-git-commit --init

Basic usage to generate a commit message:

/panda-git-commit

Force a split analysis for complex changes:

/panda-git-commit --split

panda-git-commit Data Schema & Taxonomy

The skill organizes its configuration and persistence through a hierarchy of EXTEND.md files. This allows for both global user preferences and project-specific overrides.

Level Path Purpose
Project .panda-skills/panda-git-commit/EXTEND.md Shared team conventions and scope mappings
Global $HOME/.panda-skills/panda-git-commit/EXTEND.md Personal developer preferences (e.g., emoji usage)

Key metadata tracked includes:

  • Convention Source: Identification of whether rules came from commitlint, git history, or defaults.
  • Scope Mapping: A taxonomy of project directories mapped to commit scopes.
  • Language Preference: Cached language detection to ensure consistent message generation.

panda-git-commit Advanced Features

  • Smart Splitter: Automatically groups changes by functionality into separate commit suggestions.
  • Convention Detector: Deep scans for .commitlintrc, .czrc, Husky hooks, and Nx project.json files.
  • Breaking Change Support: Detects and formats breaking changes using the '!' suffix or footer notes.
  • Multi-Language Detection: Probabilistic voting mechanism to determine commit language based on repository history.
  • Dry Run Mode: Preview generated messages and split suggestions without modifying the git index.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*