git-commit-helper
Skill0 starsChanged 5 months agoMITView on GitHub
Conventional Commits 形式(feat/fix/docs/style/refactor/perf/test/chore/ci/build/revert)で commit message を作成・検証する。発火: git commit 失敗 (validator 弾き)、複雑な変更を分割 commit する時、PR タイトル設計時
14 other projects use a version of this.
Adopted by
Most recently taken up by
- ponycompute/agent-skills-archivetheir own version, first seen Nov 8, 2026
- jyje/hermes-agent-helmtheir own version, first seen Oct 17, 2026
- mdvis/skillstheir own version, first seen Oct 16, 2026
- zyyziyunying/skillstheir own version, first seen Sep 11, 2026
- AI-Routing-Research-Institute/codex-provider-hubtheir own version, first seen Sep 3, 2026
- tkolleh/skillstheir own version, first seen Aug 17, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- flamingoTOM/Auto-CV★ 179same name
- jyje/hermes-agent-helm★ 17same name
- AI-Routing-Research-Institute/codex-provider-hub★ 15same name
- Crumbgrabber/llm_system_template_agents_skills_patterns_tools_prompts★ 3same name
- jyje/pilot-upstage-solar-open2★ 2same name
- mehdiozdemir/awesome-agent-skills★ 2same name
- zyyziyunying/skills★ 2same name
- jie023/skills★ 1same name
- jyje/claude-docker★ 1same name
- mdvis/skills★ 1same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository99 other files it gives its agents.
- agents-tools-quoted-jsonSkill
- asc-api-app-store-submitSkill
- asd-ste100Skill
- automation-bool-selector-pitfallsSkill
- automation-stale-cooldown-flagSkill
- autonomous-build-verifySkill
- book-to-skillSkill
- ccusage-cli-cost-trackingSkill
- chrome-ext-mv3-programmatic-injectSkill
- chrome-ext-store-assetsSkill
- claude-headless-p-invocationSkill
- claude-plugin-context-auditSkill
- claude-session-log-to-kbSkill
- cloudflare-workers-do-deploySkill
- codebase-to-courseSkill
- codesign-keychain-prompt-fixSkill
- codex-cli-setupSkill
- codex-delegation-handoffSkill
- content-factory-grounding-dedupSkill
- conversation-log-append-patternSkill
- cron-to-launchd-macosSkill
- cross-automation-shared-resource-killSkill
- design-token-migration-rnSkill
- discord-bot-image-to-claudeSkill
- discord-gateway-resume-dedupSkill
- excel-filtered-url-http-auditSkill
- execution-budget-vs-capsSkill
- expo-free-local-ios-testflightSkill
- ga4-connect-projectsSkill
- gcal-oauth-desktop-setupSkill
- git-prepush-secret-remote-checkSkill
- gsc-cli-automationSkill
- hatena-blogsync-autopostSkill
- hook-latency-wrapSkill
- hook-log-append-patternSkill
- html-to-pdf-slide-deckSkill
- humanizerSkill
- human-review-gate-shellSkill
- implementation-model-routingSkill
- insights-to-claude-mdSkill
- ios-permission-key-security-matrixSkill
- ios-sim-store-screenshotsSkill
- launchd-exit78-exconfig-debugSkill
- llm-content-pipeline-quality-gateSkill
- local-ai-video-pipelineSkill
- local-flux-mflux-image-genSkill
- local-llm-slow-diagnosisSkill
- local-music-generationSkill
- lottie-skottie-authoring-pitfallsSkill
- machine-wide-api-ratelimit-latchSkill
- macos-hook-path-timeoutSkill
- md-to-docx-reportSkill
- memory-md-inject-bloat-auditSkill
- message-display-secrets-maskSkill
- metric-source-attributionSkill
- migrate-icloud-desktop-assetsSkill
- nextauth-local-e2e-sessionSkill
- nextjs-rsc-payload-slimSkill
- nothing-designSkill
- openclaw-ollama-setupSkill
- The first 60 shown.
The file
Files
git-commit-helper
ユーザー環境では ~/.git-hooks/commit-msg で Conventional Commits を強制している。この validator を通すための定型手順。
Procedure
git diff --cached --statで staged 内容を確認- 変更を 機能スコープ単位 に分類:
feat新機能 /fixバグ修正 /docsドキュメントstyle整形のみ /refactor振る舞い変えず再構成 /perf性能改善testテスト /chore雑務 /ciCI 設定 /buildビルド /revert取り消し
- メッセージ形式:
<type>(<scope>): <subject 72字以内>- 例:
feat(scraper): add Uniqlo MediaRSS feed parser
- 例:
- body (optional): なぜ変更したかを 2-3 行で。
-mを追加して空行で区切る - footer (optional):
BREAKING CHANGE: <内容>Closes #N/Refs #NCo-Authored-By: Name <email>
- 実行例:
複数行はヒアドキュメント:git commit -m "feat(closet-os): add UNIQLO scraper" -m "MediaRSS endpoint へ切替。HTML スクレイプ失敗の代替経路。"git commit -m "$(cat <<'EOF' refactor(memory): split MEMORY.md by domain index ファイルが肥大化したので feedback_/project_/reference_ プレフィックスで分割。 EOF )"
Pitfalls
<type>は 小文字必須。Feat:は validator NG- scope に長い文字列(20字超)を入れると弾かれることがある → 短いスラッグで
- 1 commit に複数 type 混在(例: feat + test)は分割推奨。validator は通っても粒度が崩れる
--no-verifyで hook をスキップしない(CLAUDE.md / global ルールで禁止)- emoji prefix(✨🐛 など)は validator 弾き
- subject 末尾の句点(
.。)は付けない - body は subject から 空行 1 行 開ける(
-mを 2 回使えば自動で空行になる)
Verification
git log -1 --format='%s'で format を目視確認- hook 単体ベリファイ:
exit 0 なら通過git log -1 --format='%B' > /tmp/last-msg && ~/.git-hooks/commit-msg /tmp/last-msg && echo OK - 複数 commit を後追いで確認:
git log --format='%h %s' origin/main..HEAD
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

