chenjiajungithub/dsh-doc-generator ↗★ 4
dsh-doc-generator
基于 Word 模板智能生成规范文档的 DeepSeek Harness Agent preset / 插件。A DeepSeek Harness agent preset that generates compliant documents from Word (.docx) templates via an LLM. 适合需要根据.docx模板和提示词自动填充并导出文档的用户。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗Configuration
The preset row accepts optional config (all default sensibly):
| field | default | meaning |
|---|---|---|
defaultOutputDir | /out | Where exportWord writes when outputPath is omitted. |
depsRoot | `` | Directory that contains node_modules (the helper scripts resolve docx/mammoth/jszip from here). |
helperDir | /dscg-lib | Where the helper scripts live. |
Usage example
Tell the agent:
Please use
E:\...\template.docxas the template to write a "Project Weekly Report"; this week's focus is prototype design and user testing.
The agent will call parseTemplate → draftDocument → exportWord and reply with
something like 文档已生成,保存路径为 .../weekly_report.docx.