git-commit

A helper for writing Git commit messages using Conventional Commits, a shared format that labels changes such as features, fixes, tests, or documentation.

In plain words
What is it for?
Use it when creating or reviewing commit messages for code changes, documentation, tests, configuration, or releases.
Why use it?
It makes commit history easier to read and helps messages follow a consistent structure, including breaking changes when needed.

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/scroogy-dev/scroogy-agent-skills/git-commit
Any agent
npx skills add scroogy-dev/scroogy-agent-skills --skill git-commit
Clone the repo
git clone --depth 1 https://github.com/scroogy-dev/scroogy-agent-skills

Made for: Claude Code, Codex.

Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 683 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 $0.00042 $0.00683
Opus 5 $0.00021 $0.00342
Sonnet 5 $0.00008 $0.00137
Haiku 4.5 $0.00004 $0.00068

Measured yesterday against content hash efafb3cec312, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/validate-message.sh, tests/run-tests.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

git-commit/SKILL.md · 78 lines

What it actually says

개요

Conventional Commits 1.0.0 스펙에 따라 커밋 메시지를 작성합니다.

관련 skill

  • ai-workspace (권장): .ai/ 구조가 이미 존재하면 해당 구조를 따릅니다.

커밋 메시지 포맷

<타입>[적용 범위(선택)]: <설명> [(#이슈번호)(선택)]

[본문(선택)]

[꼬리말(선택)]

타입

타입 설명
feat 새 기능 추가
fix 버그 수정
docs 문서 변경
style 코드 의미에 영향 없는 변경 (포맷, 공백 등)
refactor 기능 변경 없는 코드 구조 개선
test 테스트 추가 또는 수정
chore 빌드, 설정 등 기타 변경
ci CI/CD 설정 변경

파괴적 변경 (Breaking Change)

타입 뒤에 !를 붙이거나, 꼬리말에 BREAKING CHANGE: 를 명시합니다.

feat(api)!: 응답 구조 변경

BREAKING CHANGE: 기존 클라이언트와 호환되지 않습니다.

예시

feat: 사용자 인증 기능 추가
fix(auth): 토큰 만료 처리 오류 수정
docs: API 명세 업데이트
chore: 의존성 버전 업그레이드

메시지 검증

메시지를 작성한 뒤 커밋 전에 헬퍼로 규격을 확인합니다. 위 타입 표와 포맷을 눈으로 대조하지 않습니다.

# <skill 디렉토리>는 이 SKILL.md가 있는 디렉토리. 실행 시 실제 경로로 바꿔 씁니다.
validate='<skill 디렉토리>/scripts/validate-message.sh'

"$validate" --subject 'fix(auth): 토큰 만료 처리 오류 수정'   # 제목 초안만 확인
"$validate" /tmp/commit-message.txt                          # 본문·꼬리말까지 확인

통과하면 아무것도 출력하지 않고 종료 코드 0을 냅니다. 규격 위반은 종료 코드 1과 함께 사유를 1행씩 출력하며, 인자 오류는 종료 코드 2입니다. Co-Authored-By: 꼬리말을 사용자가 명시적으로 요청했으면 --allow-coauthor를 붙입니다.

위 타입 표와 포맷이 SSoT이며, 표를 고치면 헬퍼와 tests/의 기대값을 함께 갱신합니다.

주의사항

  • Co-Authored-By: 꼬리말은 사용자가 명시적으로 요청한 경우에만 작성합니다.
Files

What ships with it

2 files 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. yesterday First seen · 78 lines · 42 tokens per session scan A efafb3cec312

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository scroogy-dev/scroogy-agent-skills (2 stars, last pushed 9d ago), licensed Apache-2.0. It adds 42 tokens to every session and 683 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens