chenjiajungithub/dsh-doc-generator

chenjiajungithub★ 1JavaScript最后同步: 2026-08-15

在 GitHub 打开

DeepSeekharness agent预设模式文档生成助手

README 摘要

dsh-doc-generator A DeepSeek Harness agent preset that generates compliant documents from a Word ( .docx ) template by asking an LLM to write the content, then rendering a new .docx that inherits the template's styling. 中文说明见 README.zh-CN.md. What it does Given a Word template such as template.docx , this preset equips the agent with three tools that run end to end: Tool Signature Purpose parseTemplate parseTemplate(templatePath) Parse a .docx : extract placeholders ( {{title}} , {{author}} , …), the outline (heading hierarchy, paragraphs, lists), and inherited style rules (default font/size). draftDocument draftDocument(requirements, contentPoints, writingStyle?) Ask the configured DeepSeek model to produce complete, spec-compliant Markdown for the given structure and content points. exportWord exportWord(content, templatePath?, outputPath?) Render the Markdown into a standard .docx that inherits the template styling. A typical flow: Why this architecture A DeepSeek Harness Host plugin cannot require third-party packages from its own module scope, so all OOXML reading/writing is delegated to two Node helper scripts shipped with the preset under dscg-lib/ : - dscg-lib/parse-templat…

在 GitHub 查看完整 README →
Agent/智能体deepseek-harnessdshdsh-pluginskinagent

分类