word-doc
Skill0 starsChanged 5 months agoMITView on GitHub
生成格式规范的 Word .docx 文件,含封面、目录、正文章节、页脚
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- squarerf/claude-skillstheir own version, first seen May 31, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- squarerf/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- html-pptSkill
- legal-agreementSkill
- contract-comparisonSkill
- legal-complianceSkill
- legal-freelancerSkill
- missing-protections-finderSkill
- custom-nda-generatorSkill
- counter-proposal-generatorSkill
- plain-english-translationSkill
- legal-privacySkill
- legal-report-pdfSkill
- legal-reviewSkill
- deep-risk-analysisSkill
- legalSkill
- terms-of-service-generatorSkill
- req-evalSkill
- xiaohongshuSkill
The file
Files
使用 python-docx 生成 Word 文档,严格遵循以下规范:
环境
- 使用系统 Python(
python或python3),不创建 venv - 依赖:
pip install python-docx(如未安装则先安装) - 所有脚本文件显式设置 UTF-8 编码:
# -*- coding: utf-8 -*- - PowerShell 中执行前设置:
$OutputEncoding = [System.Text.Encoding]::UTF8
文档结构(默认包含)
- 封面页:标题(大号加粗)、副标题、日期、制作方
- 分页符
- 目录(手动列出章节,标注"目录"标题)
- 分页符
- 正文章节:H1 对应一级标题,H2 对应二级标题
- 页脚:居中显示文档名称和页码
YAML frontmatter 注意
- 含冒号的值必须加引号,例如:
title: "项目方案:第一期"
输出路径
- 默认保存到
./output/<文件名>.docx - 若 output 目录不存在则自动创建
执行后验证
- 确认文件已生成且大小 > 0
- 输出文件的绝对路径供用户直接打开
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

