DeepSeek Harness 插件

dsh-review-zgblkyli

DSH /review slash command: injects review instructions adapted from the opencode review-mode prompt and submits the user's request to the current agent(英文原文)

跳到安装方式

来源信息

GitHub 仓库
ZgblKylin/dsh-review
最近更新
2026年8月19日
分类
自动化与任务
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/ZgblKylin/dsh-review
插件名:dsh-review-zgblkyli
作者:ZgblKylin

检查来源文件

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

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

dsh-review

为 DSH 提供 /review 斜杠指令的 host 插件:把审查指令作为一次性上下文注入 当前会话,然后立刻提交用户的审查请求。命令本身不直接调用模型;审查由当前 agent 在普通对话流中完成,结果就是正常回复。

审查指令参考 opencode 的 review 模式提示词 编写,内嵌在 lib/index.jsREVIEW_INSTRUCTIONS 中。

使用

| 命令 | 行为 | | --- | --- | | /review | 审查全部未提交改动(默认目标) | | /review <commit> | 审查指定 commit | | /review <branch> | 对比当前分支与指定分支 | | /review <PR URL|#> | 审查指定 PR | | /review <请求> | 用审查提示词处理任意代码审查请求 | | /review help | 显示帮助 |

示例:

/review
/review a1b2c3d
/review main
/review https://github.com/owner/repo/pull/42

/review 先在当前 agent 的下一步注入审查指令(plugin: dsh-reviewform: instructions),再以用户身份提交请求。没有参数时提交 Review all uncommitted changes.

安装

本包是 bundle 型插件:manifest 声明 dsh.bundle.patchcordis.patch.yml), 安装后 CLI 自动把包追加进 profile 的 dsh.profile.bundles,profile boot 时按 该列表解析并应用包内 patch 层,无需手工改 profile 配置:

# 本地 checkout(开发时)
dsh plugin --profile web add link:<dsh-review 目录>
# tarball / git
dsh plugin --profile web add ./dsh-review-0.1.0.tgz
dsh plugin --profile web add github:you/dsh-review

安装完成并重启 profile 后,/review 出现在命令列表中。任何提供 ctx.commands 服务的 DSH profile(如随发行版提供的 webheadless)都能 加载本插件。

已知限制

  • /review 不更换当前会话的 agent 或工具目录;审查指令只在本次请求中生效。
  • 同一会话内连续执行多次 /review 会重复注入审查指令(token 有冗余但结果

不受影响)。

  • 指令文本内嵌在插件中;opencode 上游 review 提示词的更新不会自动同步到本

插件,需要手动更新 lib/index.js 里的 REVIEW_INSTRUCTIONS