DeepSeek Harness Plugin

CAI-MH/dsh-plugin-forge

Stars ★ 0 Category Development & Runtime Added 2026-09-18

Scaffold DSH local bundles in the dph format from any workspace and keep a pitfall experience library to steer later development.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:CAI-MH/dsh-plugin-forge

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

在任意工作区里按 dph 格式快速开发 DSH 本地插件(bundle)的「元插件」。

提供的工具

工具 作用
plugin_forge_guide 获取最新格式规范 + 踩坑经验库(写插件前必读)
plugin_forge_scaffold 在当前工作区生成可加载的 bundle 骨架
plugin_forge_install 校验 + 安装到本机 web profile(重启 DSH 生效)
plugin_forge_experience 记录/查看踩坑经验(解决问题后必记)

工作流(已通过系统提示词注入每个会话)

  1. 写插件前先 plugin_forge_guide(含最新经验库)
  2. plugin_forge_scaffold 生成骨架 → 实现业务逻辑
  3. plugin_forge_install 安装 → 重启 DSH
  4. 每解决一个坑 → plugin_forge_experience(action=add) 记录,反哺后续开发

经验库

~/.dsh/plugin-forge/EXPERIENCE.md(全局,跨工作区共享),首次使用自动写入种子经验。

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.