vscode-ext-commands — GitHub Copilot skill: install
This skill guides VS Code extension command work, covering naming, visibility, localization, icons, and related contribution details.
npx skills add github/awesome-copilot --skill vscode-ext-commandsWhat vscode-ext-commands does
vscode-ext-commands helps add or update commands in VS Code extensions. It requires every command to define a title; regular commands should also use a category and remain available from the Command Palette by default.
Sidebar commands follow a separate naming pattern: they start with _ and end with #sideBar, such as _extensionId.someCommand#sideBar. They need an icon, may use enablement, and should define display order when contributed to view/title or view/item/context. The skill also points to when conditions for controlling visibility.
Install it when you are maintaining a VS Code extension and want an agent to apply these command contribution rules. It has little value for projects that do not define VS Code extension commands.
What it helps with
- add a command to a VS Code extension
- define a command
title,category, and visibility - format a sidebar command correctly
- set an icon and display order for a view command
- control command visibility with
whenandenablement
Example prompts for the agent
- Add a command to my VS Code extension and check its `title`, `category`, and visibility.
- Format this sidebar command according to `vscode-ext-commands`.
- Review the name, icon, group, and `when` condition for `_extensionId.someCommand#sideBar`.
How to install vscode-ext-commands
1Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill vscode-ext-commands2GitHub CLI
gh skill install github/awesome-copilot vscode-ext-commands3Manually: put the files in place
.github/skills/vscode-ext-commands/SKILL.md1Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill vscode-ext-commands -a claude-code2Manually: put the files in place
~/.claude/skills/vscode-ext-commands/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/vscode-ext-commands/
Manually: put the files in place
.agents/skills/vscode-ext-commands/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/vscode-ext-commands/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
Platform CLI
gemini skills install https://github.com/github/awesome-copilot --path skills/vscode-ext-commandsManually: put the files in place
.devin/skills/vscode-ext-commands/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set554
The whole set →Similar
Questions about vscode-ext-commands
How do I install vscode-ext-commands in GitHub Copilot?
Run npx skills add github/awesome-copilot --skill vscode-ext-commands, then use .github/skills/vscode-ext-commands/SKILL.md. You can also run gh skill install github/awesome-copilot vscode-ext-commands.
What does vscode-ext-commands do?
It guides the addition and maintenance of commands in VS Code extensions. The rules cover names, title, categories, icons, visibility, and display conditions.
How are sidebar commands different from regular commands?
Their names start with _ and end with #sideBar, for example _extensionId.someCommand#sideBar. They require an icon, and commands added to view/title or view/item/context also need a display order.
Source text
SKILL.md · MIT
--- name: vscode-ext-commands description: 'Guidelines for contributing commands in VS Code extensions. Indicates naming convention, visibility, localization and other relevant attributes, following VS Code extension development guidelines, libraries and good practices' --- # VS Code extension command contribution This skill helps you to contribute commands in VS Code extensions ## When to use this skill Use this skill when you need to: - Add or update commands to your VS Code extension # Instructions VS Code commands must always define a `title`, independent of its category, visibility or location. We use a few patterns for each "kind" of command, with some characteristics, described below: * Regular commands: By default, all commands should be accessible in the Command Palette, must define a `category`, and don't need an `icon`, unless the command will be used in the Side Bar. * Side Bar commands: Its name follows a special pattern, starting with underscore (`_`) and suffixed with `#sideBar`, like `_extensionId.someCommand#sideBar` for instance. Must define an `icon`, and may or may not have some rule for `enablement`. Side Bar exclusive commands should not be visible in the Command Palette. Contributing it to the `view/title` or `view/item/context`, we must inform _order/position_ that it will be displayed, and we can use terms "relative to other command/button" in order to you identify the correct `group` to be used. Also, it's a good practice to define the condition (`when`) for the new command is visible.
© github · MIT · github/awesome-copilot