vscode-ext-commands

Guide VS Code extension command contribution with naming and visibility rules.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/edjan11/SegundasVias --skill vscode-ext-commands-edjan11
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vscode-ext-commands
Source: https://github.com/edjan11/SegundasVias/tree/main/docs/raw/.github/skills/vscode-ext-commands
Command: npx skills add https://github.com/edjan11/SegundasVias --skill vscode-ext-commands-edjan11

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides guidelines and best practices for contributing commands to VS Code extensions, ensuring consistency and adherence to VS Code's development standards.

Core Features & Use Cases

  • Command Naming Conventions: Understand how to name commands for different contexts (Command Palette, Side Bar).
  • Visibility and Categorization: Learn how to define command visibility and assign them to categories.
  • Side Bar Command Specifics: Details on creating commands specifically for the Side Bar, including naming, icons, and enablement conditions.
  • Use Case: You are developing a VS Code extension and need to add a new command that should appear in the Command Palette and also have a dedicated button in the Side Bar. This skill will guide you on the correct contributes.commands JSON structure.

Quick Start

Follow the VS Code extension development guidelines for contributing commands, paying attention to naming conventions and visibility rules for Side Bar commands.

Frequently Asked Questions about vscode-ext-commands

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

FAQPage Schema
How do I contribute commands to a VS Code extension?

To add commands to a VS Code extension, define the correct `contributes.commands` JSON structure following VS Code development guidelines for naming conventions, visibility, and categorization.

What is the naming convention for VS Code extension commands?

VS Code extension command naming conventions require specific prefixes and structures tailored to whether the command appears in the Command Palette or the Side Bar.

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

Adding a command to the VS Code Side Bar requires defining Side Bar command specifics in the extension manifest, including proper naming, icons, and enablement conditions.

How do I set command visibility and categories in VS Code extensions?

Command visibility and categorization in VS Code extensions are configured within the `contributes.commands` JSON structure to control when and where commands appear.

Do I need specific libraries to define VS Code extension commands?

Defining VS Code extension commands relies on adhering to VS Code extension development best practices and standard libraries, requiring no external dependencies to structure the contribution.