Xpersona
G

git commit tool

CLAWHUB · Unverified

Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git... Skill: git commit tool Owner: wangchencheng Summary: Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-28T07:27:22.928Z | user Initial release supporting conventional commit message generation with intelligent staging and AI code attribution. - Analyzes gi

62
Rank
84
Safety
987
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 987 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1789jk7xshy5qwpb580s0kzbh83r48r:git-commit-tool
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-wangchencheng-git-commit-tool/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

6,753 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

skill.md

---
name: git-commit
description: 'Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping'
license: MIT
allowed-tools: Bash
---

# Git Commit with Conventional Commits

## Overview

Create standardized, semantic git commits using the Conventional Commits specification. Analyze the actual diff to determine appropriate type, scope, and message.

## Conventional Commit Format

```
<type>[optional scope]: <description>

[optional body]

[optional footer(s)]
```

## Commit Types

| Type       | Purpose                        |
| ---------- | ------------------------------ |
| `feat`     | New feature                    |
| `fix`      | Bug fix                        |
| `docs`     | Documentation only             |
| `style`    | Formatting/style (no logic)    |
| `refactor` | Code refactor (no feature/fix) |
| `perf`     | Performance improvement        |
| `test`     | Add/update tests               |
| `build`    | Build system/dependencies      |
| `ci`       | CI/config changes              |
| `chore`    | Maintenance/misc               |
| `revert`   | Revert commit                  |

## Breaking Changes

```
# Exclamation mark after type/scope
feat!: remove deprecated endpoint

# BREAKING CHANGE footer
feat: allow config to extend other configs

BREAKING CHANGE: `extends` key behavior changed
```

## Workflow

### 1. Analyze Diff

```bash
# If files are staged, use staged diff
git diff --staged

# If nothing staged, use working tree diff
git diff

# Also check status
git status --porcelain
```

### 2. Stage Files (if needed)

If nothing is staged or you want to group changes differently:

```bash
# Stage specific files
git add path/to/file1 path/to/file2

# Stage by pattern
git add *.test.*
git add src/components/*

# Interactive staging
git add -p
```

**Never commit secrets** (.env, credentials.json, private keys).

### 3. Generate Commit Message

Analyze the diff to determine:

- **Type**: What kind of change is this?
- **Scope**: What area/module is affected?
- **Description**: One-line summary of what changed (present tense, imperative mood, <72 chars)

**Language**: Use Chinese (简体中文) for commit messages.

**AI-GEN Footer**: Add a footer line to indicate AI-generated code percentage:

```
AI-GEN: <percentage>%/<lines>行 <model-name>
```

- `<percentage>`: Percentage of AI-generated code in this commit
- `<lines>`: Number of lines changed by AI
- `<model-name>`: The AI model used (e.g., glm-5, Claude Opus 4.6)

Example:
```
AI-GEN: 100%/3行 glm-5
```

### 4. Execute Commit

```bash
# Single line
git commit -m "<type>[scope]: <description>"

# Multi-line with body/footer (Chinese

_meta.json

{
  "ownerId": "kn7fk2hes89zd5zkxnf039aknx83ry7s",
  "slug": "git-commit-tool",
  "version": "1.0.0",
  "publishedAt": 1774682842928
}

skill-card.md

## Description:

Execute git commits with Conventional Commit analysis, intelligent staging, and commit message generation.

This skill is ready for commercial/non-commercial use.

## Publisher:

[wangchencheng](https://clawhub.ai/user/wangchencheng)

### License/Terms of Use:

MIT-0

## Use Case:

Developers use this skill to inspect git changes, stage logical groups of files, and create Conventional Commit messages, including Simplified Chinese descriptions and an AI-GEN footer.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can stage files and create git commits, which can permanently record unintended changes if the diff is not reviewed.

Mitigation: Review git status, diffs, and staged files before committing; stage only the intended logical change.

Risk: Generated commit conventions may not match every repository, especially Simplified Chinese messages or AI-GEN footers.

Mitigation: Override the generated message, language, or footer to match the repository policy before running git commit.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/wangchencheng/skills/git-commit-tool)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, guidance]

**Output Format:** [Markdown with git shell commands and Conventional Commit message text]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Commit messages are expected in Simplified Chinese and may include an AI-GEN footer.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to git commit tool and adjacent AI workflows.