Xpersona
C

conventional-git

CLAWHUB · Unverified

Conventional Commits v1.0.0 branch naming, worktree naming, and commit message standards for GitHub and GitLab projects. Use when creating branches, naming worktrees, writing commits, generating commit messages, reviewing branch conventions, or setting up changelog automation. Apply when your project needs consistent git history, SemVer-driven releases, parseable changelog generation, or automatic issue closing. Trigger when the user asks how to name a worktree, create a git worktree, or organize worktrees alongside branches.

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K 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 s173arkhs3131fq5jf769qq75583hdgt:conventional-git
  1. Install using `clawhub skill install s173arkhs3131fq5jf769qq75583hdgt:conventional-git` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/samber/conventional-git before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-samber-conventional-git/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

76,863 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: conventional-git
description: Conventional Commits v1.0.0 branch naming, worktree naming, and commit message standards for GitHub and GitLab projects. Use when creating branches, naming worktrees, writing commits, generating commit messages, reviewing branch conventions, or setting up changelog automation. Apply when your project needs consistent git history, SemVer-driven releases, parseable changelog generation, or automatic issue closing. Trigger when the user asks how to name a worktree, create a git worktree, or organize worktrees alongside branches.
user-invocable: true
license: MIT
compatibility: Designed for Claude Code, Codex or similar harness. Requires git.
metadata:
  author: samber
  version: "1.3.0"
  openclaw:
    emoji: "📝"
    homepage: https://github.com/samber/cc-skills
    requires:
      bins:
        - git
allowed-tools: Read Edit Write Glob Grep Bash(git:*) Bash(gh:*)
---

# Conventional Commits & Branch Naming

Follow Conventional Commits v1.0.0 for both branch names and commit messages — consistent naming lets tools auto-generate changelogs, enforce SemVer bumps, and filter history by concern.

## Branch Naming

Format: `<type>/[issue-]<description>` — lowercase, hyphens only, no special chars except `/`.

```
feat/user-authentication
feat/42-user-authentication
fix/login-race-condition
fix/87-login-race-condition
docs/api-reference-update
refactor/payment-module
```

Prefix with the issue number when one exists — GitHub and GitLab auto-link it and it makes `git log` immediately traceable to the tracker. Keep the description under 50 characters — most git UIs truncate branch names in lists around that length. Match the type to the work you're doing — this is the contract readers use to understand the branch purpose at a glance.

NEVER include `worktree` in a branch name — git worktrees are a local checkout mechanism, not a branch concept; the name would leak implementation details into the remote and confuse other contributors.

## Worktree Naming

Worktrees are local checkout directories — they never appear in the remote. Place them under `.claude/worktrees/` and name them by replacing the branch `/` separator with `-`.

```
git worktree add .claude/worktrees/feat-user-authentication feat/user-authentication
git worktree add .claude/worktrees/fix-87-login-race-condition fix/87-login-race-condition
```

The directory name mirrors the branch name so `git worktree list` stays readable and each worktree is immediately traceable to its branch without inspecting the checkout. Run `git worktree list` before creating a new one — reuse an existing worktree if it already covers the same branch.

Keep worktrees scoped to a single branch. Doing unrelated work inside someone else's worktree obscures which changes belong where and makes cleanup error-prone.

Remove the worktree once its branch is merged — either after a local merge or after the pull/merge request is closed on the remote. Stale worktrees accumulate and make 

_meta.json

{
  "ownerId": "kn72rhnkwjfeex9wr1n7y24qa983cjn3",
  "slug": "conventional-git",
  "version": "1.3.0",
  "publishedAt": 1787235887474
}

skill-card.md

## Description:

Conventional Commits v1.0.0 branch naming, worktree naming, and commit message standards for GitHub and GitLab projects.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Developers and external contributors use this skill to name branches and worktrees, write Conventional Commit messages, and prepare GitHub or GitLab commits that support changelog automation and issue closing.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill requests broad GitHub CLI authority that is not clearly used or scoped.

Mitigation: Review requested permissions before installation and narrow or remove Bash(gh:*) unless authenticated GitHub CLI operations are intentionally needed.

Risk: The skill may guide branch names, commit messages, issue-closing footers, and squash-merge titles that affect repository history and automation.

Mitigation: Review generated names and commit text before applying them, especially release-affecting Conventional Commit markers and issue-closing references.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/samber/skills/conventional-git)
- [Publisher profile](https://clawhub.ai/user/samber)
- [Project homepage](https://github.com/samber/cc-skills)

## Skill Output:

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

**Output Format:** [Markdown prose with inline commit-message examples and bash command snippets]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires git for command examples; GitHub CLI permissions should be reviewed before installation.]

## Skill Version(s):

1.3.0 (source: server release evidence and SKILL.md frontmatter)

## 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.

evals/evals.json

{
  "skill_name": "conventional-git",
  "metadata": {
    "eval_methodology": "adversarial — each eval has a trap the model falls into without the skill",
    "without_skill_runner_note": "When running without-skill evals, disable ALL skills from this plugin AND any external git-related skills (e.g., gh-cli). External git skills may compensate for missing conventional-git guidance and inflate without-skill scores."
  },
  "evals": [
    {
      "id": 1,
      "prompt": "I use git worktrees to isolate my feature branches. Create a branch name for implementing OAuth login.",
      "trap": "Without the skill, the model naturally echoes 'worktree' from the prompt into the branch name (e.g., feat/worktree-oauth-login). The skill explicitly forbids 'worktree' in branch names.",
      "expected_output": "A branch name like feat/oauth-login — does NOT contain 'worktree'. May include an explanation of why worktree should not appear in branch names.",
      "files": [],
      "assertions": [
        { "id": "1.1", "description": "branch name does NOT contain the word 'worktree'" },
        { "id": "1.2", "description": "branch name starts with 'feat/'" },
        { "id": "1.3", "description": "branch name is entirely lowercase and uses hyphens only (no underscores, no special chars except '/')" },
        { "id": "1.4", "description": "response explains why 'worktree' should not appear in branch names (it is a local checkout mechanism, not a branch concept)" },
        { "id": "1.5", "description": "branch name description part is 50 characters or fewer" }
      ]
    },
    {
      "id": 2,
      "prompt": "I wrote this entire feature with Claude Code — it basically authored the auth module. Should I add 'Co-authored-by: Claude Code' or a similar AI attribution trailer to my commits?",
      "trap": "Without the skill, the model often says 'yes, good practice to be transparent about AI assistance' or notes that 'Claude Code may add it automatically'. The skill explicitly prohibits any AI agent attribution or signature in commit messages.",
      "expected_output": "No — do NOT add Co-authored-by, AI signature, or any attribution trailer for Claude or any AI agent. Commit authorship should reflect human contributors only.",
      "files": [],
      "assertions": [
        { "id": "2.1", "description": "response says NOT to add any AI attribution trailer ('Co-authored-by: Claude', 'Co-authored-by: Claude Code', etc.)" },
        { "id": "2.2", "description": "response does NOT frame it as 'depends on team preference' or 'both options are valid'" },
        { "id": "2.3", "description": "response does NOT say it is good practice to be transparent about AI assistance via commit trailers" },
        { "id": "2.4", "description": "response cites a clear rule: AI agent attribution is never added to commits" },
        { "id": "2.5", "description": "response does NOT say Claude Code adds attribution automatically as expected or acceptable behavior" }
      ]
    

Sponsored

Ads related to conventional-git and adjacent AI workflows.