本文へスキップ
Skillpedia
一般的なプログラミング14k · #11279

commit

できること

このスキルは、決まった形式のメッセージでコードの変更をGitに保存する作業を、エージェントが進めるための手順です。一貫した分かりやすいコミット履歴を残したい開発者向けです。

使う場面

  • ✓変更が終わり、Gitに保存したいとき。
  • ✓コミットメッセージを決まった形式にそろえる必要があるとき。
  • ✓変更が複数の話題にまたがり、別々のコミットに分ける必要があるとき。

スキルのリンク

https://github.com/EverMind-AI/EverOS/blob/main/.claude/skills/commit/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/EverMind-AI/EverOS/blob/main/.claude/skills/commit/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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

  1. Run git status and git diff (and git diff --staged) to see what changed.

  2. Review recent history for style: git log --oneline -10.

  3. 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.

  4. 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>
    
  5. Never use --no-verify. If pre-commit hooks fail, fix the cause and re-commit.

  6. Do not commit secrets, generated artifacts, or work-in-progress directly to the protected main branch.

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".
  • scope is optional: fix(search): …. A ! before the colon (or a BREAKING 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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル