Agent skill

Migrate Intellij Util

by flutter in flutter/flutter-intellij

Optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.

BSD-3-ClauseAuto-check passedMobile

Install Migrate Intellij Util

skills CLI
$ npx skills add flutter/flutter-intellij --skill migrate-intellij-util -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install flutter/flutter-intellij migrate-intellij-util --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/flutter/flutter-intellij.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/migrate-intellij-util .claude/skills/migrate-intellij-util && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
migrate-intellij-util
GitHub stars
2k
Token cost
~600 tokens
SKILL.md length
256 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.

  • Works in 6 steps: Baseline → Select Target → Constraint → …
  • Tasks that involve Android development
  • SKILL.md covers Objective, Candidates for Migration and Workflow Instructions
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Migrate Intellij Util is an agent skill from flutter/flutter-intellij. Optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.

Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Android development and Cross-platform mobile apps. It works with JetBrains IDEs, Java, Flutter and Kotlin. The repository describes itself as: Flutter Plugin for IntelliJ. The licence is BSD-3-Clause.

When your agent uses it

  • Tasks that involve Android development
  • Tasks that involve Cross-platform mobile apps

Example prompts

  • “/migrate-intellij-util”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Baseline
  2. Select Target
  3. Constraint
  4. Migrate
  5. Verify
  6. Report & Review

What it can do on your machine

Read from SKILL.md and the folder at commit 6d5ab33. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • javadoc.jetbrains.net

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Migrate Intellij Util loads about 600 tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 256 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~600

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from flutter/flutter-intellij at commit 6d5ab33, republished under its BSD-3-Clause licence (© flutter). 256 words, ~600 tokens.

