vscode-ext-commands

Define VS Code extension commands with naming, visibility, and localization rules.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guidelines for contributing commands to VS Code extensions, ensuring consistent naming, visibility, localization, and best practices across extensions.

Core Features & Use Cases

  • Define a command with a mandatory title and optional category, enabling consistent discovery in the Command Palette.
  • Distinguish between regular commands and side-bar commands; follow the naming pattern for side-bar commands (prefix with _ and suffix with #sideBar) and include an icon and visibility rules.
  • Provide guidance on ordering, enablement, and localization to support multi-view integrations and professional collaboration.
  • Use cases include adding new commands to a VS Code extension and exposing commands in custom views with proper grouping and visibility.

Quick Start

Create a new command by specifying a title and category, and, if it is a side-bar command, prefix the command name with an underscore and suffix with #sideBar, include an icon, and declare visibility conditions.

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 commands to the VS Code Command Palette with proper titles and categories?

VS Code extension commands require a mandatory title and optional category for consistent Command Palette discovery. This approach enforces naming conventions, visibility rules, and localization guidelines across your extension contributions.

What is the naming pattern for side-bar commands in VS Code extensions?

VS Code side-bar commands use a specific naming pattern: prefix the command name with an underscore and suffix with #sideBar. These side-bar commands also require an included icon and declared visibility conditions.

How do I configure command visibility and enablement checks for custom VS Code views?

Configuring command visibility and enablement for VS Code custom views requires declaring specific conditions. This ensures commands only appear active when correct context and enablement checks are met, supporting professional multi-view integrations.

Does this VS Code command contribution approach support localization guidelines?

Yes, this VS Code command contribution approach provides robust localization support. It enforces guidelines ensuring command titles and categories are properly structured for multi-language support across extension contributions.

What is the best way to ensure consistent command ordering across VS Code extensions?

The best way to ensure consistent command ordering in VS Code extensions is applying a structured contribution approach. This provides specific guidance on ordering, grouping, and visibility rules for regular and side-bar commands.