Skillpedia
برمجة عامة53k · #3383

code-mate-opencode

ما الذي تفعله

يساعد هذا الوكيل على تحليل الكود وتنفيذ مهام البرمجة. يمكن استخدامه لفحص المشاريع، أو مقارنة أدوات البرمجة، أو تكليف برنامج آخر اسمه OpenCode بالعمل.

متى تستخدمها

  • ✓عندما تريد تحليل مشروع برمجي.
  • ✓عندما تحتاج إلى مقارنة OpenCode ببرنامج برمجة آخر.
  • ✓عندما تريد من الذكاء الاصطناعي تنفيذ مهمة برمجية محددة.

رابط المهارة

https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-opencode/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-opencode/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“حلّل هذا المشروع، وأخبرني بالملفات الرئيسية فيه.”

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

كيف تعمل

يشغّل برنامجًا اسمه OpenCode في الخلفية. يحلل OpenCode الكود ويعيد المعلومات المطلوبة، دون أن تحتاج إلى التفاعل معه مباشرةً.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

OpenCode

Run

  1. Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
  2. Check availability with command -v opencode. If it is missing, stop and ask the user to install OpenCode in Code Mate.
  3. Run one task and exit:
opencode run "<prompt>" --format json

Pass the prompt as one quoted argument. Parse stdout as a JSON event stream and treat an error event or nonzero exit as failure. Never start the interactive OpenCode UI or an authentication flow.

Authentication And Permissions

If OpenCode reports a missing provider or credentials, stop and ask the user to configure OpenCode in Code Mate. Never request, read, print, or copy credentials.

Headless mode denies permission prompts by default; keep that behavior for analysis. Only when the user explicitly requests workspace changes may the command enable the minimum tools needed. Do not add --auto merely to avoid a denied permission.

Example: ask OpenCode to inspect a failing test without editing, run the command above from that repository, and summarize the final content event and any tool errors.

الأسئلة الشائعة

ما هو OpenCode؟

هو برنامج يساعد على تحليل الكود والعمل عليه في المهام البرمجية.

هل أحتاج إلى تثبيت شيء؟

نعم، يجب أن يكون OpenCode مثبتًا حتى يعمل هذا الوكيل.

هل يستطيع الذكاء الاصطناعي تعديل الكود الخاص بي؟

عادةً لا. فهو مصمم للتحليل والإبلاغ عن المعلومات، إلا إذا طلبت تعديلات محدودة وضرورية صراحةً.

التفاصيل

الوصف الأصلي من المؤلف

Runs OpenCode non-interactively for repository analysis and coding tasks. Use when the user asks to delegate work to OpenCode or compare OpenCode with another coding agent.

repo: CherryHQ/cherry-studio

الشعبية

نجوم GitHub
53k
الترتيب
#3383
الترخيص
AGPL-3.0
آخر تحديث
15‏/10‏/2026

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

0

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

التعليقات

  • …

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

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