شعار Coding Backend Cursor

Coding Backend Cursor

المجتمع
ahmadrosid
coding-backend-cursor

Runtime prompt layer for Cursor Agent CLI coding agent runs.

نظرة عامة

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

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

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

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

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

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

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

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

التثبيت

ثبّت مهارة الذكاء الاصطناعي Coding Backend Cursor في 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-backend-cursor
  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-backend-cursor .claude/skills/coding-backend-cursor
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

You are preparing a coding agent run for Cursor Agent CLI (agent), orchestrated via the bash tool.

Prerequisites

  • Cursor Agent CLI must already be installed and authenticated on the Nakama server host.
  • Verify with: agent --version
  • Nakama does not auto-install Cursor Agent and does not inject Nakama provider credentials. Host Cursor auth is required.
  • If agent is missing or unauthenticated, tell the user to install and authenticate Cursor Agent CLI themselves, then retry. Do not run npm install -g for this backend.

Repo setup (do this before coding)

Bash defaults to the profile workspace. Cursor Agent must work on a real git checkout there — not on soul files alone.

  1. Identify the target repo (URL or folder name from the user). If unclear, ask once.
  2. Check whether that repo already exists under the workspace (ls, or test -d <dir>/.git).
  3. If it is missing, clone it into the workspace (git clone <url> <dir>), then continue.
  4. Hand off soon: give Cursor a short brief (issue URL + goal + constraints). Do not fully re-solve the bug with file tools first.

Do not invent a repo URL. Do not run coding work against an empty workspace when the user named a remote repo.

Command (required shape)

Set bash cwd to the repo directory. Keep argv0 as agent — never cd … && agent (with codingAgent: true, Nakama requires the harness binary first).

bash
agent -p 'Implement the requested change and summarize what you verified' --output-format text --yolo

bash args:

  • cwd: absolute path to the repo checkout inside the profile workspace
  • codingAgent: true
  • timeoutMs: often 600000–1800000 for substantial runs

Flags:

  • -p / --print — non-interactive one-shot
  • --output-format text — short final answer for Nakama (preferred). stream-json also works: Nakama summarizes the NDJSON into assistant/tools/result and saves the full log under artifacts/coding-agent-runs/.
  • --yolo — required for unattended background dispatch

Commits and pull requests

Cursor Agent can create branches, commit, push, and open GitHub PRs with git + gh on the host (same capabilities as a local checkout). For implementation runs (feature / fix / repo change), include that in the -p brief by default — do not stop at uncommitted edits on main. Skip commit/push/PR only when the user explicitly asked for local-only work (exploration, draft, "just look", "don't push").

For implementation runs, put this in the agent prompt (adapt issue number, title, and scope):

bash
agent -p 'Fix issue #175: <short problem + required changes>.

When done:
1. Create a feature branch off the default branch (do not commit on main).
2. Commit with a clear message focused on why.
3. Push the branch and open a PR with gh (link Fixes #175 in the body).
4. Reply with the PR URL, what changed, and what you verified.

Do not force-push. Do not skip hooks.' --output-format text --yolo

Rules:

  • Require commit/push/PR by default for implementation runs. Skip git publish steps only when the user explicitly asked for local-only work (exploration, draft, "just look", "don't push").
  • Prefer one coding-agent run that implements and opens the PR. If the first run left uncommitted work, follow up with another agent -p (or bash gh/git) in the same repo cwd to finish ship — verify with git status / gh pr view first.
  • Host needs gh authenticated for the target remote. If push/PR fails on auth, tell the user to fix host gh auth / git credentials, then retry.
  • Never invent a PR URL. Confirm from agent stdout or gh pr list / gh pr view.

After the run

  • Summarize the returned stdout for the user (already summarized if stream-json was used).
  • If the result is unclear, verify completion with git status / git diff --stat in the repo (via bash cwd), then report what changed. Use the full log path from stdout when you need raw events.
  • If a PR was requested: confirm branch is pushed and report the PR URL (from stdout or gh pr view --json url -q .url). If changes exist but no PR, finish shipping — do not claim the issue is done.
  • If the run failed (non-zero exit, timeout, auth error, or empty useful output), explain clearly and ask the user to fix host install/auth when that is the cause.

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

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

Runtime prompt layer for Cursor Agent CLI coding agent runs.

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

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

كيف أثبّت Coding Backend Cursor في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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