caveman-commit
できること
このスキルは、短く正確で、Conventional Commits形式に従うコミットメッセージを書きます。長いメッセージを手で書かずに、きれいなコミット履歴を保ちたい開発者向けです。
使う場面
- ✓変更のためのコミットメッセージを書いてほしいとき。
- ✓Conventional Commits形式に従うコミットの件名がほしいとき。
- ✓変更の理由を説明する短い本文が必要なとき。
スキルのリンク
https://github.com/JuliusBrussee/caveman/blob/main/skills/caveman-commit/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私の変更のコミットメッセージを書いてください。件名は短くし、理由が件名から明らかでない場合にだけ本文を加えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは変更を読み、type、scope、要約からなる件名を命令形で書きます。理由が件名から明らかでないときだけ本文を加えます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Write commit messages terse and exact. Conventional Commits format. No fluff. Why over what.
Rules
Subject line:
<type>(<scope>): <imperative summary>—<scope>optional- Types:
feat,fix,refactor,perf,docs,test,chore,build,ci,style,revert - Imperative mood: "add", "fix", "remove" — not "added", "adds", "adding"
- ≤50 chars when possible, hard cap 72
- No trailing period
- Match project convention for capitalization after the colon
Body (only if needed):
- Skip entirely when subject is self-explanatory
- Add body only for: non-obvious why, breaking changes, migration notes, linked issues
- Wrap at 72 chars
- Bullets
-not* - Reference issues/PRs at end:
Closes #42,Refs #17
What NEVER goes in:
- "This commit does X", "I", "we", "now", "currently" — the diff says what
- "As requested by..." — use Co-authored-by trailer
- "Generated with Claude Code" or any AI attribution — unless the user's own rule requires an
Assisted-by/AI-attribution trailer, then add it as a trailer - Emoji (unless project convention requires)
- Restating the file name when scope already says it
Examples
Diff: new endpoint for user profile with body explaining the why
- ❌ "feat: add a new endpoint to get user profile information from the database"
- ✅
feat(api): add GET /users/:id/profile Mobile client needs profile data without the full user payload to reduce LTE bandwidth on cold-launch screens. Closes #128
Diff: breaking API change
- ✅
feat(api)!: rename /v1/orders to /v1/checkout BREAKING CHANGE: clients on /v1/orders must migrate to /v1/checkout before 2026-06-01. Old route returns 410 after that date.
Auto-Clarity
Always include body for: breaking changes, security fixes, data migrations, anything reverting a prior commit. Never compress these into subject-only — future debuggers need the context.
Boundaries
Only generates the commit message. Does not run git commit, does not stage files, does not amend. Output the message as a code block ready to paste. "stop caveman-commit" or "normal mode": revert to verbose commit style.
よくある質問
どの形式を使いますか?
Conventional Commitsで、feat、fix、refactor、docsなどの種類を使います。
AIの帰属表示を追加しますか?
いいえ。自分のルールで帰属の行が必要な場合を除き、追加しません。
件名はどのくらいの長さですか?
理想は50文字で、72文字を超えてはいけません。
詳細
作者による元の説明
Write a Conventional Commits message compressed to intent only. Use for "write a commit", "commit message", /commit or /caveman-commit.
repo: JuliusBrussee/caveman
人気
- GitHubのスター
- 117k
- ランキング
- #745
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
cavecrew
117kエージェントが、検索、小さな編集、差分レビューをいつ小さなサブエージェントに渡すかを判断し、メインのコンテキストの容量を節約できるよう支援します。
caveman-compress
117kエージェントが、CLAUDE.mdやTodoリストなどのメモリファイルを、入力トークンを節約するため、より短いCaveman風の文体に縮められるよう支援します。
caveman-stats
117kエージェントが、Claude Codeセッションで使われた出力トークンとキャッシュ読み取りトークンを、モードごとにまとめて表示できるよう支援します。
caveman
117kエージェントが、無駄な言葉を省き、技術的な事実をすべて残して、短く直接的な文体で答えられるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。