Git Conventions Skill for Openclaw

A standardized framework for enforcing semantic commit messages and disciplined Git workflows within AI-driven development environments.

douglarek
v1.0.0
Mar 14, 2026
0
943
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install git-conventions

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-conventions 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 Conventions Skill?

The Git Conventions skill is a specialized configuration designed for AI agents to ensure high-quality version control history. By implementing this within Openclaw Skills, developers can automate the enforcement of semantic versioning and structural rules, ensuring every contribution is documented clearly and follows industry best practices.

This skill bridges the gap between automated code generation and professional repository management. It transforms messy, automated commits into a clean, searchable history that enhances team collaboration and simplifies debugging through structured metadata.

Git Conventions Skill Use Cases

  • Enforcing semantic commit message formats across a distributed engineering team.
  • Automating the sign-off process to meet legal and contribution compliance requirements.
  • Preventing accidental data loss by requiring explicit confirmation before force-pushing to remote branches.
  • Standardizing documentation, refactoring, and feature tracking through predefined commit types.

How Git Conventions Skill Works

  1. The AI agent analyzes pending changes and selects the appropriate semantic type such as feat, fix, or refactor.
  2. A commit message is generated following the <type>(<scope>): <subject> template in English.
  3. The skill applies the mandatory --signoff flag to the commit command.
  4. Upon successful local commit, the agent pauses to prompt the user for remote push authorization.
  5. If confirmed, the changes are transmitted to the remote repository.
  6. The workflow concludes by providing the user with the direct repository access URL for verification.

Git Conventions Skill Setup

To integrate these git-conventions into your Openclaw Skills environment, add the following configuration to your skill directory:

# Initialize the skill in your project
openclaw install git-conventions

Ensure your local git configuration is set up with a valid user name and email to support the mandatory sign-off feature.

Git Conventions Skill Data Schema & Taxonomy

The skill operates based on the following structural requirements for git metadata:

Component Requirement Description
Message Format Semantic <type>(<scope>): <subject>
Language English Strictly enforced for all commit strings
Flags --signoff Required for every commit operation
Verification Push Confirmation Boolean check before remote sync
Output Remote URL Displayed upon successful push completion

Git Conventions Skill Advanced Features

  • Multi-stage workflow consolidation to merge granular changes into cohesive, meaningful commits.
  • Safety-first force push protection that intercepts destructive commands for manual user approval.
  • Automated repository URL discovery and display post-push for immediate CI/CD tracking.
  • Integrated support for various commit scopes to provide granular context for large-scale refactors.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*