extensions-api-migration
Skill by JetBrains
Guides the migration of IdeaVim extensions from the old VimExtensionFacade API to the new @VimPlugin annotation-based API. Aimed at developers who maintain IdeaVim extensions.
Install extensions-api-migration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/JetBrains/ideavim /tmp/ideavim && mkdir -p ~/.claude/skills && cp -r /tmp/ideavim/.claude/skills/extensions-api-migration ~/.claude/skills/extensions-api-migrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install extensions-api-migration in Claude Code
git clone --depth 1 https://github.com/JetBrains/ideavim /tmp/ideavim && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ideavim/.claude/skills/extensions-api-migration ~/.gemini/antigravity-cli/skills/extensions-api-migrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install extensions-api-migration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through migrating IdeaVim extensions from the old VimExtensionFacade API to the new API, which the source describes as annotation-based using @VimPlugin. It explains how to get the API with api() in init(), register text objects with api.textObjects { }, and register mappings with api.mappings { }. It also shows how to define helper functions with VimApi as a receiver.
The migration is done in small steps. The extension still inherits VimExtensionFacade and stays registered in the XML file. The skill advises checking test coverage first, migrating handlers one at a time, committing each change separately, and finally checking that only the allowed com.maddyhome imports remain. It is aimed at developers maintaining IdeaVim extensions in the IdeaVim codebase.
Written from the project's SKILL.md and checked against it.
What it can do
- Obtain the new APIShows how to call api() at the start of init() to get the new API entry point.
- Register text objectsExplains registering text objects with api.textObjects { } in an extension.
- Register mappingsExplains registering normal, visual and operator-pending mappings with api.mappings { }.
- Extract handlers to functionsDescribes moving ExtensionHandler execute logic into functions with VimApi as receiver.
- Step-by-step handler migrationProvides a six-step process for migrating each handler one at a time.
- Check for old API importsDescribes verifying that only allowed com.maddyhome imports remain after migration.
What you need
- An IdeaVim codebase containing the extension
- Existing tests for the extension that pass before migration
Try asking
- Migrate the handlers in my IdeaVim extension to the new @VimPlugin API, one at a time.
- Register the text objects in this IdeaVim extension using api.textObjects { }.
- Check my IdeaVim extension for leftover com.maddyhome imports after migration.
Good to know
- Assumes the extension stays on VimExtensionFacade and stays registered in the XML file.
- Complex plugins may need a pre-refactoring step to remove Document dependencies first.
- Requires tests for the extension to be written or verified before migrating.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/extensions-api-migration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to extensions-api-migration
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
extensions-api-migration: common questions
Does this migration change how the extension is registered?
No. The source says the extension still inherits VimExtensionFacade and still registers in the XML file.
What should be done before starting the migration?
Make sure tests exist with good coverage and pass on the existing version. Create more tests first if coverage is not enough.
How should a Document dependency be handled?
Do a pre-refactoring step that changes the class to accept CharSequence, which is available through the new API.
How do I install extensions-api-migration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is extensions-api-migration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is extensions-api-migration safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to extensions-api-migration?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
