📝
AutomationPython

Office Docx Expert

by val1813

Office Docx Expert is an Automation skill for Claude Code, published by val1813 in kwcode.

688 stars92 forkson val1813/kwcodeAdded 2026/08/12Repository updated 2026/05/14
Install in seconds
Install Office Docx Expert
Copy Office Docx Expert into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/val1813/kwcode/tree/master/kaiwu/builtin_experts/office_docx ~/.claude/skills/office_docx

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/val1813/kwcode.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
kaiwu/builtin_experts/office_docx/SKILL.md in val1813/kwcode
Installs to
~/.claude/skills/office_docx
Collection
One of 19 skills cataloged from this repository
Category
Automation1523 skills

What Office Docx Expert does

Office Docx Expert generates Word documents with python-docx, including headings, tables, images, page layout, and formatting rules. Use it when you need programmatic .docx creation with Chinese and English typography conventions.

Office Docx Expert is cataloged under Automation on DirSkills.

Documentation

README

领域知识

  • 使用python-docx库生成,Document()创建空文档
  • 中文正文字体:宋体/仿宋,标题:微软雅黑/黑体,英文:Times New Roman
  • 正文字号:小四(12pt),标题逐级递增(二号→小三→四号)
  • 首行缩进:paragraph_format.first_line_indent = Cm(0.74)(两个中文字符)
  • 行距:1.5倍行距,paragraph_format.line_spacing = 1.5
  • 页边距:上下2.54cm,左右3.17cm(Word默认值)
  • 表格:Table(rows, cols),首行深色背景+白色加粗文字,内容行交替底色
  • 页眉页脚:section.header.paragraphs[0] 设置文字,页码用WD_ALIGN_PARAGRAPH.CENTER
  • 标题层级:add_heading(text, level=1/2/3),自动生成目录结构
  • 图片插入:add_picture(path, width=Cm(14)) 居中显示
  • 保存前不要忘记 document.save(filename)

经验规则(自动生成)

Frequently asked about Office Docx Expert

  • What else does val1813 publish alongside Office Docx Expert?

    Office Docx Expert is one of 19 skills that DirSkills catalogs from val1813/kwcode, the repository it ships in. Its siblings there include API Expert, Bug Fix Expert and DeepSeek API Expert. Each one is a separate skill with its own page in this directory, installs the same way Office Docx Expert does, and is maintained by val1813 in that same repository. The rest of the collection is listed on the val1813/kwcode page.

  • How does Office Docx Expert compare to other Automation skills?

    Office Docx Expert ranks #1068 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Office Docx Expert against them. Open each page to compare what they document and how they install.

More from val1813/kwcode

Office Docx Expert is one of 19 skills cataloged on DirSkills from val1813/kwcode.

See all 19 skills