chenjiajungithub/dsh-doc-generator ↗★ 1
dsh-doc-generator
基于 Word 模板智能生成规范文档的 DeepSeek Harness Agent preset / 插件。A DeepSeek Harness agent preset that generates compliant documents from Word (.docx) templates via an LLM.
AI 分析
核心用途是利用 LLM 配合 Word (.docx) 模板智能生成规范文档。适合需要自动化撰写周报、项目报告等格式化文档的用户,需 Node.js 环境。
インストール
検証済み 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.