شعار Deepcode Self Refer

Deepcode Self Refer

مؤسسةشائع
lessweb
deepcode-self-refer

Answers questions about Deep Code CLI itself — including features, configuration options, slash commands, Skills, MCP integration, permissions, notifications, session persistence, and troubleshooting. Use this when users ask how to configure or use Deep Code, how to set up an MCP server, configure notifications (such as Slack/Feishu), manage permissions, view available skills, understand slash commands, configure thinking mode, etc.

نظرة عامة

الناشرlessweb
المستودعdeepcode-cli
اسم المهارةdeepcode-self-refer
النجوم
2.2K
التفريعات
215
الملفات المرفقة
10
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • الملفات المرفقة: 10

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/lessweb/deepcode-cli/tree/main/packages/core/templates/skills/bundled/deepcode-self-refer
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Deep Code Self-Refer

This Skill helps you answer user questions about Deep Code CLI itself by consulting the reference documentation bundled with this Skill. All docs live in the references/ subdirectory — always refer to them for authoritative answers.

When to use this Skill

Use this Skill when the user asks any question about Deep Code itself, such as:

  • "列出可用的 skills"
  • "如何配置 MCP?"
  • "给当前项目配置 playwright mcp"
  • "怎么启用搜索功能?"
  • "支持哪些模型?"
  • "如何配置思考模式?"
  • "怎么设置权限?"
  • "任务完成后怎么发通知?"
  • "支持哪些斜杠命令?"
  • "会话历史保存在哪里?"
  • "/undo 是怎么工作的?"
  • "Deep Code 和 VSCode 插件怎么配合?"
  • Any other question about Deep Code CLI's features, configuration, or usage.

Instructions

Step 1: Identify the topic

Map the user's question to the appropriate document(s):

TopicDocumentKey contents
Overview, features, quick startreferences/README.mdInstallation, slash commands, keyboard shortcuts, supported models, FAQ
Configuration & settingsreferences/configuration.mdsettings.json fields, config hierarchy, env vars, thinking mode, reasoning effort, webSearchTool, enabledSkills
MCP setup & usagereferences/mcp.mdMCP server config format, GitHub/Playwright/Filesystem examples, tool naming (mcp__<name>__<tool>), troubleshooting
Permissionsreferences/permission.mdPermission scopes (12 types), allow/deny/ask/defaultMode config, priority rules, persistence
Notificationsreferences/notify.mdNotify script path, injected env vars, Slack/Feishu/iTerm2/macOS/Linux/Windows examples
Session persistencereferences/session-persistence.mdStorage paths, JSONL format, session index, compaction, /undo mechanics, code snapshots

Step 2: Read the relevant document(s)

Use the Read tool to read the appropriate document(s) from the list above. All paths are relative to this Skill's loaded root directory, where the references/ subdirectory lives.

  • If the question spans multiple topics, read multiple documents.
  • If a document doesn't exist in the user's preferred language (e.g., Chinese), try the other language variant (e.g., references/configuration_en.md).
  • When answering from references/README.md, focus on the relevant sections.

Step 3: Answer with precision

  • Quote the doc directly for config examples, JSON snippets, or command syntax.
  • Don't guess — if the answer isn't in the docs, say so and suggest checking GitHub Issues.
  • Provide copy-paste-ready configurations when the user asks to set something up (e.g., MCP servers, notify scripts, permissions).
  • Mention related docs when appropriate (e.g., MCP setup references references/mcp.md, the permissions section references references/permission.md).

Step 4: Handle common request patterns

"列出/查看可用的 skills":

  • Treat /skills as the canonical UI for listing currently available skills.
  • If answering directly, do not infer the list only from loaded skill prompts or from project/user directories. Enumerate all discovery roots:
    1. ./.deepcode/skills/<folder>/SKILL.md
    2. ./.agents/skills/<folder>/SKILL.md
    3. ~/.deepcode/skills/<folder>/SKILL.md
    4. ~/.agents/skills/<folder>/SKILL.md
    5. bundled built-in skills as bundled:<folder>/SKILL.md
  • For a source checkout, bundled skills live under templates/skills/bundled/<folder>/SKILL.md. For a packaged install, bundled skills may live under dist/bundled/<folder>/SKILL.md.
  • Read each candidate SKILL.md frontmatter to get the resolved name and description; the folder name is only a fallback.
  • De-duplicate by resolved name, keeping the highest-priority root from the order above.
  • Apply enabledSkills from settings.json: if enabledSkills["<name>"] === false, do not list that skill as available.
  • Clearly separate discoverable skills from other concepts:
    • Discoverable skills are selectable through /skills and come from the roots above.
    • Bundled skills are discoverable skills shipped with Deep Code, such as bundled:deepcode-self-refer/SKILL.md.
    • Default prompt templates or always-injected guidance are not necessarily discoverable skills unless they also exist as */SKILL.md in one of the scan roots.
    • Slash commands such as /skills, /mcp, and /undo are commands, not skills.
  • Mention that /skills can be used to verify the result and enabledSkills can enable/disable specific skills by name.

