SkillMITv1.0.0awesome-copilot

VS Code extension command contribution

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

At a glance

Kind
Skill · Ananke skill
Reference
awesome-copilot/vscode-ext-commands · ananke://skill/awesome-copilot/vscode-ext-commands@1.0.0
Files
1 · 1.5 KB
How it's used
Skills load on demand: the agent sees this skill's name and description, and opens SKILL.md (and any bundled references or scripts) when a task matches.

Where it fits

Lifecycle phase
Implementation
Role
Developer
Domain
Developer tooling
Platform
Ananke PlexusClaude CodeGitHub Copilot
Needs
Nothing (text only)

Facets suggested from the item's own text and tags, not yet reviewed. Facets say where an item is relevant, not that it will run in your setup. How facets work

Checked by Dex

Verified, not self-reported: dex-trove 0.3.16 installed this item into each layout and checked that the tool can load it. Dex collects no download or usage data.

  • Claude Code ✓ loads
  • GitHub Copilot ✓ loads

Documentation

View upstream ↗

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.