docx
业务领域
技能形态
Agent Skill 规格描述
"Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation."
使用场景
两种典型用法
生成专业格式的Word报告
用户需要生成一份包含目录、标题、表格、图片和页码的专业Word报告。Agent使用docx-js库创建文档,设置US Letter页面大小、Arial字体、自定义标题样式、编号列表和表格,并验证生成的docx文件,确保格式正确。
编辑现有Word文档并接受修订
用户提供一个包含修订标记的Word文档,需要清理并生成最终版本。Agent使用pandoc提取内容,通过accept_changes.py脚本接受所有修订,然后重新打包为干净的docx文件,确保文档内容完整且无修订标记。
技能关系
我用了哪些 Skills · 哪些 skills 用了我
依赖关系读作“上一格指向下一格”。当前 Skill 位于第二格,上下分别是影响它与被它影响的 Skill。
第一层 · 这些 Skills 用了我
- 无显式依赖
第二层 · 当前 Skill
- docxCli Manual · Workflow
第三层 · 我用了这些 Skills
- 无其他 Skill 显式依赖此项
技能文件
SKILL.md
目录结构
技能结构
- ▸skills/docx/
- ▸root
- ·LICENSE.txt
- ·SKILL.md
- ▸scripts
- ·__init__.py
- ·accept_changes.py
- ·comment.py
- ▸office
- ▸templates
按 Agent Skills 规范,必需项仅 SKILL.md;其余目录均为可选的脚本 / 引用 / 资源扩展。
同集相关