Guidelines for implementing IntelliJ actions (AnAction). Use those rules when you need to create or change an action in the intellij platform.
68
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
—
The risk profile of this skill
Guidelines for implementing IntelliJ actions (AnAction).
id attribute for the action in plugin.xmlicon attribute if an icon is neededaction.<action-id>.text=Translated Action Textaction.<action-id>.description=Translated Action DescriptionGood example:
Kotlin:
class MyAction : AnAction()plugin.xml:
<action id="My.Action.Id"
class="my.package.MyAction"
icon="my.package.MyIcons.ICON"/>Bundle.properties:
action.My.Action.Id.text=My Action
action.My.Action.Id.description=Description of my actione2a6605
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.