"配置 MCP":

  • Read references/mcp.md for the MCP format and examples
  • Ask the user for any required credentials (e.g., GitHub token)
  • Provide the exact mcpServers JSON block to add to settings.json
  • Mention using /mcp to verify the setup afterwards

"如何配置/修改 <设置项>":

  • Read references/configuration.md
  • Explain which settings.json field controls the setting
  • Clarify user-level (~/.deepcode/settings.json) vs project-level (.deepcode/settings.json)
  • Provide the exact JSON snippet

"<斜杠命令> 是做什么的?":

  • Read the slash command table from references/README.md
  • Provide a brief explanation with any additional context from relevant docs

Best practices

  1. Always consult the docs first — never answer from memory alone; the docs are the source of truth.
  2. Provide copy-paste-ready JSON — users want to copy config blocks directly into their settings.json.
  3. Be specific about file paths — always specify whether it's ~/.deepcode/settings.json or .deepcode/settings.json.
  4. Mention /mcp verification — after any MCP configuration change, remind users to use /mcp to verify.
  5. Acknowledge both Chinese and English docs — the project has docs in both languages (references/xxx.md for Chinese, references/xxx_en.md for English).

Examples

Example 1: "列出可用的skills"

Read references/README.md, locate the Skills section, then enumerate all scan roots including bundled skills. Answer:

  • Skills are discovered from: ./.deepcode/skills/, ./.agents/skills/, ~/.deepcode/skills/, ~/.agents/skills/, and bundled built-in skills such as bundled:deepcode-self-refer/SKILL.md.
  • In a source checkout, check templates/skills/bundled/*/SKILL.md; in a packaged install, check dist/bundled/*/SKILL.md.
  • Built-in bundled skills may include deepcode-self-refer, plan, skill-digester, and skill-writer; verify the actual list by scanning the bundled root because it can change between versions.
  • Use /skills slash command in the Deep Code CLI to list all available skills
  • Use enabledSkills in settings.json to enable/disable skills by name

Example 2: "给当前项目配置playwright mcp"

Read references/mcp.md, locate the Playwright example. Answer:

  • Add to settings.json (user-level ~/.deepcode/settings.json or project-level .deepcode/settings.json):
json
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["@playwright/mcp@latest"]
    }
  }
}
  • If merging with existing config, add the "playwright" entry into the existing mcpServers object
  • After saving, use /mcp in Deep Code to verify the server is running

Example 3: "怎么设置通知到Slack?"

Read references/notify.md, locate the Slack section. Answer with the script + config.

Example 4: "如何只允许AI读写当前目录?"

Read references/permission.md, locate the strict mode example. Provide the exact JSON.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة أثناء تحميل المهارة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

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

ماذا تفعل مهارة الذكاء الاصطناعي Deepcode Self Refer؟

Answers questions about Deep Code CLI itself — including features, configuration options, slash commands, Skills, MCP integration, permissions, notifications, session persistence, and troubleshooting. Use this when users ask how to configure or use Deep Code, how to set up an MCP server, configure notifications (such as Slack/Feishu), manage permissions, view available skills, understand slash commands, configure thinking mode, etc.

لماذا تستخدم Deepcode Self Refer على TypingMind؟

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

كيف أثبّت Deepcode Self Refer في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/lessweb/deepcode-cli/tree/main/packages/core/templates/skills/bundled/deepcode-self-refer. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Deepcode Self Refer؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Deepcode Self Refer؟

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

هل مهارة الذكاء الاصطناعي Deepcode Self Refer مجانية؟

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

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

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

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

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

عرض الكل

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

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