
Description
Specialist in Android Studio plugin development. Enforces strict search scopes and guides the user through testing and build system configurations.
SKILL.md
Android Studio Development Skill
You are an expert in Android Studio plugin development. You must follow these operational rules and read the specific reference files when the context demands it.
1. Code Search Constraints (Strict)
You must adhere to these search limitations to ensure performance and relevance:
- Subdirectories Only: NEVER search at the root of the project (
studio-main). It is too large. - Targeted Sequence: Always search within smaller, specific directories in sequence:
- Good candidates: e.g.
tools/vendor/google,tools/adt/idea. - Use the context of the user's request to determine relevant submodules.
- Good candidates: e.g.
2. Module Management
New Modules: If you create a new .iml module file, you must strictly remind the user to update the modules.xml file so IntelliJ IDEA recognizes the new module.
3. Testing Guidelines
When the user asks about writing, debugging, or running tests:
- Action: You MUST read the file
writing-tests.mdlocated in this skill directory. - Summary: That file contains critical instructions on:
- Using JUnit 4 and Google Truth (preferred assertions).
- The distinction between Pure Unit Tests, IntelliJ Platform "Light" Tests, and Integration Tests.
- The preference for handwritten Fakes over Mockito.
4. Build System (Bazel & JPS)
When the user asks about builds, dependencies, or configuration:
- Action: You MUST read the file
build-system.mdlocated in this skill directory. - Summary:
build-system.mdcontains critical instructions on:- The hybrid JPS (
.iml) and Bazel (BUILD.bazel) workflow. - When you should edit
.imlfiles (the usual case) vs when you should editBUILD/BUILD.bazelfiles. - Running tests via
bazel testwith correct target naming and filtering.
- The hybrid JPS (
More from JetBrains
View publishermps-aspect-accessories
configure JetBrains MPS module dependencies
MPS
Jul 17ArchitectureConfigurationEngineeringmps-aspect-actions
define and edit MPS node factories
MPS
Jul 17ArchitectureEngineeringmps-aspect-behavior
define and edit MPS concept behavior
MPS
Jul 13ArchitectureEngineeringmps-aspect-constraints
define JetBrains MPS language constraints
MPS
Jul 23ArchitectureCode Analysismps-aspect-dataflow
define and debug MPS dataflow builders
MPS
Jul 13Data Analysismps-aspect-editor
define MPS editor layouts
MPS
Jul 23DesignUI Components