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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/github/awesome-copilot/blob/main/skills/vscode-ext-commands/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“كيف أضيف أمرًا جديدًا إلى إضافة VS Code الخاصة بي وفق أفضل الممارسات؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تتحقق المهارة من أن للأوامر عنوانًا، وتتبع أنماط التسمية، وتظهر بشكل صحيح. وتساعد على تنظيم الأوامر في « لوحة الأوامر » أو في « الشريط الجانبي » لـ VS Code.

المحتوى التقني (ملف 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، مثل فتح ملف أو تنسيق الكود أو تشغيل دالة محددة من إضافة.

ما هي « لوحة الأوامر » (Command Palette)؟

هي مربع بحث في VS Code تكتب فيه لتجد الأوامر وتنفذها بسرعة.

ما هي أوامر « الشريط الجانبي » (Side Bar)؟

هي أوامر تظهر في أماكن محددة من الشريط الجانبي لـ 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
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة