DeepSeek Harness 插件

dsh-coding-kit

DSH plugin + P0 CLI: ICVO coding standards (Inform · Constrain · Verify · Orchestrate). Plugin does not auto-inject; call apply_coding_standards. CLI: npx dsh-coding-kit.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
Cyning12/dsh-coding-kit
最近更新
2026年8月17日
分类
工具与能力
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/Cyning12/dsh-coding-kit
插件名:dsh-coding-kit
作者:Cyning12

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-coding-kit

dsh-coding-kit@1.2.0 是 DeepSeek Harness(DSH)的 bundle 插件,并带 P0 闸 CLIG1–G7 过程命令。纪律资产仍是 ICVO(Inform · Constrain · Verify · Orchestrate)。

> 加载 ≠ 注入。 安装或加载本插件 不会 自动改写 system prompt。apply() 只注册工具。必须由你或模型调用 apply_coding_standards 之后,后续回合的 runtime context 才会含 # Coding Standards

选哪条入口

你是谁入口不要用
DSH 会话 / 模型调工具dsh plugin add dsh-coding-kit不要只 npm install(缺 bundle 层则工具不出现)
Cursor / CI / 存量仓日常闸npx dsh-coding-kit不要把插件 init_coding_kit 与 CLI init 当成同一入口

两条入口同一 npm 包 dsh-coding-kit@1.2.0。插件面与 CLI 面互不替代。

入口 A · DSH 插件

优先 npm(预构建,无需 allowBuilds):

dsh plugin --profile web add dsh-coding-kit

备选:从 GitHub 安装(需 Node 构建;pnpm 10+ 可能要 allowBuilds):

dsh plugin --profile web add github:Cyning12/dsh-coding-kit#main

确认层

dsh --profile web --dump-config

安装成功后,profile 的 package.json 会出现依赖 dsh-coding-kit,且 dsh.profile.bundles 含该包名。用户一般不必手写 bundles;dsh plugin add 会维护。

激活与调用

1. 用该 profile 启动 DSH(例如 dsh --profile web / dsh --profile web web)。 2. 在对话中说:请应用 coding standards(或「按 coding-kit 规范写代码」)。 3. 模型应调用工具 apply_coding_standards。 4. 成功后后续回合的 runtime context 含 # Coding Standards

可选参数:profile=l1|l1+l2|full(默认 l1+l2);persist=false 表示只在当轮工具结果里给出正文。

初始化项目模板(插件面)

初始化走工具 init_coding_kit(不是 CLI init)。

对话:请把 coding-kit 模板初始化到本项目 → 模型调用 init_coding_kit。 之后修改 .coding-kit/,再调用 apply_coding_standardssource=override)。init_coding_kit 不覆盖已有文件。

部分 IDE / yaml-language-server 会把根目录 cordis.patch.yml 当成 RFC6902 JSON Patch,报缺 op / path / value。这是误报,可忽略;该文件必须保持 - insert,不要改成 JSON Patch。

入口 B · CLI(Cursor / CI)

P0 闸与 G1–G7(1.2.0 已交付):

npx dsh-coding-kit init [--preset NAME] [--yes]
npx dsh-coding-kit upgrade --yes
npx dsh-coding-kit check
npx dsh-coding-kit verify --task <task.md>
npx dsh-coding-kit gate-check --task <task.md>
npx dsh-coding-kit audit --task <task.md>
npx dsh-coding-kit task lint --file <task.md>
npx dsh-coding-kit task close --file <task.md>
npx dsh-coding-kit status [--target] [--task] [--json] [--check]
npx dsh-coding-kit timeline --task FILE
npx dsh-coding-kit lifecycle show [--json]
npx dsh-coding-kit lifecycle dry-run --transition ID --from STATE
npx dsh-coding-kit discipline show [--json]
npx dsh-coding-kit graph yaml compile|check|export
npx dsh-coding-kit graph ingest|snapshot|axioms
npx dsh-coding-kit sync index
npx dsh-coding-kit skills build|check
npx dsh-coding-kit wiki export --json
npx dsh-coding-kit task lint-done
npx dsh-coding-kit task lint-wiki-delta
npx dsh-coding-kit task check --file PATH

init / upgrade / sync index / skills build 不覆盖 S2 过程域(docs/tasks/reviews/invokes/by-task/)。

从 @cyning/harness 迁移

dsh-coding-kit@1.2.0 后可去掉 @cyning/harness

1. 把 devDependency @cyning/harness 换成 dsh-coding-kit(钉 1.2.0)。 2. 在仓根执行 npx dsh-coding-kit upgrade --yes(读旧 .cyning-harness/manifest.jsonversion 钉 1.2.0,from_version 记旧号)。 3. CI / 脚本里把 npx @cyning/harness 换成 npx dsh-coding-kit

1.2.0 发布前仍允许双包并存;publish 并完成上表后即可卸载旧包。

GitHub topic

本仓库 GitHub topic 含 dsh-plugin(DSH 官方发现机制,无应用商店)与 deepseek-harness

License

MIT