DeepSeek Harness 插件

yang1604454533-netizen/dsh-ASD-100

Star 数 ★ 0 分类 文档与渲染 收录于 2026-10-17

强制所有回复和文档按 ASD-STE100 简化技术英语输出。命令:/asd100 on、/asd100 off、/asd100。

安装

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:yang1604454533-netizen/dsh-ASD-100

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

Forces ASD-STE100 Simplified Technical English on every reply and every document.

What it does

When the mode is on, the plugin adds an always-on section to the system prompt of every request. The section holds the writing rules of simplified technical English: 20 words in a procedure sentence, 25 in a descriptive sentence, one instruction per sentence, active voice, simple tenses, the condition before the command, one word with one meaning, no semicolons, no em dashes, no contractions. A reply answers first and uses prose only.

Commands

  • /asd100 on turns the mode on.
  • /asd100 off turns the mode off.
  • /asd100 reports the current state.

/asd-100 is accepted as an alias.

State

The mode is one flag file: ~/.dsh/dsh-asd-100/.active. The plugin reads it on every request, so all sessions share the state and a change takes effect at once. To turn the mode off from outside the chat, delete the file.

Where the rules come from

The rules ship with the plugin in skills/simple-english/, so a fresh install follows the full rule set and the four reference files it points to. When ~/.agents/skills/simple-english/SKILL.md exists, that copy wins, and you can edit your own rules there. When neither copy exists, the plugin uses a built-in rule set of nine lines. All three paths are in lib/index.js.

Config

Two optional fields, set in the bundle patch that loads the plugin:

- insert:
    - id: dsh-asd-100
      name: dsh-asd-100
      config:
        skillDir: /path/to/simple-english   # default: ~/.agents/skills/simple-english, then the packaged copy
        stateFile: /path/to/.active         # default: ~/.dsh/dsh-asd-100/.active

Development

node --test test/ste.test.mjs

The plugin imports node builtins only. It has no dependencies.

Files

  • lib/index.js — the plugin: the prompt section, the command handler, the flag file.
  • cordis.patch.yml — the bundle patch that loads it.
  • skills/simple-english/ — the rule text and its references, spliced from the simple-english agent skill (MIT), version 2.1.1, standard ASD-STE100 Issue 9.
  • test/ste.test.mjs — seven tests.
  • awesome-dsh-plugin-entry.yml — the list entry for the awesome-dsh-plugin PR.

License

MIT

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。