Party and Government Official Document Layout Assistant
Paste the following prompt into your AI chat to install this skill:
Please install @davtime/public-document-layout-master according to the guide at https://skillhub.cn/install/skillhub.md.
About this skill
Specific Challenges in Party and Government Document Layout
Daily office work in party and government agencies requires strict adherence to national standards like GB/T 9704-2012, involving complex elements such as red headers, footers, and page numbers. Manual processing often leads to:
- Format chaos: Mixed fonts, abnormal paragraph spacing, and incorrect indentation, making documents unprofessional.
- Low efficiency: Time-consuming adjustments for various document types (e.g., notices, requests, reports), slowing down workflows.
- Compliance risks: Misuse of non-standard decorations as standard formats, or errors like page numbers inheriting footers, affecting formal release.
Skill Workflow and Core Capabilities
This skill automates solutions through a "judge-type first, layout second, verify last" process:
- Intelligent Document Type Judgment: Identifies types (e.g.,
notice,request,minutes) based on title, opening paragraph, and other features. Prioritizes user specification, resolves conflicts by comprehensive analysis, and handles typical requirements like signatories for upward documents. - Layout Strategy Selection: Chooses appropriate strategies from a library, such as:
-official: For standard documents, applyingA4paper, specific margins (e.g., top 37mm), and font rules (title in 2号 small standard font).
-red: Adds red headers, separators, and other elements based on official layout.
-briefing: For political materials, avoiding impersonation of standard formats. - Structured Layout: Handles body text levels (e.g., first-level headings in black font), protects tables and images, ensuring objects are not broken. For example, tables avoid body first-line indentation, and images retain original aspect ratios.
- Automatic Verification and Repair: Post-generation checks for page settings, fonts, page numbers, etc., outputting a report categorized into "hard errors / risk items / optimizable items," with one automatic fix round.
Applicable Boundaries and Considerations
The skill aids layout but has limitations:
- No Content Modification: Only handles formatting and structure, not altering facts, numbers, or policy statements, ensuring reversibility of original drafts.
- Font Dependency: Uses font alias mapping, but missing fonts may cause risk items; manual review is recommended.
- Compatibility Priority: Generates standard OOXML format, minimizing reliance on Word-specific features; prioritizes structural stability over WPS/Word differences.
- No Fabrication: When information is insufficient, applies reasonable defaults without inventing agency names, document numbers, or other key elements.
In summary, this skill suits scenarios requiring batch processing of party and government documents to ensure format compliance, but final release still建议人工复核 to meet specific requirements fully.
Use Cases
- When drafting an upward request document, intelligently identify the type and apply red header format, including signatories and document numbers, outputting a DOCX compliant with `GB/T 9704-2012`.
- Re-layout a work report from an old Word file, fixing mixed fonts, broken page numbers, preserving table structure, and generating a verification report.
- Select the 'Steady Political' visual style for a speech draft, adjusting heading levels and paragraph spacing to ensure clear hierarchy for review.
Best For
- Party government secretaries: frequently handle official documents, requiring quick application of standard formats to minimize manual proofreading errors.
- Office administrative specialists: responsible for digitizing historical documents, needing to fix poorly formatted old files and ensure compliance with latest standards.
- Policy research department assistants: generate research materials or implementation plans, requiring political material layouts instead of standard official formats.
Related Skills
Tencent Cloud Table Recognition V3 is an OCR skill for detecting and recognizing tables in images or PDFs, supporting various table types like linear and borderless tables, with Excel export.
The complete set of online document operation tools provided by Tencent Docs MCP, supporting creation, querying, and editing of smart docs, Excel, PPT, mind maps, and more.
PPT Master is a professional PPT generation skill that automatically generates editable .pptx files through a 5-stage interactive workflow based on user requirements.
An AI-powered bid document assistant offering intelligent interpretation, document generation, and compliance review features.