本文へ移動
cccskills
無料GitHub で公開日本語紹介

commits

IntelliJ向けの変更を適切な単位に分け、チケットの有無に応じた形式で、理由や判断も伝わるコミットメッセージを作成・修正するスキルです。

原文原文の説明を見る

Create, amend, or rename IntelliJ commits and write commit messages.

JetBrains/intellij-communityスター 20,664(GitHub 20,664 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • チケット付き変更のメッセージを作りたいとき
  • テストやドキュメントのコミットを整理したいとき
  • 既存のコミットメッセージを修正したいとき

日本語での紹介

できること

IntelliJプロジェクトの変更をコミットする際に、差分の範囲を確認し、一つのコミットに一つの目的を収めるための手順とメッセージ形式を案内します。チケットがある変更ではIDと変更内容を一文で示し、チケットがない場合は tests や docs などのラベルとサブシステム名を使います。本文には変更の理由や判断を書き、機械的な修正では省略できます。作成だけでなく、既存コミットの修正やメッセージの変更にも対応します。

こんなときに便利

コミットメッセージの形式をプロジェクトのルールに合わせたいときや、変更を整理してレビューしやすくしたいときに役立ちます。チケットに紐づく修正、テストやドキュメントだけの変更、チケットなしの作業など、状況ごとの書き分けを確認できます。シェルでは引用したヒアドキュメント、PowerShellでは段落ごとの -m を使う方法も示されています。

使い方の例

  • 「この変更のコミットメッセージを、チケットIDと本文を含む形式で作って」
  • 「テストだけの変更として、適切なラベルと理由を含むメッセージにして」
  • 「既存のコミットメッセージをこのルールに沿って修正して」

注意点

動作変更にはYouTrackチケットが必要です。Conventional Commits形式は使いません。プッシュには別の safe-push スキルを使います。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

<!-- Generated by community/.ai/render-guides.mjs; edit community/.agents/skills/commits/SKILL.md -->

Commits

SafePush rejects a malformed subject, and each rejection costs a CI round trip.

Scope

  • One commit does one thing. Do not mix a cleanup or a refactoring into a behavioral change. When unsure, split.
  • Check the scope with git status --short and git diff --stat. Read the full diff only for changes you did not make in this session.

Message

IDEA-12345 <subject>              # a change with a ticket: the id, then one sentence
<label> <subsystem>: <subject>    # a change with no ticket
  • A behavioral change needs a YouTrack ticket. If you are unsure whether it is behavioral, it is.
  • With a ticket, the subject is the id and one sentence that says what the change does or decides. Do not add a label or a subsystem: the id already names the area. IDEA-12345 the inspection skips a generated file, not IDEA-12345 fix inspections: generated files. A test, a docs, or a cleanup commit of a ticket takes the same form; the body says that it is a test or a docs change.
  • With no ticket, the label is one of tests, cleanup, refactor, docs, format, style, setup, misc.
  • Do not use Conventional Commits (fix(scope): …).
  • Write a body unless the change is mechanical (a typo, an import, a format pass). Tests and cleanups need one too. Say why you made the change and what you decided. The diff already shows what changed.
  • Put a requested suffix such as IJ-MR-100 in its own last paragraph.

Passing the message

In a POSIX shell, use a quoted heredoc:

git commit -F - <<'EOF'
IDEA-12345 concise subject

Why the change was made and what was decided.
EOF

In PowerShell, pass one -m per paragraph, also with --amend. Do not pipe a here-string into -F -. Windows PowerShell adds a BOM to the subject, and SafePush rejects it.

git commit -m "IDEA-12345 concise subject" -m "Why the change was made and what was decided." -m "IJ-MR-100"

Do not write the message to a file outside the workspace, such as /tmp: that asks for a filesystem approval and leaves a plaintext draft behind. If you need a file, give it a name unique to your session under the gitignored out/, such as out/commit-message-<session>.txt. Several sessions share one working copy, and a peer can overwrite a shared file name between your write and your commit.

Examples

MRI-3589 harden single-flight recursion checks

Track active single-flight computations in coroutine context so recursive
awaits fail fast in both the owning coroutine and child coroutines.

IJ-MR-100
IJAI-3334 the published-surface wait of the editor service test names its step and dumps the state

The test failed once on TeamCity with no log line in its 10 s window, and 208 local runs did not reproduce it.
The helper now waits for the subscription and then for the apply, under one deadline, and a failure adds the
state of the test backend and a coroutine dump. No product code changes.

A change with no ticket:

tests cidr: migrate JUnit 5 coverage

Convert remaining JUnit 4 suites under cidr/coverage to JUnit 5.
Parametrized tests now use @MethodSource instead of the Theories runner.

Other cases, such as isolated commits and misc triage: 2_Commits.md. To push, use the safe-push skill.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

actions

無料概要あり

IntelliJプラグインのAnActionと登録設定を実装・変更し、表示文言やアイコンの定義、非同期処理の起動方法を整えます。

  • IDEに新しいアクションを追加したいとき
  • アクションの登録やアイコンを変更したいとき
  • 表示名と説明文の定義を整理したいとき
JetBrains/intellij-community2.1万2026年10月26日 更新

bazel-test-migration

無料概要あり

IntelliJのJPSテストモジュールをBazelへ移行し、Bazelだけで起きる失敗を依存関係や実行環境から切り分ける手順を案内します。

  • JPSテストをBazelへ移行したいとき
  • Bazelだけで起きるテスト失敗を調べたいとき
  • テストの依存関係やデータ設定を確認したいとき
JetBrains/intellij-community2.1万2026年10月26日 更新

code-style

無料概要あり

IntelliJのKotlin・Javaコードを新規作成やレビューする際に、言語の選び方、書式、型の扱い、例外処理などのプロジェクト規約に沿って整えるスキルです。

  • IntelliJ規約に沿ってKotlinを書きたいとき
  • Javaコードをレビューしたいとき
  • 例外処理やsealed型の分岐を確認したいとき
JetBrains/intellij-community2.1万2026年10月26日 更新

compare-python-typecheckers

無料概要あり

Pythonコードの型推論や型エラーを複数の型チェッカーで比較し、各ツールの判定と診断内容をまとめたレポートを作成します。

  • 型推論の違いを比較したいとき
  • 型エラーになるか確かめたいとき
  • 複数チェッカーの診断を見比べたいとき
JetBrains/intellij-community2.1万2026年10月26日 更新

compose-ui-architecture

無料概要あり

Compose Desktopの画面で状態や副作用をどこに持たせるか整理し、表示と判断の境界、再利用部品やリストの設計を整えます。

  • 画面とプレゼンターの責務を分けたいとき
  • UI状態の置き場所を整理したいとき
  • Effectやコルーチンの使い方を見直したいとき
JetBrains/intellij-community2.1万2026年10月26日 更新

compose-ui-audit

無料概要あり

Compose DesktopのUIコードを読み、状態管理、画面構成、副作用、コルーチン、再描画の性能など、設計と実行時の問題を具体例とともに監査するスキルです。

  • Compose画面の状態管理を監査したいとき
  • 副作用やコルーチンの使い方を点検したいとき
  • 再描画や遅延リストの性能を調べたいとき
JetBrains/intellij-community2.1万2026年10月26日 更新

JetBrains のスキルをすべて見る

このスキルの問題を報告する