Skillpedia
الوكلاء81k · #1618

deepseek-reason

ما الذي تفعله

تطلب هذه المهارة من نموذج التفكير في DeepSeek معالجة مهمة أصعب، وتعرض تفكيره منفصلًا عن الجواب. وهي مناسبة لمن يحتاج إلى عمل دقيق متعدد الخطوات ويريد رؤية طريقة الوصول إلى الجواب.

متى تستخدمها

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

رابط المهارة

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-deepseek-harness/skills/deepseek-reason/SKILL.md

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

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

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

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

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

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

“اشرح لماذا يفشل تقريرنا الليلي، خطوة بخطوة، وأرني تفكيرك.”

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

كيف تعمل

ترسل المهارة الأمر إلى نموذج التفكير في DeepSeek، وتقرأ نص التفكير والجواب النهائي معًا. مخرج JSON يتضمن التفكير دائمًا، بينما لا يتضمنه عرض الجدول.

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

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

Wraps DeepSeek's reasoning model so ruflo callers can get an explicit chain-of-thought back with the final answer, without having to parse it out of the message content. Same subprocess-invocation shape as the sibling deepseek-chat skill.

When to use

  • Multi-step reasoning tasks: proofs, plans, root-cause analysis, hard bug triage.
  • You want to see the model's thinking (for audit, for training data, or to sanity-check its final answer).
  • You can tolerate the higher latency and token cost of a reasoner vs deepseek-chat.

Data handling

The prompt and any --system text are sent over the network to api.deepseek.com, a third party. Do not put secrets, credentials, personal data or proprietary code you are not allowed to share into them. The API key is read from DEEPSEEK_API_KEY in your shell only; never paste it into a prompt, a file or a command line.

Algorithm

Implementation: scripts/reason.mjs.

  1. Read DEEPSEEK_API_KEY from env. Degrade gracefully when missing.
  2. POST to /v1/chat/completions with { model: 'deepseek-reasoner', messages, max_tokens? }. Per DeepSeek's docs, temperature/top_p are ignored for reasoner models — this script does not forward them.
  3. Extract choices[0].message.content AND choices[0].message.reasoning_content.
  4. JSON output always includes reasoning; table mode omits it unless --show-reasoning is passed.
  5. reasoningTokens (from usage.completion_tokens_details.reasoning_tokens) is surfaced separately so callers can attribute cost.

Example

node plugins/ruflo-deepseek-harness/scripts/reason.mjs \
  --prompt "Prove that sqrt(2) is irrational." \
  --format table --show-reasoning

Table output shows the reasoning block, then the answer. JSON mode returns:

{
  "status": "ok",
  "model": "deepseek-reasoner",
  "content": "sqrt(2) is irrational because …",
  "reasoning": "Assume for contradiction that sqrt(2) = p/q in lowest terms …",
  "finishReason": "stop",
  "usage": {
    "promptTokens": 14,
    "completionTokens": 812,
    "reasoningTokens": 640,
    "totalTokens": 826
  }
}
الأسئلة الشائعة

لماذا هذا أبطأ من الدردشة العادية؟

نماذج التفكير تعمل على خطوات أكثر، ما يضيف وقتًا وتكلفة رموز مقارنة بنموذج دردشة عادي.

هل تُطبَّق إعداداتي على نموذج التفكير؟

بعض إعدادات أخذ العينات تتجاهلها نماذج التفكير، لذلك لا تمررها المهارة.

هل بياناتي آمنة هنا؟

الأمر يُرسل إلى DeepSeek، وهي جهة خارجية، فأبعد عنه الأسرار والكود الخاص.

التفاصيل

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

Reasoning completion against DeepSeek's `deepseek-reasoner` (R1), returning the chain of thought apart from the answer. Use when a task needs step-by-step reasoning from DeepSeek. Reads DEEPSEEK_API_KEY; returns status:degraded when unset or unreachable.

repo: ruvnet/ruflo

الشعبية

نجوم GitHub
81k
الترتيب
#1618
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

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

0

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

التعليقات

  • …

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

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