Skip to content
dsh.fish
Bundle

dsh-strength-refine

Highest agent preset for DeepSeek Harness: decomposes any need into a hierarchical capability map whose leaves all carry definite, operational acceptance criteria, and argues why the set fully covers the need — installable as a dsh plugin.

Source
ShadowBruceMeaningLau
License
MIT
Updated
Updated 2 days ago

Readme

# dsh-strength-refine

**Highest(巅峰)**——能力点分解引擎的 dsh 插件版:给定**任意领域、任意粒度**的需求,与你协作澄清后,把它分解为**层级化能力点树**,每片叶子都附**明确、可操作、可判定**的验收标准,并以充分论证证明「为何这套能力点完全覆盖需求、且每个叶子能力点的验收标准都明确、可操作」。

根本意图:把模糊的需求转化为**可逐一掌握、可明确验证**的能力单元——通过掌握这套能力点,你就获得了满足和解决该需求的能力;「是否具备该能力」从主观感觉变成每个能力点都可明确检验的事实。

安装后,预设 **Highest**(id:`strength-refine`)会自动出现在 DSH 的预设选择器中,随插件分发到任何机器。

## 安装

```sh
# 本地开发(仓库路径)
dsh plugin --profile web add file:D:/DeepseekHarness/dsh-strength-refine

# 发布到 GitHub(ShadowBruceMeaningLau)
dsh plugin --profile web add github:ShadowBruceMeaningLau/dsh-strength-refine

# 发布到 npm 后
dsh plugin --profile web add dsh-strength-refine
```

重启 `dsh web`。新建会话时在预设选择器里选 **Highest** 即可。

## 工作原理

- 插件本体是一个极小的宿主半边:启动时把内置的预设目录(`preset/strength-refine/`)幂等落盘到 DSH 的用户预设根 `~/.dsh/.agent-presets/`,预设选择器随即发现它。
- **不覆盖你的本地修改**:目标位置已存在**没有** `.dsh-plugin` 标记的预设(比如你自己写的版本)时,插件不碰它;只有插件自己装过的副本才会在版本升级时更新。
- 预设组合(`agent.cordis.yml`)引用官方 `@deepseek-ai/dsh-*` 包(由宿主解析),技能根通过 `baseUrl` 相对解析——整个预设完全可移植,无需任何网络安装步骤。

## 方法论文档

方法论全部在捆绑技能 `strength-refine` 的 `SKILL.md`(唯一权威来源):**分层门禁制**(需求澄清 → 逐层分解-自检-交付拍板循环 → 汇总终检 → 存档与习得建议)、数学证明式**覆盖说服力**(定义/必要性/覆盖性/边界,叶子必要性=论证簇必需引理)、**验证标准四要素**(动作+对象+判据+证据)、**叶子间逻辑关系**(前置依赖 DAG / 协作组合论证簇 / 替代选项或路径)、叶子终止条件、前置内容(仅叶子)、无冗余检验(真重复删除、替代保留、协作组保留)、跨层证明链汇总、存档/复用协议、习得建议(逻辑图路径)、**Mermaid 可视化**(Obsidian 原生渲染四图)。persona 只承载使命与分层门禁骨架。

## 目录结构

```
├── package.json        插件声明(dsh.bundle.patch)
├── cordis.patch.yml    宿主行挂载
├── lib/index.js        宿主半边:幂等落盘预设
└── preset/strength-refine/
    ├── agent.cordis.yml   预设组合(agent-plane,standard 基底去 plan mode)
    ├── preset.yml         展示元数据(name: Highest / order: 5)
    └── skills/strength-refine/
        ├── SKILL.md       方法论(唯一权威)
        └── USAGE.md       用户使用指南
```

## 卸载 / 更新

```sh
# 卸载插件
dsh plugin --profile web remove dsh-strength-refine
# 插件卸载后预设目录仍在(它是自包含的),如需一并删除:
# 删除 ~/.dsh/.agent-presets/strength-refine

# 更新插件后,插件自己安装过的预设副本会在下次启动时自动更新;
# 若预设目录是你自己编辑过的版本,插件不会覆盖。
```

## 许可证

MIT,见 [LICENSE](LICENSE)。

Install

dsh plugin --profile web add github:ShadowBruceMeaningLau/dsh-strength-refine#6aa2e34b81540189da68f539a9fda34c363875e6

Profile: web

Source