official-doc-writer

Generate GB/T 9704-2012 compliant government documents as Word files.

13|3|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/wonderslife/pdd-skills-v3 --skill official-doc-writer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: official-doc-writer
Source: https://github.com/wonderslife/pdd-skills-v3/tree/main/skills/core/official-doc-writer
Command: npx skills add https://github.com/wonderslife/pdd-skills-v3 --skill official-doc-writer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates the creation of GB/T 9704-2012 compliant government documents (notices, reports, letters, and more) from structured inputs, reducing manual formatting time and human error.

Core Features & Use Cases

  • Automates document generation with correct GB/T 9704-2012 formatting
  • Exports to Word (.docx) ready documents with proper fonts and layout
  • Supports interactive dialogues to collect mandatory elements (issuer, recipient, title, body, and date) for consistent output
  • Use Case: generate standardized memos for multiple offices or agencies in a single run

Quick Start

Run the Python script to generate a formatted government document from your inputs.

Frequently Asked Questions about official-doc-writer

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

FAQPage Schema
How do I generate a GB/T 9704-2012 compliant government document in Word format?

To generate a GB/T 9704-2012 compliant government document in Word format, provide structured inputs like issuer, recipient, and body text to the Skill, which then applies formatting rules and exports a ready .docx file.

Can I automate official document creation for multiple government agencies in a single run?

Yes, you can automate official document creation for multiple agencies in a single run by supplying structured inputs to generate standardized memos, notices, or reports that comply with GB/T 9704-2012 formatting.

How do I ensure correct font management and layout rules for Chinese government forms?

Correct font management and layout rules for Chinese government forms are applied automatically by parsing structured inputs against GB/T 9704-2012 standards before exporting the final Word document.

Does this official document generator work with Python and python-docx?

Yes, the official document generator uses Python and depends on the python-docx library to programmatically apply GB/T 9704-2012 layout rules and export Word-ready .docx files.

What elements are required to create a GB/T 9704-2012 compliant notice or report?

Creating a GB/T 9704-2012 compliant notice or report requires mandatory elements including the issuer, recipient, title, body, and date, which are collected through an interactive data-collection dialogue.

Are there limitations when formatting complex corporate letters using GB/T 9704-2012 templates?

Limitations when formatting complex corporate letters using GB/T 9704-2012 templates include strict adherence to predefined document-type structures, meaning highly customized layouts outside the standard may not be supported.