GongYuanCaiJi/dsh-chinese-thinking ↗★ 0
dsh-chinese-thinking
DeepSeek Harness 插件:让 agent 默认用中文思考与回复(移植自 superpowers-zh)
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:GongYuanCaiJi/dsh-chinese-thinking说明文档
阅读完整 README ↗dsh-chinese-thinking · 中文思考预设
🌐 简体中文 | English
让 DeepSeek Harness 的 agent 默认用中文思考、用中文回复。
Makes your DeepSeek Harness agent think and answer in Chinese by default.
功能 / Features
- 默认中文:不指定语言时,agent 用中文思考、用中文输出;代码、命令、专有名词保留英文原文
- 中文排版规范:中英文空格、全角标点、数字与单位、括号引号 —— 逐字移植自 superpowers-zh 的 chinese-documentation
- 中英混排最佳实践:术语保留与翻译、首次出现标注、避免过度翻译
- 代码注释语言:何时用中文 / 何时用英文(chinese-code-review)
- 中文提交规范:type 保留英文、scope/description/body 用中文(chinese-commit-conventions)
- 国内 Git 工作流:核心原则(chinese-git-workflow)
效果 / What it does
安装后,agent 的 system prompt 会多出「中文思考」一节:你在对话里用中文,它就全程用中文想、用中文答 —— 不再「聊着聊着吐英文」。这一节是可配置的预设:改 config.text 就能换成你自己的中文思考指令。
安装 / Installation
本插件尚未发布到 npm(dsh-chinese-thinking 这个名字已验证可注册),目前用本地路径安装。先克隆本仓库,再在仓库根目录执行:
npm install # 先装依赖(@deepseek-ai/schemastery)
dsh plugin --profile add .
装完重启 dsh,开一段新对话即可生效。
配置 / Configuration
默认配置(cordis.patch.yml 里的 config: {} 走 schema 默认值):
| 键 | 默认 | 说明 |
|---|---|---|
enabled | true | 是否注入「中文思考」system prompt 节 |
order | 60 | 节的顺序(-100 身份、0 persona、100–199 工具指引) |
text | 见 prompt.js | 提示词正文,可整体覆盖 |
覆盖示例(写在你自己 profile 的 cordis.patch.yml,patch 会整体替换该行的 config):
- insert:
- id: chinese-thinking
name: 'dsh-chinese-thinking'
config:
enabled: true
order: 60
text: |
用中文思考,用中文回复。
移植来源 / Upstream
本插件是 (MIT,9k+ 下载/月,7.6k★)的移植(port)。提示词正文逐字来自其 、、、 与 五个 skill 正文,源文件 SHA-256 已钉在 ,可自行核验。