Логотип 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, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 10

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем lessweb. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Deepcode Self Refer у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/lessweb/deepcode-cli/tree/main/packages/core/templates/skills/bundled/deepcode-self-refer
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
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?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте 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?

Так. Навичку опубліковано на GitHub: lessweb, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