Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

intellij-platform-sdkintellij platform SDK 搜索

Agent Skill

intellij-platform-sdk 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

574

周安装

23

GitHub Stars

2

下载量

186
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:intellij-platform-sdk(intellij platform SDK 搜索)
来源仓库:https://github.com/gadfly3173/intellij-platform-sdk-skills
仓库路径:skills/intellij-platform-sdk
安装命令:
npx skills add https://github.com/gadfly3173/intellij-platform-sdk-skills --skill intellij-platform-sdk
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/gadfly3173/intellij-platform-sdk-skills --skill intellij-platform-sdk

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。

  • 支持从来源仓库获取上下文,结合安装命令和原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用于需要快速获取信息或背景知识的场景,提升研究效率。
  • 建议在提示词中明确搜索范围和筛选条件,避免无关结果干扰。

SKILL.md

IntelliJ Platform SDK Skill

Use this skill for IntelliJ Platform plugin development based on the modern v2 SDK.

This skill is intentionally split into focused references so the main file stays small and the model can load only the material relevant to the task.

What this skill helps with

  • creating or updating IntelliJ Platform plugins
  • configuring build.gradle.kts, settings.gradle.kts, and plugin.xml
  • implementing actions, services, tool windows, settings, and notifications
  • working with PSI, references, indexing, VFS, and dumb mode
  • building custom language support
  • implementing inspections, intentions, quick fixes, completion, formatting, and documentation
  • implementing run configurations, program runners, and execution consoles
  • providing live templates, file templates, and postfix completion
  • creating or extending IDE themes and color schemes
  • integrating Language Servers (LSP) in plugin-development context
  • contributing MCP tools and toolsets
  • testing plugins and preparing Marketplace publication
  • handling version compatibility and Gradle plugin migration

How to use this skill

First, identify the user’s real task. Then read only the relevant reference files.

Read references/getting-started.md when the task is about

  • creating a new IntelliJ Platform plugin project
  • setting up IntelliJ Platform Gradle Plugin 2.x for a plugin project
  • choosing target IDEs or bundled plugins for plugin development
  • adding optional plugin/module dependencies in plugin.xml
  • writing or fixing plugin-project plugin.xml metadata

Read references/platform-basics.md when the task is about

  • AnAction, action groups, menus, toolbars
  • services (@Service, project/application/module services)
  • logging (Logger, logger<T>(), thisLogger())
  • background tasks (Task.Backgroundable, ProgressManager, ProgressIndicator)
  • Virtual File System (VirtualFile, VFS listeners)
  • threading, read/write actions, dumb mode, modality
  • Kotlin coroutine patterns in plugins (readAction, writeAction, CoroutineScope)
  • dynamic plugin loading/unloading
  • disposable lifecycle management
  • messaging infrastructure (MessageBus, Topic)
  • general plugin architecture decisions

Read references/psi-and-indexing.md when the task is about

  • PSI traversal or modification
  • references, resolve, rename, find usages, safe delete
  • code generation using PSI factories
  • file-based indexes, stub indexes, gists
  • file view providers (multi-language PSI trees in a single file)
  • IndexNotReadyException, dumb mode, PSI performance
  • PSI cookbook (Java-specific common operations)
  • caching with CachedValuesManager

Read references/language-support-and-analysis.md when the task is about

  • custom language plugins
  • lexer, parser, ParserDefinition
  • syntax highlighting, annotators, completion
  • inspections, intentions, quick fixes
  • rename refactoring, rename validation, safe delete
  • formatter, folding, structure view, documentation provider
  • parameter info, spell checking, navigation bar integration
  • inlay hints, code vision
  • language injection
  • Symbols API and declarations/references model
  • Poly Symbols and Web Types for web-framework metadata
  • DocumentationTarget API
  • OptPane, declarative inspection options, OptionController
  • element patterns (PlatformPatterns, PsiElementPattern) for completion/reference contributors
  • color scheme management, TextAttributesKey dependency chaining

Read references/ui-settings-and-toolwindows.md when the task is about

  • Kotlin UI DSL v2 (panel {row {}}, BoundConfigurable)
  • dialogs and IntelliJ UI components
  • tool windows
  • settings/configurables (including parentId/settings groups hierarchy)
  • persistent state
  • notifications
  • popups (JBPopup, ListPopup, chooser popups)
  • new project wizard, module type, project view integration
  • status bar widgets
  • editor notification banners
  • persisting sensitive data (PasswordSafe)
  • embedded editor components (EditorTextField)
  • internationalization (i18n) and localization
  • accessibility (keyboard navigation, screen readers)
  • plugin UX principles

Read references/testing-and-publishing.md when the task is about

  • test fixtures and plugin tests
  • integration tests or UI tests
  • Starter/Driver-based test setup
  • parser/completion/inspection tests
  • plugin verifier
  • verifyPluginProjectConfiguration / verifyPluginStructure
  • signing and publishing to Marketplace

Read references/compatibility.md when the task is about

  • build compatibility
  • sinceBuild / untilBuild
  • migrating from legacy Gradle plugin 1.x to 2.x
  • API changes across platform versions
  • Java/Kotlin version expectations
  • Workspace Model migration or newer platform API transitions

Read references/extension_points.md when the task is about

  • exact plugin.xml registration syntax
  • locating the right extension point
  • action group IDs and XML patterns
  • MCP extension points such as com.intellij.mcpServer.*

