Chinese Official Document Format
Default Choice
- Use
assets/templates/2-1-daily-word-template.docxfor ordinary Word documents, drafts, reports, memos, plans, meeting notes, summaries, and general formal writing. - Use the red-head files
assets/templates/3-1-redhead-format-spec.docandassets/templates/3-2-redhead-application-template.doconly when the user explicitly requests a red-head document, formal issued file, 发文, 上行文, or mentions 红头. - Use
assets/templates/3-3-letter-template.docxonly when the user asks for 函. - Do not add red-head elements to daily documents unless explicitly requested.
Workflow
- If creating or modifying a
.docx, also use thedocumentsskill and follow its render/QA discipline where the local renderer is available. - Read
references/format-rules.mdbefore drafting or formatting. - Start from the matching template in
assets/templates/whenever possible so page setup and styles stay consistent. - For ordinary documents, preserve the 2-1 style system: A4 page, body in 三号仿宋_GB2312, main title centered at 22 pt with no first-line indent and no bold, real Word Heading 1/2/3 styles for the three heading levels, justified body text, page numbers, and the template rules for tables, figures, attachments, footnotes, and body emphasis. Do not add signature/date/contact blocks to ordinary research reports or general Word documents unless the user asks.
- For red-head, formal issued, or letter documents, preserve the structural parts in the original template: document number, recipient, title, body, attachments, signature/date, contact line, and, for red-head files, issue mark/版记.
- Verify fonts are available before producing important deliverables. Expected fonts are bundled in
assets/fonts/: 仿宋_GB2312, 楷体_GB2312, 方正小标宋简体, 黑体/SimHei, and Microsoft YaHei.
Helper Script
Use scripts/create_sample_doc.py to create a quick daily-format test document:
python scripts/create_sample_doc.py --out /tmp/sample.docx
The script copies the 2-1 template, writes representative title/body/heading/attachment content, applies the core fonts and styles, and prints a small structural check.
Output Discipline
- Deliver
.docxunless the user asks for another format. - Avoid decorative redesigns. The expected look is restrained Chinese official-document typography.
- Prefer Chinese punctuation and numbering:
一、,(一),1.; apply the actual Word Heading 1/2/3 styles for heading paragraphs. Use the body attachment list format附件 1.附件标题for ordinary documents, and use right-aligned issuing body/date only where applicable. - If rendering is unavailable because the local LibreOffice dependency is broken, still create the document, inspect the DOCX structure, and tell the user that visual render QA could not be completed.