code-mate-deepseek-harness
它能做什么
这个工具可以帮你分析代码项目中的问题或完成其中的任务。它会在后台运行一个名为 DeepSeek Harness 的程序来完成这些工作。
适用场景
- ✓当你想让 AI 分析代码中的某个问题时。
- ✓当你想让 AI 创建或修改部分代码时。
- ✓当你需要帮助理解项目中的某个错误时。
技能链接
https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-deepseek-harness/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“分析一下我项目中的这个错误,并给出修复建议。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会在后台运行一个特定程序,并给它清晰的指令。它会先检查该程序是否已安装,如果已安装,就把你的请求发送给它。最后结果会展示给你。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
DeepSeek Harness
Run
- Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
- Check availability with
command -v dsh. If it is missing, stop and ask the user to install DeepSeek Harness in Code Mate. - Run one headless task:
dsh --profile headless "<prompt>"
Pass the prompt as one quoted argument. Treat stdout as final text, not JSON. Exit zero means success; exit one means the task failed or did not complete. Never start the interactive UI or a login flow.
Authentication And Permissions
If DSH reports a missing provider, model, or API configuration, stop and ask the user to configure DeepSeek Harness in Code Mate. Never request, read, print, or copy credentials.
Headless DSH can write to the workspace and creates a persistent session. For read-only work, explicitly tell it not to modify files and inspect the repository diff afterward. Allow modifications only when the user explicitly requested workspace changes, and restrict the working directory to the intended project.
Example: ask DSH to diagnose a test failure without editing, run it in the repository, confirm exit zero and a clean diff, then summarize its final text.
常见问题
什么是 DeepSeek Harness?
它是一个帮助分析代码项目并完成其中任务的程序。
我需要安装什么吗?
需要。你的编程环境中要先安装 DeepSeek Harness。
这个工具会修改我的文件吗?
只有当你明确要求它修改代码时,它才会改动文件。否则它只会进行分析。
详情
作者的原始描述
Runs DeepSeek Harness headlessly for bounded repository tasks. Use when the user asks to delegate analysis or implementation to DeepSeek Harness.
repo: CherryHQ/cherry-studio
热度
- GitHub 星标
- 53k
- 排名
- #3376
- 许可证
- AGPL-3.0
- 更新时间
- 2026/10/15
评论
- …