IntelliJ Plugin Development

Design and implement IntelliJ IDEA and Android Studio plugins with Gradle configuration.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/andreiverdes/awesome-claude --skill intellij-plugin-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: IntelliJ Plugin Development
Source: https://github.com/andreiverdes/awesome-claude/tree/main/skills/intellij-plugin
Command: npx skills add https://github.com/andreiverdes/awesome-claude --skill intellij-plugin-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building IntelliJ IDEA / Android Studio plugins is complex and easy to get wrong, especially around Gradle setup, plugin.xml wiring, threading/EDT rules, UI component requirements, and secure credential handling.

Core Features & Use Cases

  • End-to-end plugin scaffold guidance: Uses IntelliJ Platform Gradle Plugin 2.x with Kotlin and Gradle configuration patterns.
  • Correct plugin wiring: Covers plugin.xml essentials, tool window registration, and service registration approaches using @Service.
  • Production-grade UI and lifecycle patterns: Enforces IntelliJ wrapper components, ActionToolbar usage, EDT/threading model, Disposable lifecycle, lazy tree loading, and settings persistence patterns.
  • Security and reliability guardrails: Provides a security audit prompt checklist plus practical guidance for safe credential storage (PasswordSafe) and avoiding common injection/logging mistakes.
  • Use case: When you need a custom tool window and actions in Android Studio to automate project workflows, this skill helps you implement the UI, background execution, settings, and safe integration points.

Quick Start

Ask for a complete IntelliJ plugin build plan by providing the target IDE (Community/Ultimate and version) plus the plugin features you want, then request the exact Gradle and plugin.xml structure needed.

Frequently Asked Questions about IntelliJ Plugin Development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Gradle project for IntelliJ plugin development with Kotlin?

IntelliJ plugin development setup uses the IntelliJ Platform Gradle Plugin 2.x with Kotlin, providing actionable build configuration and Gradle patterns to scaffold your project correctly and avoid common wiring errors.

How do I register a custom tool window in plugin.xml for Android Studio?

Registering a custom tool window requires correct plugin.xml wiring. This includes defining tool window extensions, applying ActionToolbar usage, and using IntelliJ wrapper components to ensure your UI integrates properly within the JetBrains platform.

Why does my IntelliJ plugin freeze the UI during background execution?

UI freezes occur when violating the EDT threading model. Plugin development requires performance-safe UI updates by enforcing strict EDT rules, utilizing Disposable lifecycle management, and implementing lazy tree loading for background execution.

Can I use the @Service annotation for IntelliJ plugin settings persistence?

Yes, you can use the @Service annotation for service registration. This approach streamlines settings persistence patterns and lifecycle management within the JetBrains platform, ensuring your plugin maintains state reliably across sessions.

What is the best way to handle secure credential storage in a JetBrains plugin?

Secure credential storage in JetBrains plugins relies on the PasswordSafe API. This approach provides safe credential handling, avoiding common injection and logging mistakes while passing security audit checklists for plugin publication.

Does IntelliJ Platform SDK compatibility affect Android Studio plugin actions?

Yes, IntelliJ Platform SDK compatibility dictates how actions and tool windows function across Android Studio. Applying correct plugin.xml wiring and IntelliJ wrapper components ensures your custom actions automate project workflows without platform conflicts.