jetbrains-ui
Skill by Kilo-Org
Guides AI assistants writing or reviewing UI code in the Kilo JetBrains plugin. It covers Swing layout, IntelliJ platform components, shared style tokens, and theme-based colors, fonts, and borders.
Install jetbrains-ui
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Kilo-Org/kilocode /tmp/kilocode && mkdir -p ~/.claude/skills && cp -r /tmp/kilocode/.kilo/skills/jetbrains-ui ~/.claude/skills/jetbrains-uiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Kilo-Org/kilocode /tmp/kilocode && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/kilocode/.kilo/skills/jetbrains-ui ~/.gemini/antigravity-cli/skills/jetbrains-uiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This is an agent skill (SKILL.md) from the Kilo-Org repository. It gives detailed UI rules for the packages/kilo-jetbrains/ plugin. It tells the assistant to use standard Swing with IntelliJ Platform components, and to avoid Kotlin UI DSL v2, Compose, and JCEF. It lists platform replacements for raw Swing classes, such as JBLabel for JLabel and JBTable for JTable.
The skill also explains the UiStyle and SessionUiStyle token objects, how to check for an existing platform key before adding a new constant, and how to use theme-derived colors, fonts, and DPI-aware borders. It is written for developers and AI assistants working on that plugin.
Written from the project's SKILL.md and checked against it.
What it can do
- Platform component guidanceMaps raw Swing classes such as JLabel, JTable and JSplitPane to IntelliJ Platform replacements.
- Style token rulesExplains when to use UiStyle for generic constants and SessionUiStyle for chat session UI constants.
- Theme-derived colorsLists semantic platform color keys and rules against hardcoded runtime colors.
- Theme-derived fontsRecommends JBFont helpers and platform text attributes instead of hardcoded font sizes.
- Borders and spacingSpecifies JBUI.Borders, JBUI.scale and JBValue.UIInteger for DPI-aware, theme-aware spacing.
- Rich text and HTML rulesDescribes when to use JBHtmlPane, PlainLabel, SimpleColoredComponent and HtmlChunk for text.
- Technology restrictionsStates that the plugin must not use Kotlin UI DSL v2, Compose or JCEF.
What you need
- Access to the Kilo-Org repository with packages/kilo-jetbrains/
- IntelliJ source or public IntelliJ repository for looking up platform APIs
Try asking
- Review this tool window panel for raw Swing usage and suggest IntelliJ replacements
- Add a settings page in kilo-jetbrains using platform components and UiStyle tokens
- Replace hardcoded colors and font sizes in this dialog with theme-derived values
Good to know
- Applies to the packages/kilo-jetbrains/ plugin only
- Kotlin UI DSL v2, Kotlin Compose and JCEF are not to be used in this plugin
- MultiLineLabel is legacy and should not be used in new code
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .kilo/skills/jetbrains-ui/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md27 KB
Alternatives to jetbrains-ui
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
jetbrains-ui: common questions
Can the assistant use Kotlin UI DSL for layouts in this plugin?
No. The skill says Kilo should not introduce Kotlin UI DSL v2 and should use standard Swing with IntelliJ Platform components.
Where should new reusable UI constants go?
Generic gaps, colors and helpers go in UiStyle. Chat session constants go in SessionUiStyle. Constants should not be passed through constructors.
Why avoid JCEF in the JetBrains plugin?
The skill says JCEF does not work in remote development split mode, because the frontend runs on the client while JCEF needs a display on the host.
How do I install jetbrains-ui?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is jetbrains-ui free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is jetbrains-ui safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to jetbrains-ui?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
