git-commit

git-commit is a skill for Claude Code from fvadicamo/dev-agent-skills. It costs 49 tokens per session (362 once invoked), scanned A, original, MIT.

A Git workflow for creating commits with clear, structured messages. A commit is a saved set of changes in a Git project.

In plain words
What is it for?
Use it to stage related changes and create commits using a required type, scope, and short action-based subject.
Why use it?
It avoids vague commit messages and helps the project keep a consistent history. It also checks the repository's own contribution rules before committing.

Skill for Claude Code

Written for Claude Code: dynamic context !`command`. Also seen: mentions CLAUDE.md.

Part of the github-workflow plugin — 4 skills shipped together

Good fit Use it to stage related changes and create commits using a required type, scope, and short action-based subject.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fvadicamo/dev-agent-skills/git-commit
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.

Any agent
npx skills add fvadicamo/dev-agent-skills --skill git-commit
Clone the repo
git clone --depth 1 https://github.com/fvadicamo/dev-agent-skills

Made for: Claude Code.

Or install github-workflow, the plugin that ships this one along with the rest of its 4 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/fvadicamo/dev-agent-skills/git-commit/github.svg)](https://agentmods.dev/skills/fvadicamo/dev-agent-skills/git-commit)
Your own site
<a href="https://agentmods.dev/skills/fvadicamo/dev-agent-skills/git-commit"><img src="https://agentmods.dev/badge/skills/fvadicamo/dev-agent-skills/git-commit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/fvadicamo/dev-agent-skills/git-commit"><img src="https://agentmods.dev/badge/skills/fvadicamo/dev-agent-skills/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 362 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00049 $0.00362
Opus 5.5 $0.00020 $0.00145
Sonnet 5.5 $0.00010 $0.00072
Haiku 4.5 $0.00005 $0.00036

Measured 1mo ago against content hash d61f41580a74, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-commit 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 1mo 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.

plugins/github-workflow/skills/git-commit/SKILL.md · 57 lines

What it actually says

Git commit

Creates git commits following Conventional Commits format.

Recent project commits

!git log --oneline -5 2>/dev/null

Quick start

# 1. Stage changes
git add <files>

# 2. Create commit
git commit -m "type(scope): subject"

Project conventions

  • Scope is required (kebab-case): validation, auth, cookie-service, api
  • Additional type beyond standard CC: security (vulnerability fixes or hardening)
  • HEREDOC for multi-line commits:
git commit -m "$(cat <<'EOF'
feat(validation): add URLValidator with domain whitelist

Implement URLValidator class supporting:
- Domain whitelist enforcement
- Dangerous scheme blocking

Addresses Requirement 31
Part of Task 5.1
EOF
)"

Important rules

  • ALWAYS check CLAUDE.md conventions first - use project format if it differs
  • ALWAYS include scope in parentheses
  • ALWAYS use present tense imperative verb for the subject
  • NEVER end subject with a period
  • NEVER exceed 50 chars in the subject line
  • NEVER use generic messages ("update code", "fix bug", "changes")
  • Group related changes into a single focused commit

References

  • references/commit_examples.md - Extended examples by type, good/bad comparisons
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 57 lines · 49 tokens per session scan A d61f41580a74

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository fvadicamo/dev-agent-skills (72 stars, last pushed 1mo ago), licensed MIT. It adds 49 tokens to every session and 362 once invoked, about $0.0002 per session on Opus 5.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-08-30.

Related

Other skills, from other repositories

stage

Use when committing work from the current session to stage ONLY hunks the session touched, not the entire file. Prevents accidentally staging unrelated uncommitted changes from other work.

photostructure/coding-skills · 37 tokens

find

Find the local coding-agent session that wrote the uncommitted changes in a file, or in a pasted snippet of changed code or comment text, and give a one-line command that resumes it. Prefers the session that authored the change over a review session. Use when asked which session, chat, thread, or agent made an edit…

photostructure/coding-skills · 82 tokens

commit

Commit the current session's changes only, gateway-inline. Session-isolated (never -A, staged set verified against the session list), doc-sync-gated. The gateway runs the commit inline — it already holds the diff, session file list, and change intent; on a mechanical gate hit it judges doc-sync warm in its own context…

RockyHong/super-bootstrap · 124 tokens

gitplan

Plan and execute coherent Conventional Commit groupings for tangled working tree changes — multiple intertwined logical edits that need to be split into separate, reviewable commits.

photostructure/coding-skills · 33 tokens

review-staged

Workflow to review the staged Git diff for verified bugs and then prepare a clean Conventional Commit. Use when the user directly asks to review staged changes or prepare a commit proposal. Do not trigger on a direct commit instruction without a review request.

photostructure/coding-skills · 51 tokens

commit

Use this skill to commit changes already sitting in the working tree of the current Git repository. Inspect the tree, stage only what the user named, write one Conventional Commits message, stop. One repository per run, one commit per run.

khrichtchatyi/ship-it · 51 tokens