vscode-ext-commands

Guides contribution of commands in VS Code extensions following naming and visibility conventions.

1|1|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/ultraviollettnympho/transit-ticket --skill vscode-ext-commands-ultraviollettnympho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vscode-ext-commands
Source: https://github.com/ultraviollettnympho/transit-ticket/tree/main/.github/skills/vscode-ext-commands
Command: npx skills add https://github.com/ultraviollettnympho/transit-ticket --skill vscode-ext-commands-ultraviollettnympho

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Contributing commands to a VS Code extension involves many conventions—titles, categories, icons, enablement rules, and Command Palette visibility—that are easy to get wrong. This Skill provides clear guidelines so commands are contributed correctly and consistently. ## Core Features & Use Cases - Command Conventions: Defines rules for regular commands, including mandatory titles, categories, and Command Palette visibility. - Side Bar Command Patterns: Explains the special naming pattern (underscore prefix and #sideBar suffix), required icons, enablement rules, and ordering in view/title or view/item/context menus. - Use Case: When adding a new command to your extension's Side Bar view, use this Skill to determine the correct command ID, icon, when clause, and menu group so it appears in the right position without cluttering the Command Palette. ## Quick Start Ask the assistant to add a new Side Bar command to your VS Code extension following the contribution guidelines.

Frequently Asked Questions about vscode-ext-commands

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a command to a VS Code extension?

Contribute the command in your extension's package.json with a mandatory title and category so it appears in the Command Palette. Regular commands do not need an icon unless they are used in the Side Bar.

How do I add a command to the VS Code Side Bar view?

Side Bar commands use a special naming pattern: an underscore prefix and a #sideBar suffix, such as _extensionId.someCommand#sideBar. They must define an icon and are contributed to view/title or view/item/context menus with an order group.

Should Side Bar commands appear in the Command Palette?

No, Side Bar exclusive commands should not be visible in the Command Palette. Regular commands, by contrast, should be accessible in the Command Palette by default and must define a category.

How do I control when a VS Code command is visible?

Define a when clause condition for the command's menu contribution to control its visibility. It is good practice to set this condition for Side Bar commands, and enablement rules may also apply.

How do I position a command button in a VS Code view title?

When contributing to view/title or view/item/context, specify the order or position using the group field. You can describe placement relative to other commands or buttons to identify the correct group.