DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-cnwrite

g

dsh-cnwrite

Manifest valid

DeepSeek Harness Chinese Writing Assistant Plugin: Formatting cn_polish + Writing Statistics cn_stats

hasBundlePatch

dsh-cnwrite · 中文写作助手

一个 DeepSeek Harness(DSH)插件,为 AI 对话补上中文写作的两个刚需工具:

  • cn_polish —— 中文排版:自动在中英文之间补空格、把中文旁的半角标点改成全角、统一中文引号「」、压缩多余空行。小数点(3.14)和 URL 不会被误伤。
  • cn_stats —— 写作统计:总字数、中文字符数、英文单词数、段落/句子数、预估阅读时长。适合估算稿费字数、评估文章长度。

为什么安全

纯本地文本计算:不联网、不读文件、不碰凭据、不需要任何 API 密钥,整个插件没有任何网络请求。核心逻辑在 lib.js(约 100 行纯函数),欢迎审计。

安装

dsh plugin --profile web add github:你的用户名/dsh-cnwrite

本插件为纯 JavaScript、无构建步骤,从 GitHub 安装时不会执行任何构建脚本。

使用

启动后在对话框直接说:

用 cn_polish 排版这段文字:「人工智能正在改变世界,AI tools are everywhere!」

用 cn_stats 统计这篇文章的字数和阅读时长:……

开发与测试

git clone https://github.com/你的用户名/dsh-cnwrite
cd dsh-cnwrite
npm install        # 本地 link 安装时需要手动装一次依赖
node test.mjs      # 13 项单元测试,无需 DSH 环境

本地调试(link 模式,改代码即时生效):

dsh plugin --profile demo add /path/to/dsh-cnwrite
dsh --profile demo --dump-config   # 应看到 "# == dsh-cnwrite" 层
dsh web --port 3081

文件结构

dsh-cnwrite/
├── index.js            # 插件入口:注册 cn_polish / cn_stats 两个工具
├── lib.js              # 纯文本处理逻辑(可独立测试)
├── test.mjs            # 单元测试
├── cordis.patch.yml    # 插件层声明(对 dsh plugin 暴露)
└── package.json        # dsh.bundle 打包清单

License

MIT

Comments

Loading…

Similar plugins

dsh-writing-studio

by tea-whale

DeepSeek Harness (DSH) 写作工具插件:长文工作流、风格控制与 8 套常用写作模板,进度落盘、跨轮次续写。零运行时依赖。

Development & InfrastructureManifest valid

★ 1

MIT

JavaScript

Sep 9, 2026

dsh plugin --profile web add dsh-writing-studio

by Anarcadia

DSH 纯净写作协作模式插件:极简提示词 + 四大沉浸预设 + 工作区文档注入

Manifest valid

★ 7

JavaScript

Oct 18, 2026

dsh plugin --profile web add chuanban-dsh-writingset

by zjl1989-li

DeepSeek Harness 中文汉化插件:运行时把所有系统提示词、工具描述与运行时上下文翻译成中文(system-prompt/assemble 瀑布钩子,零源码修改)

Tools & CapabilitiesDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 9

↓ 289/wk

MIT

JavaScript

Aug 27, 2026

dsh plugin --profile web add dsh-harness-zh-cn

by xyavid

DeepSeek Harness Web 插件:输入框模型名旁的小星星按钮,一键把草稿改写成结构化的可执行提示词并写回

Manifest valid

★ 4

↓ 120/wk

MIT

TypeScript

Oct 15, 2026

dsh plugin --profile web add @xyavid/dsh-prompt-polish

by Chi-hong22

DeepSeek Harness Web composer markdown editing helper: Shift+Enter list continuation with ordered-list auto-renumbering and Tab indent

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 14, 2026

dsh plugin --profile web add @chi-hong22/dsh-mdbox

by tianji-qingtian

DeepSeek Harness plugin: one-click ✨ polish for composer drafts — flash rewrite, auto fill-back · DeepSeek Harness 插件:输入框草稿一键 ✨ 润色,flash 改写、自动回填

Development & InfrastructureManifest valid

★ 5

MIT

JavaScript

Sep 29, 2026

dsh plugin --profile web add dsh-composer-polish