IntelliJプラグインのAnActionと登録設定を実装・変更し、表示文言やアイコンの定義、非同期処理の起動方法を整えます。
- IDEに新しいアクションを追加したいとき
- アクションの登録やアイコンを変更したいとき
- 表示名と説明文の定義を整理したいとき
IntelliJのNew UI向けSVGアイコンを作成・レビューし、ライト・ダークテーマや既存アイコンとの対応を含めた配置と配色を整えます。
Create or review IntelliJ New UI SVG icons and theme variants.
実行スコア 未検証
インストール方法を見るIntelliJのNew UIで使うSVGアイコンの作成やレビューを支援します。アイコンの用途に合ったキャンバスサイズ、配置先、ファイル名、線や図形の作り方を確認し、公式パレットに沿ったライト版とダーク版をそろえます。Classic UIの既存アイコンを置き換える場合は、旧ファイルを残したうえで*IconMappings.jsonに対応関係を追加する手順も扱います。ツールウィンドウ用アイコンでは、サイズ違いの各ファイルで同じモチーフになっているかも確認します。
IntelliJプラグインやプラットフォーム向けにアイコンを追加するとき、既存アイコンのテーマ対応やNew UI表示をレビューするときに向いています。SVGの配色やサイズが画面上でどう扱われるかを、規約に沿って確認したい場合にも使えます。
アイコンはSVGで作成し、画像・グラデーション・フィルター・埋め込みフォントは使いません。Apache 2.0の著作権コメントを保持します。色や配置の詳細は付属のpalette.mdなどを参照します。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Guidance for authoring SVG icons for the New UI.
Background: the IDE maintains Classic UI and New UI in parallel. Code branches with ExperimentalUI.isNewUI(); icons follow the same split. Old icons stay in their original resource folders for Classic-UI compatibility. New-UI icons live under expui/ folders and are substituted for the old ones at runtime by icon mappers.
addFile.svg) and one for the dark theme with the _dark suffix (addFile_dark.svg). Geometry must be identical between them; only the palette swaps.
name.svg / name_dark.svg) and a 20×20 New-UI stripe variant (name@20x20.svg / name@20x20_dark.svg), they must share the same metaphor. The stripe is only one surface — the 16×16 base also appears in Search Everywhere, Find Action, context menus, the Services tool window, recent locations, and the View ▸ Tool Windows menu. Changing only the @20x20 leaves users seeing two different icons for the same tool window depending on where they encounter it. Always update all four files together (and the same applies to plugin-local icons like toolWindowChat.svg + toolWindowChat@20x20.svg).<path>, <rect>, <circle>, <line>, <polyline>, <polygon>). Text must be converted to outlines.fill="none" on the root <svg> and set fill / stroke explicitly per shape — never rely on CSS or currentColor.stroke-width="1", stroke-linecap="round", stroke-linejoin="round" (or stroke-miterlimit="10" for hard joins). Heavier strokes are reserved for hero glyphs inside a circle badge (e.g. status checkmarks) and use stroke-width="1.5" or "2".x.5) and fills on whole pixels so the icon stays crisp at 1× rendering.| Role | Canvas | Filename pattern | Reference dir |
|---|---|---|---|
| Action icons (menus, popups, toolbars) | 16×16 | name.svg + name_dark.svg | expui/actions/, expui/general/ |
| Tree node icons (PSI, structure view) | 16×16 | name.svg + name_dark.svg | expui/nodes/ |
| Tool-window stripe icons (legacy/16) | 16×16 | name.svg + name_dark.svg | expui/toolwindows/ |
| Tool-window stripe icons (New UI) | 20×20 | name@20x20.svg + name@20x20_dark.svg | expui/toolwindows/ |
| Main toolbar (New UI) | 20×20 | name@20x20.svg + name@20x20_dark.svg | expui/general/, expui/run/, expui/toolbar/ |
| Editor gutter icons | 14×14 (small marks 12×12, 9×9) | name.svg + name_dark.svg | expui/gutter/ |
| Status bar / inline status | 16×16 | name.svg + name_dark.svg | expui/status/, expui/inline/ |
| Breakpoint marks | 14×14 (12×12 for sub-marks) | name.svg + name_dark.svg | expui/breakpoints/ |
| Run-config tags & disclosure chevrons | 16×16 (chevron*.svg may be 9×9 to 16×16) | name.svg + name_dark.svg | expui/run/, expui/general/ |
| Welcome/onboarding & logos (system) | 16, 20, 28, 48 (per surface) | name.svg + name_dark.svg | expui/ide/, expui/welcome/ |
When in doubt, find a sibling icon in the same folder and copy its width / height / viewBox.
Two placements exist and both are valid — pick based on whether a Classic-UI icon already exists:
_dark sibling) under an expui/<role>/ resource root. Callers reference it directly through the plugin's generated <Plugin>Icons class.expui/<role>/ path, and add a mapping entry to the nearest *IconMappings.json. At runtime, when ExperimentalUI.isNewUI() is true, the mapper substitutes the New UI file for the Classic one so no caller has to change its icon reference.Mapping-file shape (excerpt from community/platform/icons/src/PlatformIconMappings.json):
{
"expui": {
"actions": {
"addFile.svg": "actions/addFile.svg",
"checked.svg": ["actions/checked.svg", "actions/setDefault.svg"]
}
}
}
Key = path relative to the expui/ root (the New UI file). Value = the Classic path(s) that should resolve to it. A single New UI icon may back multiple Classic paths.
<!-- Copyright 2000-2026 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<!-- shapes, ordered back-to-front -->
</svg>
The dark variant is the same file with light-palette colors swapped for their dark-theme partner — see palette.md. Never change geometry between the two.
(cx=8, cy=8) for 16×16 and (cx=10, cy=10) for 20×20.1..15). For 20×20 use 2 px of padding. Stripe icons must stay visually balanced inside their 20×20 cell.nodes/class.svg): a light-tinted fill at radius 6.5 with a stroke in the accent color, plus a glyph filled with the same accent.
<circle cx="8" cy="8" r="6.5" fill="<accent-bg-light>" stroke="<accent-light>"/> then glyph fill="<accent-light>".fill="<accent-bg-dark>" stroke="<accent-dark>" and glyph filled with <accent-dark>.#6C707E light / #CED0D6 dark) at stroke-width="1". Use #818594 (light) / #6F737A (dark) for "secondary" stroke glyphs like dropdown chevrons.white.#5E4D33 inside #F2C55C warning) — never plain white.actions/addFile.svg): the base glyph uses the neutral gray, and the small "modifier" (+, ✕, ↻, gear) uses the primary blue accent. Light gray + blue accent → dark gray + blue accent in the dark variant.*_stroke.svg): outline-only, same neutral stroke color, no fills.The full lookup is in palette.md. Most icons only need:
| Role | Light | Dark |
|---|---|---|
| Primary stroke / fill | #6C707E | #CED0D6 |
| Secondary stroke | #818594 | #6F737A |
| Disabled / faint fill | #EBECF0 | #43454A |
| Accent — Blue | #3574F0 | #548AF7 |
| Accent — Blue (bg) | #EDF3FF / #E7EFFD | #25324D |
| Accent — Red | #DB3B4B | #DB5C5C |
| Accent — Red (bg) | #FFF7F7 | #402929 |
| Status — Error fill | #E55765 | #DB5C5C |
| Status — Warning fill | #FFAF0F | #F2C55C |
| Status — Success fill | #55A76A | #57965C |
| Accent — Green | #208A3C | #57965C |
| Accent — Green (bg) | #F2FCF3 | #253627 |
| Accent — Orange | #E66D17 | #C77D55 |
| Accent — Orange (bg) | #FFF4EB | #45322B |
| Accent — Yellow/Gold | #FFAF0F / #C27D04 | #F2C55C / #D6AE58 |
| Accent — Purple | #834DF0 | #B589EC |
| Accent — Purple (bg) | #FAF5FF | #2F2936 |
| White on dark badge | white | matching muted-dark fill (e.g. #5E4D33) |
Do not use plain #000000 or off-the-palette grays.
community/platform/icons/src/expui/<role>/ and read their SVG sources. Mirror their stroke/fill mix.width/height/viewBox matching the role, and fill="none" on <svg>._dark filename and swap each color for its dark-theme partner from the palette mapping. Keep paths byte-identical otherwise.expui/<role>/ resource folder; reference it from the plugin's <Plugin>Icons class.expui/<role>/, add a mapping entry to the nearest *IconMappings.json. Callers keep referencing the old path.currentColor, CSS, or <style> blocks. The IntelliJ icon loader requires explicit colors on every shape so it can do palette-based recoloring._dark variant. The icon will look fine in Light theme then turn invisible in Dark.#000) or pure-white (#FFF) fills outside the status-badge glyph pattern. They break under accent recoloring.*IconMappings.json entry when replacing a Classic icon — the Classic icon will keep showing in New UI mode.community/platform/icons/src/expui/ — when reviewing, diff your new icon against a sibling there.Icons guidelines.svg is a design sheet (visual reference only; not machine-readable). When it disagrees with the folder, trust the folder.まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
IntelliJプラグインのAnActionと登録設定を実装・変更し、表示文言やアイコンの定義、非同期処理の起動方法を整えます。
IntelliJのJPSテストモジュールをBazelへ移行し、Bazelだけで起きる失敗を依存関係や実行環境から切り分ける手順を案内します。
IntelliJのKotlin・Javaコードを新規作成やレビューする際に、言語の選び方、書式、型の扱い、例外処理などのプロジェクト規約に沿って整えるスキルです。
IntelliJ向けの変更を適切な単位に分け、チケットの有無に応じた形式で、理由や判断も伝わるコミットメッセージを作成・修正するスキルです。
Pythonコードの型推論や型エラーを複数の型チェッカーで比較し、各ツールの判定と診断内容をまとめたレポートを作成します。
Compose Desktopの画面で状態や副作用をどこに持たせるか整理し、表示と判断の境界、再利用部品やリストの設計を整えます。