Skip to content
FunCoding

office-docx

生成与读取 Word 文档(.docx)——报告、合同、交付文档、投标书;原生 docx 渲染,支持 heading/paragraph/table/code/list 内容块与居中标题

Star
1,104
License
Apache-2.0
Last commit
Oct 13, 2026

plugins/office-docx/skills/SKILL.md

View on GitHub

Office DOCX(Word 文档生成与读取)

参考 anthropics/skills(Apache 2.0)提炼,适配天枢 office-docx 插件(与 dsh-office 0.1.5 同步)。

何时使用

  • 需要交付 Word 格式文档:报告、合同、方案书、标书
  • 用户明确要求 .docx / Word 导出(可继续编辑的文档——Word 适合需要后续人工编辑的场景,纯交付阅读用 PDF 更稳)
  • 只需快速读内容时用 docx_read 抽取现有 .docx 文本进上下文

不需要时别用——Markdown 更轻;正式排版交付优先 PDF(天枢 office-pdf)。

内容块速查

块字段说明
heading / h1text一级标题
h2 / h3text二/三级子标题
paragraphtext正文段落
tableheaders, rows全宽表格(首行为表头)
codetextCourier 等宽代码块
listitems圆点列表

其他参数:title(文档标题,居中加粗大字)。

生成纪律

  1. 结构先行:长文档先把章节(heading)结构列给用户确认,再一次生成
  2. 表格化数据:能用 table 呈现的数据不写成段落
  3. 生成后自查:用 docx_read 读回产出,确认内容完整、无占位符残留(lorem / xxxx / TODO)
  4. 编辑需求优先:用户说"要能改的文档"用 docx;只说"给我一份报告"默认 PDF

Similar Skills

Featured

pdf

Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.

ANanthropics/skills181k1,119 new stars in the last 7 days

Featured

canvas-design

Create posters and visual art as PNG or PDF, guided by a design philosophy.

ANanthropics/skills181k1,119 new stars in the last 7 days

Featured

docx

Create and edit Word docs with TOC, page numbers, headers and more.

ANanthropics/skills181k1,119 new stars in the last 7 days

Featured

doc-coauthoring

Co-write specs, proposals and decision docs through a structured, iterative workflow.

ANanthropics/skills181k1,119 new stars in the last 7 days

Featured

xlsx

Read and edit spreadsheets: add columns, compute formulas, format, and clean messy data.

ANanthropics/skills181k1,119 new stars in the last 7 days

Featured

pptx

Create and edit slide decks, generate slides from templates, and extract text.

ANanthropics/skills181k1,119 new stars in the last 7 days