Download SKILL.mdSave it as .claude/skills/migrate-intellij-util/SKILL.md (or your agent's skills folder).
name
migrate-intellij-util
description
Optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.

Skill: API Migration to use com.intellij.util.* classes and methods

You are tasked with optimizing memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.

Objective

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.

Candidates for Migration

  • ArrayList -> SmartList (for potentially empty/small lists)
  • HashMap / ConcurrentHashMap -> ContainerUtil maps
  • String manipulation -> StringUtil (e.g., isEmpty, join, notNullize)
  • Path / File string manipulation -> PathUtil
  • javax.swing.Timer -> Alarm (for UI-related callbacks/debouncing)
  • Null checks -> ObjectUtils (e.g., doIfNotNull, coalesce)
  • Array resizing/merging -> ArrayUtil

Workflow Instructions

1. Baseline
  • Run ./gradlew testClasses, ./gradlew test, and ./gradlew verifyPlugin to ensure project is in a good state.
2. Select Target
  • Identify a single migration opportunity within a single package.
3. Constraint
  • Keep the change extremely small (max 50 lines of code change).
4. Migrate
  • Replace standard API with the com.intellij.util equivalent.
5. Verify
  • Run ./gradlew testClasses to ensure migration didn't break test compilation.
  • Run ./gradlew test and ./gradlew verifyPlugin to ensure no regressions.
  • Suggest manual test steps: Check code changes made and write test steps for a user to execute that will trigger changed code paths. If needed, add logging statements to verify code paths have successfully run.
6. Report & Review
  • Summarize the migration.
  • Test Location: Explicitly state where in the IDE user should go to test changed functionality (e.g., "Go to Preferences > Languages & Frameworks > Flutter").
  • Action: Ask user to review changes closely.
  • Do not commit or push.
  • Provide a suggested Git commit message (e.g., "Migrate code to use StringUtil in [Class Name]").

© flutter, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/migrate-intellij-util of flutter/flutter-intellij.

Open the folder on GitHubat commit 6d5ab33

Compare with similar skills

Migrate Intellij Util next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Migrate Intellij Util compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Migrate Intellij Util this skillflutter/flutter-intellij2k—~600Automated safety check: PassBSD-3-Clause
Android Devsickn33/agentic-awesome-skills47k1 repos~536Automated safety check: PassMIT
Compose Multiplatform Patternsmonta-app/ocpp-emulator1795 repos~2kAutomated safety check: PassApache-2.0
Frb Android Emulator Preparefzyzcjy/flutter_rust_bridge5.4k—~2.1kAutomated safety check: NotesMIT
Claude Android NinjaDrjacky/claude-android-ninja124—~5.2kAutomated safety check: PassApache-2.0
Android Audio E2Ehyochan/react-native-nitro-sound961—~814Automated safety check: PassMIT

Similar skills

  • Android Dev

    sickn33/agentic-awesome-skills

    Production-grade Android app development guide covering native (Kotlin/Java), cross-platform (Flutter, RN, KMM), and hybrid architectures.

    47k GitHub starsUsed in 1 repo~536 tokens
    MobileAuto-check passed
  • Compose Multiplatform Patterns

    monta-app/ocpp-emulator

    Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.

    179 GitHub starsUsed in 5 repos~2k tokens
    MobileAuto-check passed
  • Frb Android Emulator Prepare

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when preparing, installing, diagnosing, or explaining the host Android Emulator environment for flutterrustbridge local runtime validation, including Android SDK command-line…

    5.4k GitHub stars~2.1k tokensUpdated yesterday
    MobileAuto-check: notes
  • Claude Android Ninja

    Drjacky/claude-android-ninja

    Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle.

    124 GitHub stars~5.2k tokensUpdated 8 days ago
    MobileAuto-check passed
  • Android Audio E2E

    hyochan/react-native-nitro-sound

    Build and run device-backed Android end-to-end checks for react-native-nitro-sound permissions, recording, playback, listeners, pause/resume, seek, speed, audio focus, lifecycle behavior, and rapid…

    961 GitHub stars~814 tokensUpdated 8 days ago
    MobileAuto-check passed
  • Kotlin

    margelo/react-native-skills

    Design, implement, and review Kotlin and Android APIs. An agent skill from margelo/react-native-skills.

    175 GitHub stars~3k tokensUpdated 1 mo ago
    MobileAuto-check passed

More from flutter/flutter-intellij

All 14 skills in this repo
  • Release Plugin

    flutter/flutter-intellij

    Prepare and execute a new release for the flutter-intellij plugin, including updating dependencies, compatibility bounds, changelogs, and verification.

    2k GitHub stars~1k tokensUpdated 3 days ago
    Auto-check passed
  • Add Missing Unit Test

    flutter/flutter-intellij

    Add a new unit test for a class that currently lacks one or add a new test case to an existing test file, verifying improvement with Kover.

    2k GitHub stars~591 tokensUpdated 3 days ago
    Auto-check passed
  • Audit Accessibility

    flutter/flutter-intellij

    Ensure the plugin's custom UI components are accessible to users with screen readers and other assistive technologies.

    2k GitHub stars~520 tokensUpdated 3 days ago
    Auto-check passed
  • Audit Dependencies

    flutter/flutter-intellij

    Optimize plugin size and security by removing unused dependencies and updating outdated libraries.

    2k GitHub stars~475 tokensUpdated 3 days ago
    Auto-check passed
  • Audit UI Thread Safety

    flutter/flutter-intellij

    Prevent UI freezes and ensure a responsive user experience by validating threading rules and migrating blocking calls off the Event Dispatch Thread (EDT).

    2k GitHub stars~518 tokensUpdated 3 days ago
    Auto-check passed
  • Cleanup Code Inspections

    flutter/flutter-intellij

    Reduce technical debt and improve code quality by systematically resolving static analysis warnings.

    2k GitHub stars~429 tokensUpdated 3 days ago
    Auto-check passed

Categories

Questions about Migrate Intellij Util

What does Migrate Intellij Util do?

Optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations. Migrate Intellij Util is an agent skill from flutter/flutter-intellij.util implementations.

When should I use Migrate Intellij Util?

Migrate Intellij Util fits situations like: tasks that involve Android development; tasks that involve Cross-platform mobile apps.

How do I install Migrate Intellij Util in Claude Code?

Run `npx skills add flutter/flutter-intellij --skill migrate-intellij-util -a claude-code`. Or copy the skill folder (.agents/skills/migrate-intellij-util in flutter/flutter-intellij) into .claude/skills/migrate-intellij-util in your project. Claude Code loads it when a task matches its description.

How do I install Migrate Intellij Util in Codex?

Run `npx skills add flutter/flutter-intellij --skill migrate-intellij-util -a codex`. Or copy the skill folder (.agents/skills/migrate-intellij-util in flutter/flutter-intellij) into .agents/skills/migrate-intellij-util in your project. Codex loads it when a task matches its description.

Can I use Migrate Intellij Util in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add flutter/flutter-intellij --skill migrate-intellij-util -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/migrate-intellij-util, .gemini/skills/migrate-intellij-util, .github/skills/migrate-intellij-util and .opencode/skills/migrate-intellij-util in your project.

What does Migrate Intellij Util need to run?

SKILL.md names no scripts, command-line tools or credentials: Migrate Intellij Util is instructions for the agent only.

Does Migrate Intellij Util access the network?

SKILL.md names 1 domain. As links in the text: javadoc.jetbrains.net. This is read from the text; nothing was executed.

Is Migrate Intellij Util safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Migrate Intellij Util use?

Migrate Intellij Util is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Migrate Intellij Util use?

About 600 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Migrate Intellij Util?

Skills that share tags, products or a category with Migrate Intellij Util: Android Dev (sickn33/agentic-awesome-skills, 47k stars), Compose Multiplatform Patterns (monta-app/ocpp-emulator, 179 stars), Frb Android Emulator Prepare (fzyzcjy/flutter_rust_bridge, 5.4k stars) and Claude Android Ninja (Drjacky/claude-android-ninja, 124 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Migrate Intellij Util?

flutter (a GitHub organization) maintains it in flutter/flutter-intellij, which has 2,016 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 5, 2026.

Source: flutter/flutter-intellij on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.