Official Document Drafting skill
A Codex and Claude Code skill that drafts Chinese official documents to the GB/T 9704-2012 format and exports them to Word.
- 149 ★ on the repository
- Last commit
Minimal access
Why this level
- The skill drafts text locally; web AI tools receive only the materials you paste yourself.
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/official-document-draftingDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewMinimal accessThe tool runs nothing and makes no network calls.
- The skill drafts text locally; web AI tools receive only the materials you paste yourself.
This is third-party code. Review the repository files before installing.
What it does
Official Document Drafting is a skill for writing Chinese official documents. It takes the user materials and requirements and drafts text to the GB/T 9704-2012 state formatting standard. It supports 22 kinds of documents and formal materials, including reports, notices, requests and minutes. Finished documents are saved as Markdown and Word (.docx). For web AI tools without skills the repository has ready `prompt.md` files per document type, and for closed networks a Python script can assemble a prompt from your materials.
Who it is for. Staff in organizations with Chinese official paperwork and anyone preparing formal reports and notices in Chinese to the accepted formatting rules.
Good fit when
- A notice or request must follow the form used for state documents.
- A draft report must be brought to the standard and exported to Word.
- The model runs in a closed network and a script builds the prompt from materials.
- The same document type is prepared from a ready `prompt.md` in a web chat.
Not a fit when
- You need a legally reviewed text rather than a draft.
- The document is written in another language under different rules.
- You cannot check the Word export against your organization template.
Example request
Draft a meeting notice from my materials following GB/T 9704-2012 and export it to Word.Limitations
Texts and rules follow Chinese paperwork practice, not Russian. The skill produces a draft, and the author stays responsible for content and details. Word export needs Python and fonts. GitHub could not classify the license file, so check reuse terms in `LICENSE`. The samples in `样例/` show the full cycle from materials to Word, but check the layout separately against your organization template.
How to disable. Delete the `official-document-drafting` folder from `~/.codex/skills` or `~/.claude/skills`. Documents you created stay with you.
FAQ
How many document types are supported?
The README claims 22 types, including reports, notices, requests and minutes. Ready prompts live in `dist/offline/default/doc-types/`.
Does it work without installing the skill?
Yes. Copy the needed `prompt.md` into a web model chat with internet access, or use `build.py` for a closed network.
How do I install it in Claude Code?
Copy the folder with `cp -R ./official-document-drafting ~/.claude/skills/` or into the project `.claude/skills/`.
Is Word needed for export?
No. The `.docx` export is built by code in `src/` and needs Python and fonts, not an installed Word.
Where can I see a result before installing?
The `样例/` folder has full examples: task, materials, prompt, finished text and Word file. Some examples assume internet access and some a closed network.
Discussion
No questions or reviews yet.
Related
SkillsA skill for Chinese official documents that picks the document type, builds the structure and strips hollow boilerplate.
A skill that checks and repairs official Chinese documents to GB/T 9704 and produces .docx with Word tracked changes.
docx-skill-4-cn-paper: a Word skill for Chinese papers
docx-skill-4-cn-paper
The docx-editor-cn skill builds Word files to Chinese university rules: margins, fonts, native formulas and three-line tables
A skill formats Chinese official documents as editable DOCX files with page settings, headings, formal fields and checks.
Skills for Chinese official documents: they write only from your materials, flag gaps and build a docx to GB/T 9704.
A skill for Chinese technical writing: rewrites docs, interface strings and API descriptions, keeps the facts intact and checks output with a linter
README in short
Three ways to use it: install the skill, paste ready prompts into web chats, or build a prompt in a closed network. All three follow the same formatting rules.