Vscode Ext Commands
Master VS Code extension command patterns and best practices
✨ The solution you've been looking for
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
See It In Action
Interactive preview & real-world examples
AI Conversation Simulator
See how users interact with this skill
User Prompt
Help me add a new command to my VS Code extension that formats code and should be accessible from the Command Palette
Skill Processing
Analyzing request...
Agent Response
Complete command contribution structure with proper title, category, and Command Palette visibility settings
Quick Start (3 Steps)
Get up and running in minutes
Install
claude-code skill install vscode-ext-commands
claude-code skill install vscode-ext-commandsConfig
First Trigger
@vscode-ext-commands helpCommands
| Command | Description | Required Args |
|---|---|---|
| @vscode-ext-commands adding-command-palette-commands | Create properly structured commands that appear in VS Code's Command Palette with correct naming and categorization | None |
| @vscode-ext-commands implementing-side-bar-commands | Build commands specifically for Side Bar interactions with proper naming conventions and icon requirements | None |
| @vscode-ext-commands command-visibility-and-positioning | Configure when and where commands appear in the VS Code interface with proper enablement conditions | None |
Typical Use Cases
Adding Command Palette Commands
Create properly structured commands that appear in VS Code's Command Palette with correct naming and categorization
Implementing Side Bar Commands
Build commands specifically for Side Bar interactions with proper naming conventions and icon requirements
Command Visibility and Positioning
Configure when and where commands appear in the VS Code interface with proper enablement conditions
Overview
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 anicon, 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#sideBarfor instance. Must define anicon, and may or may not have some rule forenablement. Side Bar exclusive commands should not be visible in the Command Palette. Contributing it to theview/titleorview/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 correctgroupto be used. Also, it’s a good practice to define the condition (when) for the new command is visible.
What Users Are Saying
Real feedback from the community
Environment Matrix
Dependencies
Framework Support
Context Window
Security & Privacy
Information
- Author
- github
- Updated
- 2026-01-30
- Category
- ide-plugins
Related Skills
Vscode Ext Commands
Guidelines for contributing commands in VS Code extensions. Indicates naming convention, visibility, …
View Details →Vscode Ext Localization
Guidelines for proper localization of VS Code extensions, following VS Code extension development …
View Details →Vscode Ext Localization
Guidelines for proper localization of VS Code extensions, following VS Code extension development …
View Details →