IntelliJプラグインのAnActionと登録設定を実装・変更し、表示文言やアイコンの定義、非同期処理の起動方法を整えます。
- IDEに新しいアクションを追加したいとき
- アクションの登録やアイコンを変更したいとき
- 表示名と説明文の定義を整理したいとき
IntelliJのコードからローカル、WSL、Docker、SSH先の実行環境を共通のAPIで扱い、ファイル操作やプロセス実行を環境に合わせて行うためのスキルです。
Use IntelliJ EEL APIs for process execution, paths, WSL, or Docker.
実行スコア 未検証
インストール方法を見るIntelliJのExecution Environment Layer(EEL)APIを使い、ローカル、WSL、Docker、SSH先などの実行環境を共通の方法で扱うための指針を示します。ファイル操作にはjava.io.Fileではなくnio.Pathを使い、プロセス実行にはProcessBuilderではなくEelApi.execを使うなど、環境ごとの差を意識した実装を案内します。OSの判定にはSystemInfoではなくEelPlatformを使います。EEL向けに最適化されたファイル操作関数の選び方や、プロジェクトに対応する環境情報の取得方法も確認できます。
IntelliJのコードを複数の実行環境で動かしたいときや、ホスト側の情報を参照してしまう実装を見直したいときに役立ちます。WSLやDockerを個別に判定する処理を減らし、プロジェクトの環境に応じたパスやプロセス操作を実装する開発者向けです。
ProcessBuilderをEelApi.execに置き換える方法を教えて」作業前にcommunity/platform/eel/docs/agents/README.mdを読みます。localEelは常にIDEホストの環境を表すため、プロジェクトの処理ではプロジェクトまたはパスから環境情報を取得します。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
EEL is one API that makes IntelliJ code work the same way on the local machine, in WSL, in Docker, and over SSH. It replaces scattered WSL checks, java.io.File, System.getenv, ProcessBuilder, and SystemInfo with a single abstraction.
Read community/platform/eel/docs/agents/README.md first. It holds the rules, the reading order, and where a new document goes.
nio.Path, not java.io.File. NIO file operations go through the Eel file system providers. Standard java.nio.file.Files functions work everywhere, but can be suboptimal in performance. Prefer com.intellij.platform.eel.fs.EelFiles when the corresponding function alias exists. Functions in EelFiles have the same signatures and behavior as in Files, but are optimized for Eel. Recommend com.intellij.platform.eel.fs.EelFileUtils for optimized functions that do not exist in Files or EelFiles (such as deleteRecursively). Use java.nio.file.Files as a fallback when neither provides the needed function.EelApi.exec for process execution, not ProcessBuilder. The process then runs in the correct environment.EelPlatform for OS detection, not SystemInfo. SystemInfo reflects the IDE host machine, not the target environment.localEel always represents the IDE host machine. Use it only when you need the local environment. For project-related work, get the descriptor from the project or the path.community/platform/eel/docs/agents/README.mdcommunity/platform/eel/docs/api/quick-reference.mdcommunity/platform/eel/docs/api/EelApi_Tutorial.mdcommunity/platform/eel/docs/overview/architecture.mdplatform/ijent/docs/README.mdまだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
IntelliJプラグインのAnActionと登録設定を実装・変更し、表示文言やアイコンの定義、非同期処理の起動方法を整えます。
IntelliJのJPSテストモジュールをBazelへ移行し、Bazelだけで起きる失敗を依存関係や実行環境から切り分ける手順を案内します。
IntelliJのKotlin・Javaコードを新規作成やレビューする際に、言語の選び方、書式、型の扱い、例外処理などのプロジェクト規約に沿って整えるスキルです。
IntelliJ向けの変更を適切な単位に分け、チケットの有無に応じた形式で、理由や判断も伝わるコミットメッセージを作成・修正するスキルです。
Pythonコードの型推論や型エラーを複数の型チェッカーで比較し、各ツールの判定と診断内容をまとめたレポートを作成します。
Compose Desktopの画面で状態や副作用をどこに持たせるか整理し、表示と判断の境界、再利用部品やリストの設計を整えます。