gongwen

Formats Chinese official documents according to GB/T 9704-2012 government document standards.

10|10|Updated May 13, 2026
One-click install
npx skills add https://github.com/yuluyangguang1/openclaw-portable --skill gongwen-yuluyangguang1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gongwen
Source: https://github.com/yuluyangguang1/openclaw-portable/tree/main/system/skills-zh/gongwen-zh
Command: npx skills add https://github.com/yuluyangguang1/openclaw-portable --skill gongwen-yuluyangguang1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Drafting Chinese official documents (公文) requires strict adherence to the GB/T 9704-2012 national standard covering fonts, heading hierarchy, margins, page numbers, signatures, and attachments, which is tedious and error-prone to apply manually. ## Core Features & Use Cases - Standardized Formatting Rules: Applies correct fonts (仿宋_GB2312 body, 黑体 level-1 headings, 楷体_GB2312 level-2 headings), 29pt fixed line spacing, and 2-character first-line indentation. - Complete Layout Specifications: Defines page margins, header/footer distances, page number styles (—1— for formal documents), signature blocks, dates, and attachment labeling. - Document Type Coverage: Supports common official document types including 通知 (notices), 通报 (circulars), 决定 (decisions), 意见 (opinions), 报告 (reports), 请示 (requests), and 函 (letters). - Use Case: A government office worker drafts a work deployment notice in plain text, then uses this Skill to restructure it with proper heading levels, signature block, date placement, and attachment list ready for Word conversion. ## Quick Start Format my draft notice about the annual inspection plan into a formal Chinese official document following GB/T 9704-2012 standards.

Frequently Asked Questions about gongwen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I format a Chinese official document (公文) correctly?

Chinese official documents follow GB/T 9704-2012, which mandates 仿宋_GB2312 body text, 黑体 for level-1 headings, 楷体_GB2312 for level-2 headings, 29pt fixed line spacing, and 2-character first-line indentation. This Skill applies all these rules automatically to your draft.

What fonts are required for GB/T 9704-2012 official documents?

The standard requires 仿宋_GB2312 for body text and level-3 headings, 黑体 3号 for level-1 headings (一、二、三), and 楷体_GB2312 for level-2 headings ((一)(二)). Arabic numerals use either 仿宋_GB2312 or Times New Roman consistently throughout.

What is the difference between formal and informal gongwen formatting?

Formal documents require a red header (红头) with the issuing organization's full name, page numbers formatted as —1— positioned right on odd pages and left on even pages, and full organization names in the signature block. Informal documents use plain centered page numbers and may use abbreviated organization names.

How should attachments be formatted in Chinese official documents?

Attachments are separated from the body text by one blank line, with the label 附件 in 黑体 3号 at the top left. Multiple attachment titles align with the first title's position, and long titles wrap to align with the first character of the previous line.

Can this formatting be converted to Word documents?

Yes, the Skill provides Markdown output conventions plus Word quick-setup instructions covering custom margins (top 3.7cm, bottom 3.2cm, left 2.8cm, right 2.6cm), fixed 29pt line spacing, and 2-character first-line indentation via paragraph settings.