Read references/code_samples.md when the task is about

  • finding the closest official SDK sample
  • copying an official implementation pattern
  • understanding what each JetBrains sample demonstrates

Read references/lsp.md when the task is about

  • integrating a Language Server into an IntelliJ Platform plugin
  • LspServerSupportProvider, LspServerDescriptor, or LSP-specific plugin.xml dependencies
  • LSP setup for supported JetBrains IDE products and platform versions in plugin-development context
  • LSP feature support timeline inside the IntelliJ Platform
  • deciding between LSP integration and native IntelliJ language support for a plugin

Read references/mcp-and-ai-integration.md when the task is about

  • MCP-related plugin integration in an IntelliJ Platform plugin
  • contributing MCP tools or defining MCP toolsets
  • understanding MCP-related extension points such as com.intellij.mcpServer.*
  • MCP guidance in areas where the official SDK docs are still sparse

Read references/execution-and-run-configs.md when the task is about

  • implementing custom run configurations (ConfigurationType, RunConfigurationBase)
  • run configuration producers (auto-detecting configurations from context)
  • program runners and execution environments
  • execution consoles and console filters
  • run configuration macros
  • before/after launch tasks

Read references/templates.md when the task is about

  • providing live templates bundled in a plugin
  • custom live template macros/functions
  • file and code templates (Velocity-based)
  • postfix completion templates
  • surround-with descriptors

Read references/themes.md when the task is about

  • creating or extending IDE UI themes
  • theme JSON descriptor format
  • editor color scheme integration
  • icon customization in themes
  • Islands theme compatibility
  • deploying and publishing theme plugins

Read references/icons.md when the task is about

  • adding or organizing icons in a plugin
  • icon file naming conventions (dark variants, HiDPI)
  • icon holder classes (by-path vs by-class referencing)
  • New UI (expui) icon requirements and icon mappings
  • animated icons (AnimatedIcon, AsyncProcessIcon)
  • icon tooltips via resource bundles

Read references/patterns.md when the task is about

  • reusable implementation patterns
  • editor/document helpers (caret position, selection, scrolling)
  • editor coordinate system (offsets, logical/visual positions)
  • editor FAQ (get active editor, listen for events, custom tab title/color)
  • progress handling
  • dialog/tool-window patterns
  • PSI/editor/VFS utilities
  • icon loading and rendering patterns

Read references/troubleshooting.md when the task is about

  • you are not yet sure which troubleshooting bucket the issue belongs to
  • actions not appearing
  • threading assertions
  • service initialization failures
  • PSI write-action errors
  • verifier warnings
  • test setup failures

Read references/troubleshooting-build-runtime.md when the task is about

  • Gradle or repository resolution failures
  • plugin.xml wiring or class loading issues
  • action registration/runtime visibility issues
  • verifier/signing/release failures

Read references/troubleshooting-psi-ui-testing.md when the task is about

  • PSI validity or write-action assertions
  • IndexNotReadyException
  • editor/document synchronization
  • UI refresh or EDT access errors
  • fixture/test-data/debugging problems

Working principles

When solving IntelliJ Platform tasks:

  1. Prefer official platform concepts over ad-hoc hacks.
  2. Put reusable logic in services, not in actions.
  3. Keep AnAction.update() extremely fast.
  4. Respect threading and dumb mode before optimizing behavior.
  5. Use PSI-aware approaches for structural code tasks.
  6. Use platform UI components and conventions for user-facing surfaces.
  7. Keep plugin dependencies and target IDE scope as small as practical.

High-value reminders

  • AnAction implementations should not store request-specific state in fields.
  • When targeting IntelliJ Platform 2022.3 or later, actions must implement getActionUpdateThread().
  • PSI modifications must run on EDT inside a write action and command; coordinate document changes with the PSI/document APIs used by the platform.
  • Not every feature is safe in dumb mode; do not mark things DumbAware casually.
  • For Kotlin plugins targeting 2024.1+ or newer platform baselines, prefer coroutine-based read/write APIs when appropriate.
  • Light services must be final; constructor injection of dependency services is unsupported, and services should not be looked up in constructors only to cache them in fields.
  • Avoid internal APIs unless there is no viable public alternative and the tradeoff is explicit.

Typical response strategy

When a user asks for implementation help:

  1. Determine the feature surface: action, service, PSI, UI, language support, test, or publishing.
  2. Read the matching reference files.
  3. Follow the closest official sample or extension-point pattern.
  4. Implement the smallest correct solution that matches IntelliJ Platform rules.
  5. If publishing or compatibility matters, also review verifier/signing/build-range concerns.

Reference map

  • references/getting-started.md
  • references/platform-basics.md
  • references/psi-and-indexing.md
  • references/language-support-and-analysis.md
  • references/ui-settings-and-toolwindows.md
  • references/testing-and-publishing.md
  • references/compatibility.md
  • references/extension_points.md
  • references/code_samples.md
  • references/lsp.md
  • references/mcp-and-ai-integration.md
  • references/execution-and-run-configs.md
  • references/templates.md
  • references/themes.md
  • references/icons.md
  • references/patterns.md
  • references/troubleshooting.md
  • references/troubleshooting-build-runtime.md
  • references/troubleshooting-psi-ui-testing.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.92%
按下载量换算65

Claude

30.18%
按下载量换算56

Cursor

16.57%
按下载量换算31

Gemini CLI

9.48%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills