/install gongwenformat
\r \r
Gongwen Format\r
\r
Overview\r
\r
Use this skill to turn a draft into a compliant Chinese official document, or to review an existing document against the standard in 公文标准格式.doc.\r
\r
Read references/formatting_guidelines.md before making layout decisions. It contains the extracted rules from 公文标准格式.doc.\r
\r
When To Use\r
\r
- Formatting or checking
doc/docx/ plain-text drafts into standard 公文格式\r - Rewriting notices, reports, requests, replies, letters, meeting minutes, or orders into compliant layout\r
- Reviewing whether an existing document matches the national standard\r
- Producing a formatting checklist before a human finishes the document in Word/WPS\r \r
Workflow\r
\r
- Identify the document type:\r
- Standard 公文\r
- 信函格式\r
- 命令(令)格式\r
- 纪要格式\r
- Extract or confirm the core elements:\r
- 发文机关\r
- 发文字号\r
- 标题\r
- 主送机关\r
- 正文层级\r
- 附件说明 / 附件\r
- 署名、日期、印章或签发人\r
- 抄送、印发机关、印发日期\r
- Apply the layout rules in
references/formatting_guidelines.md.\r - If the source data is incomplete, do not invent factual elements such as 发文字号、密级、签发人、抄送机关. Mark them as missing and continue.\r
- When direct binary Word editing is not practical, output:\r
- a normalized final text structure\r
- an explicit formatting checklist for Word/WPS execution\r
- any unresolved missing metadata\r \r
Output Requirements\r
\r For review tasks, return:\r \r
- Non-compliant items\r
- Correct standard for each item\r
- A corrected version or exact revision instruction\r \r For drafting or rewriting tasks, return:\r \r
- The normalized document text in final order\r
- The layout instructions needed to reproduce it in Word/WPS\r
- Any assumptions you made\r \r
Rules To Enforce\r
\r
- Prefer explicit user or organization template rules over the generic national standard.\r
- If no local rule conflicts, use the requirements extracted from
公文标准格式.doc.\r - Keep wording formal, concise, and administrative in tone.\r
- Preserve factual content; do not silently rewrite policy meaning.\r
- Ensure the first page contains body text.\r \r
Hierarchy Numbering (层次序号)\r
\r Must use the following format (GB/T 9704-2012):\r
- Level 1:
一、,二、,三、... (中文数字+顿号)\r - Level 2:
(一),(二),(三)... (全角括号+中文数字)\r - Level 3:
1.,2.,3.... (阿拉伯数字+英文句点)\r - Level 4:
(1),(2),(3)... (全角括号+阿拉伯数字)\r \r Do NOT use Roman numerals (I, II, III) or other formats.\r \r
Hierarchy Fonts (层次字体)\r
\r
- Level 1:
3号黑体(Heiti / SimHei)\r - Level 2:
3号楷体(Kai / KaiTi)\r - Level 3 and 4:
3号仿宋(Fangsong / FangSong_GB2312)\r \r
Page Numbers (页码)\r
\r
- Font:
4号半角宋体Arabic numerals\r - Format:
— 1 —(一字线 + 页码 + 一字线)\r - Position: below the core text area bottom edge\r
- Alignment: odd pages right-aligned, even pages left-aligned\r \r
Bundled Resources\r
\r
- references/formatting_guidelines.md: concise rulebook extracted from
公文标准格式.doc\r - scripts/gongwen_checklist.py: prints a checklist for standard, letter, order, or minutes format\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gongwenformat - After installation, invoke the skill by name or use
/gongwenformat - Provide required inputs per the skill's parameter spec and get structured output
What is gongwenformat?
Format, review, or rewrite Chinese official documents according to the requirements in GB/T 9704-2012 and the local file `公文标准格式.doc`. Use this skill for 公文排... It is an AI Agent Skill for Claude Code / OpenClaw, with 256 downloads so far.
How do I install gongwenformat?
Run "/install gongwenformat" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is gongwenformat free?
Yes, gongwenformat is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does gongwenformat support?
gongwenformat is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created gongwenformat?
It is built and maintained by johamwon (@johamwon); the current version is v1.0.0.