jpskill.com
🛠️ 開発・MCP コミュニティ

vscode-ext-commands

VS Code拡張機能のコマンド開発において、命名規則や表示設定、多言語対応など、公式ガイドラインに沿った貢献を支援するSkill。

📜 元の英語説明(参考)

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

🇯🇵 日本人クリエイター向け解説

一言でいうと

VS Code拡張機能のコマンド開発において、命名規則や表示設定、多言語対応など、公式ガイドラインに沿った貢献を支援するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[スキル名] vscode-ext-commands

VS Code 拡張機能のコマンド貢献

このスキルは、VS Code 拡張機能にコマンドを貢献するのに役立ちます。

このスキルを使用する場面

このスキルは、以下の必要がある場合に使用してください。

  • VS Code 拡張機能にコマンドを追加または更新する

手順

VS Code のコマンドは、そのカテゴリ、可視性、場所に関わらず、常に title を定義する必要があります。コマンドの種類ごとにいくつかのパターンを使用しており、それぞれ以下に説明する特徴があります。

  • 通常のコマンド: デフォルトでは、すべてのコマンドはコマンドパレットからアクセス可能である必要があり、category を定義する必要があります。サイドバーで使用される場合を除き、icon は必要ありません。

  • サイドバーコマンド: その名前は、アンダースコア (_) で始まり、#sideBar で終わる特殊なパターンに従います。例えば、_extensionId.someCommand#sideBar のようになります。icon を定義する必要があり、enablement に何らかのルールがある場合とない場合があります。サイドバー専用のコマンドは、コマンドパレットに表示されるべきではありません。view/title または view/item/context に貢献する場合、表示される 順序/位置 を指定する必要があり、正しい group を特定するために「他のコマンド/ボタンとの相対的な位置」という用語を使用できます。また、新しいコマンドが表示される条件 (when) を定義することは良い習慣です。

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

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 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.