git-commit-generation

git-commit-generation is a skill for Claude Code, Codex from J-StaR-Films-Studios/VibeCode-Protocol-Suite. It costs 24 tokens per session (586 once invoked), scanned A, original, ISC.

A guide for writing clear, conventional Git commit messages from staged changes or recent repository differences.

In plain words
What is it for?
Generating commit messages from staged files or recent Git diffs.
Why use it?
It removes the guesswork from describing what a code change contains in the commit history.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/j-star-films-studios/vibecode-protocol-suite/git-commit-generation
Any agent
npx skills add J-StaR-Films-Studios/VibeCode-Protocol-Suite --skill git-commit-generation
Clone the repo
git clone --depth 1 https://github.com/J-StaR-Films-Studios/VibeCode-Protocol-Suite

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-commit-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/j-star-films-studios/vibecode-protocol-suite/git-commit-generation.svg)](https://agentmods.dev/skills/j-star-films-studios/vibecode-protocol-suite/git-commit-generation)
Your own site
<a href="https://agentmods.dev/skills/j-star-films-studios/vibecode-protocol-suite/git-commit-generation"><img src="https://agentmods.dev/badge/skills/j-star-films-studios/vibecode-protocol-suite/git-commit-generation.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 586 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00586
Opus 5 $0.00012 $0.00293
Sonnet 5 $0.00005 $0.00117
Haiku 4.5 $0.00002 $0.00059

Measured 2d ago against content hash bbadfb4a16ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

git-commit-generation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

assets/.agent/skills/git-commit-generation/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Git Commit Generation

Generate clear, conventional git commit messages based on staged changes or recent repository diffs.


1. Workflow

  1. Inspect Staged Diffs:

    git status
    git diff --staged
    

    If no changes are staged, inspect unstaged changes with git diff and suggest staging relevant files first.

  2. Analyze Scope & Purpose:

    • Determine the primary type of change (e.g. feat, fix, refactor, docs, test, chore).
    • Identify the affected scope or module (e.g. cli, harness, skills, auth).
    • Isolate independent changes: if staged files span multiple distinct concerns, suggest splitting into separate commits.
  3. Format Conventional Commit Message: Structure the message using the standard Conventional Commits format:

    <type>(<scope>): <imperative summary in present tense>
    
    - Bulleted details explaining what changed and why
    - Key implementation decisions or removed legacy patterns
    

2. Commit Types

Type When to Use Example
feat New feature, capability, or user-facing addition feat(skills): add code-intelligence umbrella suite
fix Bug fix, error resolution, or regression patch fix(cli): resolve timeout flakiness on windows
refactor Code refactoring without changing behavior refactor(store): unify skill materialization logic
docs Documentation, guides, or specification updates docs(architecture): sync lean unified taxonomy
test Adding, updating, or fixing tests test(lifecycle): verify heartbeat animation frames
chore Maintenance, dependencies, or build config chore(deps): bump pi-subagents to 0.31.0

3. Best Practices

  • Imperative Mood: Write the header as a command (e.g. feat(cli): add category tree instead of added category tree).
  • Explain the Why: The body explains non-obvious reasoning and motivation, not merely a recap of file diffs.
  • Breaking Changes: Highlight breaking changes clearly with BREAKING CHANGE: in the footer or an exclamation mark after the type/scope (e.g. feat(api)!: update payload structure).

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 59 lines · 24 tokens per session scan A bbadfb4a16ce

Subscribe to this mod's changes

git-commit-generation is a skill published in the GitHub repository J-StaR-Films-Studios/VibeCode-Protocol-Suite (24 stars, last pushed today), licensed ISC. It adds 24 tokens to every session and 586 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

apm-issue-autopilot

Use this skill to drive any open microsoft/apm issue (bug, feature, docs, refactor, perf) from raw intake to a mergeable PR with triage as the central, paramount gate. Run the apm-triage-panel rubric per issue first, then present ONE consolidated triage review for the whole batch and escalate to the maintainer BY…

microsoft/apm · 238 tokens

setup-pre-commit

在当前仓库中设置 Husky pre-commit 钩子,集成 lint-staged(Prettier)、类型检查和测试。当用户想要添加 pre-commit 钩子、设置 Husky、配置 lint-staged、或添加提交时的格式化/类型检查/测试时使用。.

devcxl/mattpocock-skills-zh · 70 tokens

commit

Create well-formatted Git commits with conventional commit messages. Use this skill when the user wants to create a commit.

aidyou/chatspeed · 25 tokens

lean-commit

Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes…

utk2103/Prompt-Studio · 80 tokens

kumihimo-iteration

Run ONE iteration of the Kumihimo build loop — take the next item off the queue, ground it against PLAN.md, build it, verify it, document it, commit it. Use when Thomas invokes /kumihimo-iteration (often wrapped in /loop for unattended runs) or asks for another build pass on Kumihimo. Covers the queue, verification…

tzavislan/kumihimo · 98 tokens

commit

Create a git commit with clear, conventional commit messages. You MUST read this when the user wants to commit staged changes, write a commit message, or finalize code changes with proper conventional commit format since it describes how to follow the user's specific requirements.

jim60105/copilot-prompt · 51 tokens