chenjiajungithub/dsh-doc-generator ↗★ 4

dsh-doc-generator

基于Word模板智能生成规范文档的智能体插件 适合需要根据.docx模板和提示词自动填充并导出文档的用户。

套件
dsh-doc-generator
相容性
待驗證
版本
1.0.0
授權
MIT
最近更新
2026年8月21日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Configuration

The preset row accepts optional config (all default sensibly):

fielddefaultmeaning
defaultOutputDir/outWhere exportWord writes when outputPath is omitted.
depsRoot``Directory that contains node_modules (the helper scripts resolve docx/mammoth/jszip from here).
helperDir/dscg-libWhere the helper scripts live.

Usage example

Tell the agent:

Please use E:\...\template.docx as 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.