chenjiajungithub/dsh-doc-generator ↗★ 4
dsh-doc-generator
基于Word模板智能生成规范文档的智能体插件 适合需要根据.docx模板和提示词自动填充并导出文档的用户。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 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.