Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

jetbrains-plugin-development

БесплатноБез исполняемых скриптовНе проверен

IntelliJ Platform plugin development for JetBrains IDEs. Use when writing, debugging, or migrating a JetBrains plugin — `plugin.xml`, services, actions…

buYoungот buYoung★ 21 звезда на GitHub

Об этом скилле

JetBrains IDE Plugin Development (IntelliJ Platform SDK)

This skill carries the IntelliJ Platform SDK domain knowledge needed to write, debug, and modify JetBrains IDE plugins using only APIs supported for external plugins. The source baseline is IntelliJ Community tag idea/2026.3, commit c91871ae2864649d952825cff72569e3db0e7ac6. Guidance for 2024.1+ remains version-conditioned; this source baseline does not raise a plugin's minimum supported IDE version automatically.

How to use this skill

  1. Establish the target IDE product/build, minimum supported version, IntelliJ Platform Gradle Plugin version, and Java/Kotlin toolchain from the project. Read the Public API boundary and mental model below before selecting APIs.
  2. Pick the reference file from the Capability index that matches the task and read it before editing.
  3. For end-to-end shapes — how the registrations, classes, and plugin.xml of a feature line up — open the matching folder under examples/.
  4. Before declaring any plugin-modifying task done, walk the Pre-flight checklist.

Do not invent extension point names, attribute names, or API signatures. The Platform is highly specific about strings (language="JAVA" vs "java", EP IDs, attribute spellings); a wrong character is enough to silently disable a feature. When unsure, surface the question to the user with the relevant reference cited — and verify the spelling in the IDE's plugin.xml editor, which auto-completes valid EP names from the loaded plugin set and underlines unknown ones.

Public API boundary

This rule applies to every reference, example, API call, base type, implementation, and EP registration in this package. Use only APIs supported for external plugins. Java/Kotlin public visibility alone does not establish that support.

  • Reject private, @ApiStatus.Internal, @IntellijInternalApi, internal EPs, and implementation classes not intended for external use. Inspect the exact member, containing types, supertypes, package annotations, module visibility, documentation, and EP declaration metadata in the target version. Respect NonExtendable and OverrideOnly contracts as well.
  • Never bypass this boundary with reflection, accessibility overrides, internal casts, copied internal implementations, or suppressed inspections. Risk acceptance is not an exception.
  • Internal source is evidence for understanding behavior only. If no supported API can implement the requested feature, explain the limitation and offer the nearest public API alternative; do not fabricate an equivalent capability.
  • Evaluate external availability and stability separately. An Experimental API is eligible only after external use is confirmed; state its applicable versions and instability and prefer a stable public alternative. Neither a missing annotation nor successful compilation proves that an API is supported or stable.
  • For changed API guidance, record the source tag, commit, source links, public-status evidence, and applicable versions. Check the minimum version separately from the baseline. If status remains unverified, keep that candidate out of recommended examples.

Read 00_public_api_baseline.md for the pinned evidence and version boundaries. IDE completion and Plugin Verifier supplement this review; neither grants permission to use an internal API.

Mental model — five invariants you must hold

These five invariants explain almost every "why doesn't this work?" question.

  1. plugin.xml is the contract. A class is invisible to the IDE until it is registered. @Service light services (including ones that take an injected CoroutineScope constructor parameter) and a few META-INF/ filename conventions are the only exceptions; everything else (extensions, listeners, actions, EPs you define, dependencies) must appear in plugin.xml (or a config-file of an <depends optional> block).
  2. Extensions are stateless; services hold state. EP implementations are constructed once per scope and shared across all calls and threads. Storing mutable state on an extension leaks across projects, threads, and dynamic reloads. Put state in a service (@Service / @Service(Service.Level.PROJECT)), and have extensions look it up on demand.
  3. Threading is non-negotiable. Reading platform model state (PSI, VFS, Document, project model) needs the API's documented read access. Writing needs the documented write context; dispatcher and suspending write behavior depend on the target version (see 04_threading_model.md). Long work belongs on a background thread with progress and cancellation. EDT freezes are user-visible; lock violations are immediate exceptions or data corruption. New code on 2024.1+ uses Kotlin coroutines (cs.launch { }, readAction { }, and the target-version dispatcher and write API).
  4. Disposer is how lifecycle works. Resources tie into a Disposable parent and the platform calls `dispos
Полный SKILL.md на GitHub

Установить jetbrains-plugin-development в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/README.mdexamples/action_basics/DynamicGreetingsGroup.ktexamples/action_basics/HelloAction.ktexamples/action_basics/plugin.xmlexamples/folding_builder/ExampleFoldingBuilder.ktexamples/folding_builder/plugin.xmlexamples/inline_completion_provider/ExampleInlineCompletionProvider.ktexamples/inline_completion_provider/plugin.xmlexamples/settings_persistence/MyAppSettings.ktexamples/settings_persistence/MyConfigurable.ktexamples/settings_persistence/plugin.xmlexamples/simple_language_plugin/Simple.bnfexamples/simple_language_plugin/Simple.flexexamples/simple_language_plugin/SimpleAnnotator.ktexamples/simple_language_plugin/SimpleColorSettingsPage.ktexamples/simple_language_plugin/SimpleCommenter.ktexamples/simple_language_plugin/SimpleCompletionContributor.ktexamples/simple_language_plugin/SimpleElementType.ktexamples/simple_language_plugin/SimpleFile.ktexamples/simple_language_plugin/SimpleFileType.ktexamples/simple_language_plugin/SimpleLanguage.ktexamples/simple_language_plugin/SimpleNamedElement.ktexamples/simple_language_plugin/SimpleNamedElementImpl.ktexamples/simple_language_plugin/SimpleParserDefinition.ktexamples/simple_language_plugin/SimpleSyntaxHighlighter.ktexamples/simple_language_plugin/plugin.xmlreferences/00_public_api_baseline.mdreferences/01_core_dependencies.mdreferences/01_core_extension_diagnostics.mdreferences/01_core_extensions.mdreferences/01_core_gradle_project.mdreferences/01_core_plugin_xml.mdreferences/01_core_split_mode_remote_development.mdreferences/02_runtime_actions.mdreferences/02_runtime_deprecated_api_migrations.mdreferences/02_runtime_legacy_component_migration.mdreferences/02_runtime_listeners_message_bus.mdreferences/02_runtime_services.mdreferences/02_runtime_typed_handlers_editor_actions.mdreferences/03_lifecycle_disposer.md

FAQ

Что делает скилл jetbrains-plugin-development?

IntelliJ Platform plugin development for JetBrains IDEs. Use when writing, debugging, or migrating a JetBrains plugin — `plugin.xml`, services, actions, PSI/VFS/Document, EDT/BGT threading and Read/Write actions, Kotlin coroutines on the IDE platform, custom languages (Grammar-Kit, JFlex, lexer/parser, syntax highlighting, completion, references), code insight (folding, inspections, intentions, inline completion, inlay hints), Kotlin UI DSL v2, tool windows, settings, run/debug configurations, External System (Gradle/Maven), IntelliJ Platform Gradle Plugin 2.x, dynamic reload, Plugin Verifier, signing, and Marketplace publishing; legacy migrations (`ApplicationComponent`, `getCoroutineScope`, raw `Thread`/`ExecutorService`). Not for end-user IDE configuration or vmoptions tuning.

Как установить скилл jetbrains-plugin-development?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл jetbrains-plugin-development запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить jetbrains-plugin-development с