Install
openclaw skills install @johamwon/gongwenformatFormat, review, or rewrite Chinese official documents (公文) to the GB/T 9704-2012 党政机关公文格式 standard. The full rulebook is bundled in references/formatting_gui...
openclaw skills install @johamwon/gongwenformatUse this skill to turn a draft into a compliant Chinese official document, or to review an existing document against GB/T 9704-2012 (党政机关公文格式).
Read references/formatting_guidelines.md before making layout decisions. It is the concise rulebook extracted from GB/T 9704-2012 and is the source of truth for this skill.
doc / docx / plain-text drafts into standard 公文格式references/formatting_guidelines.md..docx is provided and in-place reformatting helps, run scripts/format_gongwen_docx.py <input.docx> <output.docx> to set page/margins/fonts/hierarchy/page numbers, then finish 版头/版记 in Word/WPS.scripts/gongwen_checklist.py)For review tasks, return:
For drafting or rewriting tasks, return:
references/formatting_guidelines.md (GB/T 9704-2012).Must use the following format (GB/T 9704-2012):
一、, 二、, 三、... (中文数字+顿号)(一), (二), (三)... (全角括号+中文数字)1., 2., 3.... (阿拉伯数字+英文句点)(1), (2), (3)... (全角括号+阿拉伯数字)Do NOT use Roman numerals (I, II, III) or other formats.
3号黑体 (Heiti / SimHei)3号楷体 (Kai / KaiTi)3号仿宋 (Fangsong / FangSong_GB2312)4号半角宋体 Arabic numerals— 1 — (一字线 + 页码 + 一字线).docx in place — applies A4 page setup, margins (天头 37mm / 订口 28mm), per-level fonts, and — 1 — page numbers. Usage: python scripts/format_gongwen_docx.py input.docx output.docx. It only touches 正文 layout; 版头/版记 are finished in Word/WPS..doc (Word 97-2003), which python-docx cannot read. Requires olefile. Usage: python scripts/read_doc_text.py input.doc [output.txt].standard, letter, order, or minutes format. Usage: python scripts/gongwen_checklist.py --type standard.Script dependencies: pip install python-docx olefile (gongwen_checklist.py needs no extra packages).