flutter/migrate-intellij-util
Optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.
npx skills add https://github.com/flutter/flutter-intellij --skill migrate-intellij-util
You are tasked with optimizing memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.
Go read https://javadoc.jetbrains.net/teamcity/openapi/current/com/intellij/util/package-summary.html, and then optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.
ArrayList -> SmartList (for potentially empty/small lists)HashMap / ConcurrentHashMap -> ContainerUtil mapsString manipulation -> StringUtil (e.g., isEmpty, join, notNullize)Path / File string manipulation -> PathUtiljavax.swing.Timer -> Alarm (for UI-related callbacks/debouncing)ObjectUtils (e.g., doIfNotNull, coalesce)ArrayUtil./gradlew testClasses, ./gradlew test, and ./gradlew verifyPlugin to ensure project is in a good state.com.intellij.util equivalent../gradlew testClasses to ensure migration didn't break test compilation../gradlew test and ./gradlew verifyPlugin to ensure no regressions.Take flutter/migrate-intellij-util from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.