A structured AI skill for Chinese official document writing. 基于GB/T 9704-2012公文写作skills
npx skills add https://github.com/kagurananaga/official-document-writing-skill --skill official-document-writingInstale esta skill com a CLI e comece a usar o fluxo de trabalho SKILL.md em seu espaço de trabalho.
This is a professional Skill toolkit for writing Chinese Party and government official documents (公文). It strictly follows the national standard GB/T 9704-2012 Format of Official Documents of Party and Government Organs, and provides complete writing guidance, templates, examples, and a quality checklist.
This project is optimized based on Claude Code’s official skill-creator framework and adopts the progressive disclosure design approach, offering efficient and professional support for official-document writers.
Based on GB/T 9704-2012, the toolkit provides:
Provides standard templates for 6 common document types and 30+ real-world examples:
100+ quality checkpoints covering:
Official Document Writing Skill Project/
│
├── 📄 README.md # Project documentation (this file)
│
├── 📄 SKILL.md # Core navigation (635 lines)
│ ├── Use cases (5 major scenarios)
│ ├── Core workflow
│ ├── Formatting guidance
│ ├── Template navigation for common document types
│ ├── Language and writing norms
│ └── Quality checklist navigation
│
├── 📂 references/ # Detailed references (progressive disclosure)
│ │
│ ├── 📄 gb-t-9704-2012-standard.md # National standard explained (522 lines)
│ │ ├── Paper requirements
│ │ ├── Layout specifications
│ │ ├── Font and size rules
│ │ ├── Element arrangement rules
│ │ └── Special format requirements
│ │
│ ├── 📄 document-templates.md # Template library (1,215 lines)
│ │ ├── Request templates + 3 examples
│ │ ├── Notice templates + 4 examples
│ │ ├── Letter templates + 4 examples
│ │ ├── Summary templates + 6 examples
│ │ ├── Meeting minutes templates + 2 examples
│ │ └── Report templates + 1 example
│ │
│ └── 📄 writing-techniques.md # Writing techniques guide (761 lines)
│ ├── Four principles of official language
│ ├── Common standardized expressions
│ ├── Title drafting techniques
│ ├── Four-step method for extracting experience
│ ├── Common error corrections
│ └── Advanced writing tips
│
├── 📂 checklists/ # Checklists
│ └── 📄 quality-checklist.md # Quality checklist (396 lines)
│ ├── Format checks (40+ items)
│ ├── Content checks (30+ items)
│ ├── Language checks (40+ items)
│ ├── Logic checks (10+ items)
│ ├── Detail checks (20+ items)
│ └── Pre-issuance confirmation (10+ items)
│
├── 📂 templates/ # Blank templates (reserved)
│ └── (Place .docx/.xlsx template files here)
│
├── 📂 scripts/ # Utility scripts (reserved)
│ └── (Place Python/bash automation scripts here)
│
└── 📄 党政公文格式.txt # Raw material: GB/T 9704-2012 source
For: drafting a document from scratch
Workflow:
SKILL.md to determine the document typedocument-templates.mdquality-checklist.mdFor: optimizing an existing draft
Workflow:
quality-checklist.mdwriting-techniques.md for revision suggestionsFor: verifying whether the document format is correct
Workflow:
quality-checklist.mdgb-t-9704-2012-standard.mdFor: beginners learning how to write official documents
Workflow:
SKILL.md to understand the overall frameworkwriting-techniques.mddocument-templates.mdquality-checklist.mdFor: quickly locating specific rules during work
Method:
gb-t-9704-2012-standard.mddocument-templates.mdwriting-techniques.mdquality-checklist.mdAligned with Claude Code skill design best practices:
SKILL.md: concise core (635 lines)references/: deep references (2,498 lines)checklists/: practical tools (396 lines)skill-creator frameworkSecretarial staff in Party/government organs
Administrative staff in enterprises and institutions
Learners of official-document writing
Official document reviewers/proofreaders
Start with SKILL.md → understand the overall framework
↓
Study writing-techniques.md → master the core principles
↓
Review document-templates.md → learn concrete examples
↓
Use quality-checklist.md → master key inspection points
While drafting → open SKILL.md to confirm the document type
↓
Find templates → locate the relevant template in document-templates.md
↓
When in doubt → consult gb-t-9704-2012-standard.md for rules
↓
After completion → verify item-by-item with quality-checklist.md
3.**Quality Control
Format → gb-t-9704-2012-standard.md
↓
Content → document-templates.md (key points by document type)
↓
Language → writing-techniques.md (the four principles)
↓
Overall → quality-checklist.md (100+ items)
中文说明请见 README.zh-CN.md