Official Document Writing: Packaging Party and Government Document Techniques into Agent Skills

Introduction

The common dilemma when drafting materials in government offices isn’t “not knowing the format,” but a mismatch between positioning, intent, and linguistic habits: the same event must be expressed through different logics in notices, requests for instructions, speech drafts, and so on. Revisions often get stuck between “what the leadership wants” and “whether the language is sufficiently formal.” Relying solely on the GB/T 9704 standard or internal templates can govern layout, but it hardly constrains the AI’s thinking consistently during conversational writing.

Below we introduce the community Skill “公文写作” on SkillHub (located at @user_087fbff2/govwriting). It distills the techniques and norms of Party and government official document writing into a generic SKILL.md that can be loaded by clients supporting Skills, such as Cursor and Claude Code. This gives the model a reusable methodology for drafting, revising, and self-checking, instead of requiring fresh prompting each time.

What Is This

“公文写作” is a community skill categorized as professional on SkillHub. The current version is v3.2.8, the publisher is user_087fbff2, and its origin is marked as community. The positioning shown on the page and in the API documentation is consistent: a guide to techniques and norms for Party and government official document writing, targeting scenarios where statutory documents, administrative documents, and related materials need to be produced with AI assistance.

The tag shows requires_api_key=false, so after installation no additional API key is required; it works with the Agent and model you’re already using.

SkillHub display page: https://www.skillhub.cn/skills/user_087fbff2/govwriting
Skill resource URL: https://api.skillhub.cn/user_087fbff2/govwriting

(SkillHub statistics: rating 100000, downloads 15161; refer to the live data on the page.)

Core Features

The following capabilities come from the official description and SkillHub page; items not mentioned in the source materials are not expanded.

  1. Template frameworks for 15 statutory document types
    Provides detailed template frameworks for common statutory document types, so structure is constrained by document type in conversation rather than generating paragraphs that merely “look like” official documents.

  2. Key points for administrative documents
    Covers writing essentials for transactional materials outside the statutory types, used in conjunction with the template section.

  3. Language standard requirements
    Integrates official language norms into Skill guidance to constrain phrasing during drafting and polishing.

  4. Seven-Step Revision Method
    Provides a structured revision workflow, suitable for iteratively refining AI drafts rather than finalizing in a single pass.

  5. Special guidance on leadership speech drafts
    Offers specific instructions for speech-style materials, distinguishing scenarios from general document templates.

  6. AI writing adaptation and polishing
    Includes an AI Writing Adaptation Guide and an AI Polishing Workflow to align large model generation habits with official writing conventions.

  7. Self-check and common pitfalls
    An Official Document Writing Self-Check List and a Common Errors Handbook, for pre-finalization checks or to have the Agent review against the checklist.

Installation and Activation

SkillHub offers two methods; both essentially have the Agent fetch @user_087fbff2/govwriting according to a unified specification.

Send the following prompt to your current AI (Cursor Agent, Claude Code, etc.):

Please follow https://skillhub.cn/install/skillhub.md to install `@user_087fbff2/govwriting`.

The Agent will check for the CLI according to the SkillHub installation guide, select the skills directory, and complete installation.

Method 2: SkillHub CLI

First check whether skillhub is installed on your machine:

command -v skillhub && skillhub --version

If not installed, follow SkillHub documentation to perform the full installation or install just the CLI (excerpt):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise it defaults to ./skills/, which may not be recognized. Common paths are below (excerpt from SkillHub installation notes):

Client skills directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

Example (replace <skills directory> with the path from the table):

skillhub install @user_087fbff2/govwriting --dir <skills directory>

After installation, restart or refresh the Agent as required by each client so the Skill appears in the available list.

Typical Usage

No separate example repository is provided on the official page; the reproducible usage is: after enabling the Skill, explicitly state the document type, audience, and revision stage in your task description, letting the model call the templates, seven-step method, and self-check list within the Skill.

Example 1: Drafting by statutory document type

The “公文写作” Skill is enabled. Please draft an internal notice about the arrangement of ×× work using the statutory notice framework. The audience is internal departments and offices. Use a solemn tone and precise language, and include the result of a self-check against the official document writing checklist.

Example 2: Multi-round revision

Below is a first draft of a request for instructions. Please process it round by round using the Skill’s Seven-Step Revision Method: start with structure, then policy wording and language norms, and finally flag clauses that still require human determination against the Common Errors Handbook.

Example 3: AI polishing

Please follow the Skill’s AI Polishing Workflow to shorten the text without changing policy meaning, unify official terminology, and explain which common pitfalls were adjusted relative to the original.

Through these steps, the Skill’s value lies mainly in: the same set of techniques can be reused across multiple conversations, reducing the need to hand-write lengthy system prompts each time.

Applicable Scenarios and Notes

Who it’s for

  • Staff in Party and government organs, state-owned enterprises, and public institutions responsible for general writing and secretarial work who need to use AI in environments like Cursor to assist with statutory documents, administrative documents, or speech drafts.
  • Developers already using SkillHub or willing to configure the CLI per skillhub.md, who want to externalize their organization’s writing norms into an installable Skill.

Limitations and notes

  • This Skill is a techniques and norms guide; it cannot replace your final judgment on policy orientation, classified scope, or leadership intent. Do not paste classified content into cloud models.
  • Community-sourced (community); upgrades and content maintenance follow the publisher’s versions (currently v3.2.8). For important documents, still rely on human finalization and follow your organization’s review and approval workflow.
  • The materials do not provide clause-by-clause mapping to any specific national standard; when using it, defer to your organization’s latest document handling regulations.
  • The “installs 0” in the installation statistics comes from an API field and differs from download counts; refer to the SkillHub page display.

Closing

If you’re already using AI to write materials but feel “the format is right, yet the flavor is off,” consider making “公文写作” a permanent Skill: use the 15 statutory document frameworks and the Seven-Step Revision Method to constrain structure, the self-check list and the common pitfalls handbook to close quality loops, and the AI polishing workflow to reduce colloquial phrasing.

Official Skill page: https://www.skillhub.cn/skills/user_087fbff2/govwriting
Skill URL: https://api.skillhub.cn/user_087fbff2/govwriting

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye