hemang11/agent-core/ide-shortcut-unified-layer

Claude Code and agent skill by hemang11/agent-core

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Unified export/import layer for IDE keyboard shortcuts, using a single canonical JSON as the interchange format. Use when the user asks to export, import, migrate, sync, unify, or copy keyboard shortcuts / keymaps / keybindings between editors such as IntelliJ / JetBrains IDEs and Cursor / VS Code. The canonical file is written to the current working directory unless the user provides an explicit path.

Install

npx vskill@latest install hemang11/agent-core/ide-shortcut-unified-layer

SKILL.md

The same SKILL.md was published earlier as hemang11/agent-core/ide-shortcut-unified-layer.

IDE Shortcut Unified Layer (Export / Import)

One CLI handles both directions: IDE → canonical JSON, and canonical JSON → IDE. The canonical file is the single interchange format.

When To Use

  • "Export my IntelliJ shortcuts."
  • "Import these shortcuts into Cursor."
  • "Move my keymap from <IDE-A> to <IDE-B>."

Supported IDEs (v1)

KeyIDESource of truth
intellijIntelliJ IDEA / any JetBrains IDE~/Library/Application Support/JetBrains/<Product>/keymaps/*.xml
cursorCursor~/Library/Application Support/Cursor/User/keybindings.json
vscodeVS Code~/Library/Application Support/Code/User/keybindings.json

Paths above are macOS defaults. On other OSes pass an explicit path via --path.

Canonical Format (shortcuts.json)

json
{
"version": 1,
"source_ide": "intellij",
"exported_at": "2026-04-17T12:00:00Z",
"shortcuts": [
{
"intent": "edit.copy",
"ide_action": "$Copy",
"keys": ["meta c"],
"when": null,
"raw": { "...": "source-specific payload" }
}
]
}
  • intent — portable semantic id from scripts/mappings.json; null if the action is not in the mapping table.
  • ide_action — native command / action id ($Copy for IntelliJ, editor.action.clipboardCopyAction for VS Code/Cursor).
  • keys — normalized chords, space-separated modifiers, lowercase (e.g. "shift meta f").
  • when — VS Code/Cursor when clause; null for IntelliJ.
  • raw — original object preserved so round-trips lose nothing.

Workflow — Export

bash
python3 <skill-dir>/scripts/ide_shortcuts.py export \
--ide intellij \
--output ./shortcuts.json
  • --ide {intellij,cursor,vscode} — required.
  • --path PATH — override the source file. Defaults to the IDE's OS-default location.
  • --output PATH — defaults to ./shortcuts.json in the current working directory.

For IntelliJ, if multiple products or keymaps exist, the script picks the most recently modified keymap unless --path is passed.

Workflow — Import

bash
python3 <skill-dir>/scripts/ide_shortcuts.py import \
--ide cursor \
--input ./shortcuts.json
  • --ide {intellij,cursor,vscode} — required.
  • --input PATH — defaults to ./shortcuts.json in the current working directory.
  • --path PATH — override the destination file. Defaults to the IDE's OS-default location.
  • --merge (default) — merge into existing keybindings, replacing entries with the same ide_action.
  • --replace — replace the destination file entirely (prompts for confirmation unless --yes).
  • --report PATH — write unmapped shortcuts to this path (default ./shortcuts.unmapped.json) so the user can hand-edit them.
Translation rules
  1. If intent is set and mappings.json has an entry for the target IDE, use that native command.
  2. Else if source_ide == target_ide, use ide_action directly.
  3. Else the entry is unmapped: written to the report file and skipped from the import with a summary at the end.

Agent Steps

  1. Identify direction (export vs import) and target IDE from the user's request.
  2. If the user did not give a path, default to the current working directory for shortcuts.json.
  3. Run the CLI with the right subcommand.
  4. After import, surface: counts of applied vs unmapped entries and the report path.
  5. Tell the user to reload the IDE (Cursor: Developer: Reload Window; IntelliJ: restart or File → Manage IDE Settings → Reload).

Utility Script

  • scripts/ide_shortcuts.py — single-file Python 3 CLI, stdlib only.
  • scripts/mappings.json — curated intent table. Extend it to grow cross-IDE fidelity.

Extending

Add a new IDE by implementing _export_<ide> and _import_<ide> in ide_shortcuts.py and adding its native command strings to mappings.json.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hemang11/agent-core/ide-shortcut-unified-layer/badge)](https://verified-skill.com/skills/hemang11/agent-core/ide-shortcut-unified-layer)

Something wrong with this skill or its page? Tell us.