DeepSeekharness agent预设模式文档生成助手
chenjiajungithub/dsh-doc-generator · 技能
DeepSeekharness agent预设模式文档生成助手
★ 2GitHub 星标
0分支
2026-08-25最近更新
JavaScript开发语言
MIT许可证
主要功能
- 给定一个 Word 模板(如 template.docx),该 preset 为 Agent 提供三个工具,端到端
- DeepSeek Harness 的插件代码无法在自己的模块作用域内 require 第三方包,因此所有
- 现象cannot get property "tools" without inject · 原因 / 处理: 修复前缓存的旧模块 —— 重启 Harness 进程。
- 完成「解析模板 → AI 撰写 → 导出 Word」
- 工具draftDocument · 签名: draftDocument(requirements, contentPoints, writingStyle?) · 作用: 调用当前配置的 DeepSeek 模型,按“结构要求 + 内容要点”生成完整、符合规范的 Markdown。
使用条件
- 唯一运行时依赖是 docx 与 mammoth。
安装命令
dsh plugin --profile web add github:chenjiajungithub/dsh-doc-generator