本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)40k · #7472

vscode-ext-commands

できること

このツールは、VS Code拡張機能のコマンドを追加または更新するのに役立ちます。コマンドがVS Codeのルールとベストプラクティスに従うようにします。

使う場面

  • ✓VS Code拡張機能に新しいコマンドを追加するとき。
  • ✓拡張機能の既存のコマンドを更新するとき。
  • ✓コマンドがVS Codeの慣例に沿っているか確認したいとき。

スキルのリンク

https://github.com/github/awesome-copilot/blob/main/skills/vscode-ext-commands/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/github/awesome-copilot/blob/main/skills/vscode-ext-commands/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“VS Codeの拡張機能に、ベストプラクティスに沿って新しいコマンドを追加するにはどうすればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、コマンドにタイトルがあるか、命名パターンに従っているか、正しく表示されるかを確認します。コマンドパレットやサイドバーでの表示を整理する手助けもします。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.

よくある質問

VS Codeの「コマンド」とは何ですか?

コマンドは、VS Code内で実行できる操作のことです。ファイルを開く、コードを整形する、拡張機能の特定の関数を実行するなどがあります。

「コマンドパレット」とは何ですか?

VS Code内の検索ボックスのことです。入力して、コマンドをすばやく見つけて実行できます。

「サイドバー」のコマンドとは何ですか?

VS Codeのサイドバーの特定の場所(ボタンやメニューなど)に表示されるコマンドのことです。一般的なコマンドパレットには表示されません。

詳細

作者による元の説明

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

repo: github/awesome-copilot

人気

GitHubのスター
40k
ランキング
#7472
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル