Bowei Word Report Formatting
Paste the following prompt into your AI chat to install this skill:
Please install @org-vc3t81nj/moways-docx according to https://skillhub.cn/install/skillhub.md.
About this skill
Chinese Word reports usually fail on subtle formatting and punctuation rather than spelling: half-width commas in Chinese sentences, ASCII straight quotes, first-level headings without black color and outline level, missing page breaks after cover and TOC, placeholder TOC page numbers, and table titles separated from tables. These issues are hard to spot visually but matter for professional delivery.
Problem
word排版 is aimed at consulting reports, research materials, and formal deliverables. It standardizes recurring Word checks by applying Bowei's V2.6 layout rules and the GB/T 15834—2011 punctuation standard, covering fonts, sizes, margins, heading hierarchy, page breaks, headers, footers, tables, and Chinese punctuation.
How It Works
The skill relies on python-docx and lxml to inspect .docx structure. Automatic formatting sets A4 page size, margins, Chinese body fonts such as FangSong and Times New Roman for Latin text, 1.5 line spacing, and first-line indentation. format_word.py enables safe Chinese punctuation fixes by default, replacing half-width punctuation in Chinese context with full-width forms while skipping URLs, email addresses, file paths, and version numbers.
Audit mode runs audit_word.py and produces a severity-ranked issue list, with focus on P1–P20 punctuation checks, heading color, outline level, page boundaries, and table binding. New-report mode expects full-width punctuation during drafting, then applies the layout rules and audits the result.
Limits
It is best for structured formatting and pre-delivery audits of formal Chinese reports, not visual design. Complex covers, image placement, and repeated table headers across pages still need manual adjustment. TOC page numbers require updating fields in Word, and ambiguous cases such as single em dashes or dots inside version numbers are left to human review. Client-specific requirements take precedence.
Use Cases
- Before delivering to government or state-owned clients, normalize half-width commas, straight quotes, and book-title marks to full-width forms and audit GB/T 15834 items to zero.
- Use format_word.py to set Chinese body text to FangSong 12pt with 1.5 line spacing, and force level-one headings black with outline level 0.
- Run audit_word.py before handoff to confirm cover, TOC, level-one headings, and attachments page-break correctly, then export a severity-ranked issue list.
- When drafting a new research report, apply Bowei A4 margins, header text, page numbers, and table titles, then build a two-level TOC and update fields.
Best For
- Consulting advisors delivering client reports who need multiple Chinese Word documents aligned to a review-ready format.
- Project managers serving government or state-owned clients who must verify punctuation, page numbers, headers, and heading hierarchy.
- Automation engineers using python-docx who need to turn layout rules into repeatable formatting scripts and audit checks.
- Research analysts writing reports who need to catch half-width punctuation, placeholder TOC page numbers, and table page-break issues.
Related Skills
Convert teaching schedules from talent development plan PDFs into structured Excel files, with cross-page tables, merged cells, multi-semester course splitting, major metadata extraction, and batch output.
Turn post-meeting text into bilingual minutes, preserving structure and consistent terminology.
Interprets tender files, generates bid docs, and checks compliance via the Bailian API.
Create, repair, and recalculate xlsx, xlsm, csv, or tsv workbooks with formula-safe edits, validation, and recalculation.