شعار Coding Agent

Coding Agent

المجتمع
ahmadrosid
coding-agent

استدعِ وكيل برمجة متخصصًا (Codex أو Claude Code أو OpenCode أو pi أو Cursor Agent) لإصلاح الأخطاء أو تنفيذ الميزات أو تعديل الملفات أو إجراء تغييرات على المستودع أو التحقق من نقاط محددة، عندما يريد المستخدم تنفيذ تغييرات في المشروع الحالي. يتولى Nakama الشرح المعتاد والعصف الذهني والمحادثات التي لا تتضمن تعديلًا؛ استخدم هذه المهارة عندما يكون تنفيذ العمل على المستودع أنسب لوكيل برمجة.

Add to TypingMind

نظرة عامة

الناشرahmadrosid
المستودعnakama
اسم المهارةcoding-agent
النجوم
492
التفريعات
91
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها ahmadrosid على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Coding Agent في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/ahmadrosid/nakama/tree/main/packages/core/src/skills/bundled/coding-agent
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ahmadrosid/nakama.git /tmp/nakama
mkdir -p .claude/skills
cp -r /tmp/nakama/packages/core/src/skills/bundled/coding-agent .claude/skills/coding-agent
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Coding Agent في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Coding Agent تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Coding Agent بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Use this skill when the user wants real code work done in the current project: implementing features, fixing bugs, editing files, running targeted validation, or inspecting the repo to make a concrete change.

Keep ordinary conversation local:

  • Do not invoke the coding agent for simple explanation, brainstorming, status updates, or product discussion unless code changes are actually needed.
  • Do not invoke the coding agent just because the topic is technical.
  • If the user only wants advice or an explanation, answer directly.

Prerequisites

  • This profile must have the bash tool assigned.
  • A coding agent CLI must be installed on the Nakama server host (Codex, Claude Code, OpenCode, pi, or Cursor Agent).

Install with bash when missing for npm-based CLIs (global installs affect the whole host — confirm with the operator on shared servers):

bash
npm install -g @openai/codex
npm install -g @anthropic-ai/claude-code
npm install -g opencode-ai
npm install -g @earendil-works/pi-coding-agent

(or the equivalent bun install -g --trust … if npm is unavailable)

Cursor Agent (agent) cannot be auto-installed by Nakama. If it is missing, tell the user to install and authenticate Cursor Agent CLI on the host themselves, then verify with agent --version. Do not attempt npm install -g for Cursor.

If the injected Coding Agent Harness context lists install commands, follow those. After install, retry the coding task.

Choosing a backend

  1. Read the injected Coding Agent Harness context.
  2. If it says multiple CLIs are installed, ask the user which one to use before running. Do not pick silently. Remember their choice for this conversation only.
  3. If exactly one CLI is available (or the context includes a single command template), use that backend.
  4. If none are installed, install via bash for Codex/Claude/OpenCode/pi when appropriate, or tell the user to install Cursor Agent themselves when that is the desired backend.

Coding agent workflow

When repo work should run on a coding agent, use the bash tool to run the CLI:

  1. Follow the injected harness context / command template for the chosen backend when present.
  2. Summarize the coding task in one concrete instruction block.
  3. Include only the context the coding agent needs: target behavior, affected files or areas when known, constraints, and what should be verified.
  4. Build the shell command from the template (or backend guidance), substituting your task prompt. Escape quotes carefully or use a heredoc when the prompt is multi-line.
  5. Call bash with codingAgent: true and a command that starts with the harness binary (codex, claude, opencode, pi, or agent) so Nakama can recognize the harness. For Codex/Claude/OpenCode/pi, Nakama may merge provider passthrough spawn env. For Cursor Agent, spawn env stays empty — host Cursor auth is used instead. Use an explicit timeoutMs suited to the task — use 600000–1800000 ms (10–30 minutes) for substantial coding runs; keep shorter timeouts for quick checks.
  6. Prefer precise change requests over broad open-ended prompts.
  7. If the user names a preferred backend, use that CLI.
  8. For Cursor Agent: ensure the target repo exists in the profile workspace (clone if missing), set bash cwd to that repo, run agent -p '<task>' --output-format text --yolo with codingAgent true (argv0 must be agent, not cd && agent). Prefer text; stream-json is summarized automatically with a full log under artifacts/coding-agent-runs/. See backend guidance.

After the coding agent returns:

  • Summarize what changed in plain language using stdout/stderr from the bash result.
  • Mention what was verified.
  • Call out any remaining risks, gaps, or follow-up work.
  • For implementation runs (feature / fix / repo change), the coding brief should require branch + commit + push + gh pr create by default (see backend guidance, especially Cursor), unless the user explicitly asked for local-only work (exploration, draft, "just look", "don't push"). Confirm the PR URL before treating the task as done.
  • If the coding agent run failed (non-zero exit, timeout, or empty useful output), explain the failure clearly and decide whether to retry, adjust the prompt, or ask the user.

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

ماذا تفعل مهارة الذكاء الاصطناعي Coding Agent؟

استدعِ وكيل برمجة متخصصًا (Codex أو Claude Code أو OpenCode أو pi أو Cursor Agent) لإصلاح الأخطاء أو تنفيذ الميزات أو تعديل الملفات أو إجراء تغييرات على المستودع أو التحقق من نقاط محددة، عندما يريد المستخدم تنفيذ تغييرات في المشروع الحالي. يتولى Nakama الشرح المعتاد والعصف الذهني والمحادثات التي لا تتضمن تعديلًا؛ استخدم هذه المهارة عندما يكون تنفيذ العمل على المستودع أنسب لوكيل برمجة.

لماذا تستخدم Coding Agent على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Coding Agent عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Coding Agent في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/ahmadrosid/nakama/tree/main/packages/core/src/skills/bundled/coding-agent. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Coding Agent؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Coding Agent؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Coding Agent معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Coding Agent مجانية؟

نعم. نشرها ahmadrosid على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