IntelliJプラグインのAnActionと登録設定を実装・変更し、表示文言やアイコンの定義、非同期処理の起動方法を整えます。
- IDEに新しいアクションを追加したいとき
- アクションの登録やアイコンを変更したいとき
- 表示名と説明文の定義を整理したいとき
同じマシン上にある別のチェックアウトのコミットを、履歴全体のfetchをせずパッチとして順に取り込み、内容を確認しながら記録します。
Take commits from a sibling checkout as patches, without a fetch.
実行スコア 未検証
インストール方法を見る同じマシン上の別チェックアウトにあるコミットを、fetchせずにパッチとして取り込む手順を案内します。スクリプトは指定範囲の変更を順番に適用し、作業中の変更と同じパスに触れる場合は停止します。各パッチの適用後には新しいコミットを作成し、パッチIDが一致したことを確認できます。共有インデックスに別セッションがステージしたファイルをコミットへ含めない仕組みや、新規・改名ファイルの扱いも説明します。
クローンやworktreeを使わず、別のチェックアウトにある変更だけを現在の作業ツリーへ移したいときに向いています。履歴全体の取得に時間がかかる場合や、変更の順序と取り込み結果を確かめながら作業したい場合に役立ちます。
パッチが現在のツリーに適用できない場合は、該当パスとコミットを報告して停止し、競合を手作業で解決して同じコミットに含めないよう指示されています。週末のコミッター日付には個人のCLAUDE.mdにある規則を適用します。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this skill when another checkout of the monorepo on this machine holds commits that this checkout needs, for example a reorganization that a new change builds on. The user keeps the checkouts separate, so a clone, a worktree or a shared directory is not an option.
A git fetch /path/to/sibling walks and packs objects over the whole history. With a hundred upstream commits of
difference it took more than 15 minutes here, and a second fetch of 12 new commits did not finish in 10 minutes.
It also leaves a remote-tracking ref and a copy of every object behind. A patch carries only the change.
Find the range in the sibling. The base is the last sibling commit this checkout already has; a commit taken
before has a new hash here, so compare by subject or by patch id (git patch-id --stable), not by hash.
From the root of the receiving checkout run the script. It writes the patches under out/sibling-patches/,
refuses when a patch touches a path that is dirty here, then applies and commits each patch in order:
./community/.agents/skills/sibling-checkout-commits/scripts/take-patches.sh ../idea-2 <base>..master
Read the ok lines. Each one names the new commit and confirms that its patch id equals the patch. A DIFF line
stops the script; the commit on HEAD then holds something else, and the next patch is not applied.
On a weekend, the committer date is today: apply the weekend rule of the personal CLAUDE.md to the new commits.
git apply --binary changes the working tree only. git commit --only -- <paths> builds the commit from HEAD
plus those paths, so nothing that a concurrent session staged in the shared index lands in the commit.--only skips an untracked path. The
script marks every such path with git add -N first; an intent-to-add entry carries no content.git mailinfo.git am: git am commits the shared index, and a concurrent session's staged files would land in
the commit.git update-ref -d refs/remotes/<name>/master.A patch of the range depends on the patches before it, so a --check of a later patch alone fails. The script
applies in order. When a patch fails against this tree, the sibling and this checkout diverged on that path:
stop, name the path and the commit in the report, and let the user decide. Do not resolve the conflict by hand
inside a commit that carries the sibling author's name.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
IntelliJプラグインのAnActionと登録設定を実装・変更し、表示文言やアイコンの定義、非同期処理の起動方法を整えます。
IntelliJのJPSテストモジュールをBazelへ移行し、Bazelだけで起きる失敗を依存関係や実行環境から切り分ける手順を案内します。
IntelliJのKotlin・Javaコードを新規作成やレビューする際に、言語の選び方、書式、型の扱い、例外処理などのプロジェクト規約に沿って整えるスキルです。
IntelliJ向けの変更を適切な単位に分け、チケットの有無に応じた形式で、理由や判断も伝わるコミットメッセージを作成・修正するスキルです。
Pythonコードの型推論や型エラーを複数の型チェッカーで比較し、各ツールの判定と診断内容をまとめたレポートを作成します。
Compose Desktopの画面で状態や副作用をどこに持たせるか整理し、表示と判断の境界、再利用部品やリストの設計を整えます。