Official Document Workflow
Paste the following prompt into your AI chat to install this skill:
Follow https://skillhub.cn/install/skillhub.md to install @user_d241203e/official-document-workflow.
About this skill
Problem to Solve
Official document writing is not only about turning notes into paragraphs. It also requires selecting the correct document type, tracking missing required elements, restructuring fragmented material, keeping a formal tone, checking GB/T 9704-2012 formatting rules, and producing a reviewable DOCX. Without a controlled workflow, headings, indents, fonts, spacing, issuer fields, and audit notes can cause repeated rework.
How It Works
The skill uses an Orchestrator to coordinate logical roles: Intake Expert identifies task mode, document type, and missing fields; Drafting Expert builds the first draft from available facts; Restructure Expert analyzes source material; Style Expert improves official wording without changing facts; Format Audit Expert checks rules in references/authority-gbt9704.md; and DOCX Tool Expert generates, formats, or inspects Word files with scripts/format_docx.py and scripts/check_format.py.
It supports three workflows:
- Mode A: New document: identify document type and required elements, ask only when blocked, then produce draft.md, format-audit.md, and final.docx when requested.
- Mode B: Revision: preserve facts, figures, dates, names, and policy references; create structure-analysis.md before producing revised-draft.md.
- Mode C: Format audit: audit DOCX, Markdown, or plain text and report pass/fail findings with required fixes.
Boundaries and Notes
The skill is aimed at compliant document bodies and review drafts, not full red-header issuance. It does not create the formal masthead, red separator line, or signer block. DOCX scripts require Python 3 and python-docx; heading detection depends on Chinese ordinals or Markdown levels, and heading lines should be separate items. Style edits must not alter facts, and conflicts between user requests and formal standards should pause for confirmation.
Use Cases
- Draft an official document from meeting notes and facts.
- Revise fragmented material into a draft and keep facts.
- Audit a DOCX for GB/T 9704 margins, fonts, and spacing.
- Generate final.docx from a reviewed Markdown draft.
Best For
- Clerks drafting notices who need complete fields.
- Staff revising meeting notes who must keep facts and dates.
- Reviewers checking DOCX for GB/T 9704 formatting.
- Teams producing Word bodies needing consistent spacing.
Related Skills
Creates 10,000-30,000-word Tomato Novel short stories with trend research, topic selection, outlines, segmented writing, pacing control, and UTF-8 txt export.
An AI editorial master skill that manages the full content creation process from vague ideas to publishable drafts, covering topic selection, writing, review, and publication adaptation.
An AI skill that generates original lyrics and synthesizes a custom song based on user-provided stories, occasions, and details.
Generates trending product copy for cross-border e-commerce platforms like Amazon and Shopee with SEO keyword optimization and multi-language support.