jetbrains-plugin-development
БесплатноБез исполняемых скриптовНе проверенIntelliJ Platform plugin development for JetBrains IDEs. Use when writing, debugging, or migrating a JetBrains plugin — `plugin.xml`, services, actions…
от 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
- 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.
- Pick the reference file from the Capability index that matches the task and read it before editing.
- For end-to-end shapes — how the registrations, classes, and
plugin.xmlof a feature line up — open the matching folder underexamples/. - 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. RespectNonExtendableandOverrideOnlycontracts 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
ExperimentalAPI 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.
plugin.xmlis the contract. A class is invisible to the IDE until it is registered.@Servicelight services (including ones that take an injectedCoroutineScopeconstructor parameter) and a fewMETA-INF/filename conventions are the only exceptions; everything else (extensions, listeners, actions, EPs you define, dependencies) must appear inplugin.xml(or aconfig-fileof an<depends optional>block).- 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. - 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). Disposeris how lifecycle works. Resources tie into aDisposableparent and the platform calls `dispos
Установить jetbrains-plugin-development в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic