Optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.
60
70%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/migrate-intellij-util/SKILL.mdYou 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.21aaf0b
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.