commit
できること
このスキルは、決まった形式のメッセージでコードの変更をGitに保存する作業を、エージェントが進めるための手順です。一貫した分かりやすいコミット履歴を残したい開発者向けです。
使う場面
- ✓変更が終わり、Gitに保存したいとき。
- ✓コミットメッセージを決まった形式にそろえる必要があるとき。
- ✓変更が複数の話題にまたがり、別々のコミットに分ける必要があるとき。
スキルのリンク
https://github.com/EverMind-AI/EverOS/blob/main/.claude/skills/commit/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“修正したバグの内容がわかるように、分かりやすいメッセージで変更をコミットしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、何が変わったか、過去のコミットがどんな形式かを確認します。そのうえで、種類、短い要約、必要に応じた詳細を含むメッセージを書きます。プロジェクトの安全確認は省略しません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
/commit
Create a well-formed commit following the Conventional Commits
standard. The format is enforced by gitlint in the commit-msg hook.
Steps
Run
git statusandgit diff(andgit diff --staged) to see what changed.Review recent history for style:
git log --oneline -10.Group the change into a single focused commit. If the working tree mixes unrelated changes, stage selectively (
git add -p/ specific paths) rather than committing everything at once.Write the message in Conventional Commits form:
<type>[(scope)][!]: <imperative summary, ≤72 chars> <optional body: what & why, wrapped at 72> <optional footer: BREAKING CHANGE: …, Refs: #123>Never use
--no-verify. If pre-commit hooks fail, fix the cause and re-commit.Do not commit secrets, generated artifacts, or work-in-progress directly to the protected
mainbranch.
Types
| Type | Use for |
|---|---|
feat |
new feature |
fix |
bug fix |
refactor |
behavior-preserving restructure |
test |
add / update tests |
docs |
documentation |
style |
formatting only |
perf |
performance |
chore |
config / build / tooling |
build |
build system or dependencies |
ci |
CI configuration |
revert |
revert a previous commit |
Notes
- No emoji — the title must start with the
type. - One logical change per commit; keep the history bisectable.
- The summary is imperative mood: "add", not "added" / "adds".
scopeis optional:fix(search): …. A!before the colon (or aBREAKING CHANGE:footer) marks a breaking change.
よくある質問
Conventional Commitsとは何ですか?
featやfixなどの種類で始まり、そのあとに短い要約を書く標準的な形式です。
コミットの確認を飛ばしますか?
いいえ。このスキルは、pre-commitフックを省略せず、原因を直すよう求めています。
mainブランチに直接コミットできますか?
いいえ。作業中の変更を保護されたmainブランチに直接コミットしないよう求めています。
詳細
作者による元の説明
Stage and create a Conventional Commits message for the current change
repo: EverMind-AI/EverOS
人気
- GitHubのスター
- 14k
- ランキング
- #11279
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
new-branch
14kエージェントがmainから新しいGitブランチを作れるよう支援します。featやfixなどの分かりやすい名前を付け、変更をmainのコードから分けて管理します。
pr
14kエージェントが、正しいブランチとローカルの確認を行い、レビュー用のテンプレートを埋めて、mainに向けたGitHubのプルリクエストを開けるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。