AI Agent Hub
Back to skills
Official Document Writing Expert icon

Official Document Writing Expert

Professional Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please refer to https://skillhub.cn/install/skillhub.md to install @davtime/gongwenxiezuo.

About this skill

Specific Problems in Official Document Writing

In daily work, we often need to transform scattered materials like meeting notes, policy excerpts, or data snippets into formal official documents or transactional texts. This process frequently encounters pain points: loose structures leading to poor logic, format errors that don't meet standards, improper fact citations causing risks, and time-consuming manual formatting. Especially for inexperienced writers, turning a draft into a deliverable .docx file can require multiple revisions.

Core Capabilities and Key Workflow of the Skill

The Official Document Writing Expert skill addresses these issues through:

  • Fully Local Operation: It runs entirely on the user's machine without external APIs or internet dependencies, ensuring data privacy and offline usability.
  • Five Working Modes: These adapt based on task complexity, either automatically or manually triggered:
  • Generator: Produces content based on user materials and standard templates.
  • Reviewer: Checks format, logic, and fact risks using checklists.
  • Inversion: Proactively asks the user for clarification when key information is missing.
  • Pipeline: Enforces a strict process for long or high-risk documents.
  • Tool Wrapper: Handles local Word formatting and official header document generation.

The key workflow involves:
1. Task Routing: First, determine the document type (e.g., notice, request, report) and complexity via files like reference/task_router.md to decide which resources to load.
2. Material Priority: Works strictly with user-provided materials or the local knowledge-base/ of personal assets, avoiding fabrication of policies, data, or other unprovided facts.
3. Progressive Loading: Loads relevant files by stage (e.g., reference/fact_discipline.md before drafting to constrain fact boundaries).
4. Generation and Review: Generates content in Markdown format, optionally running scripts/prose_lint.py for language quality checks, then outputs Word or official header documents using local scripts.
5. Default Delivery: All formal writing tasks default to generating .docx files; official header documents are created only when explicitly requested.

Applicable Boundaries and Important Notes

  • Fact Discipline: The skill strictly adheres to the principle of

Use Cases

  • When government office personnel receive scattered meeting notes and policy documents and need to draft a well-structured annual work summary report with standard formats, use the skill to generate a Word document, ensuring no key items are missed.
  • In drafting a request document where policy references are incomplete, the skill first searches the local knowledge base and prompts the user for clarification if materials are insufficient, avoiding fabrication of unprovided facts or document numbers.
  • A corporate administrative assistant needs to generate an official header version of a notice; when the user explicitly requests a 'red header document,' the skill first produces a regular Word file, then calls a local script to create a red header version complying with national standards.
  • After completing a policy research report draft, a research analyst requests the skill to enter Reviewer mode, checking the logic chain, fact risks, and language norms against a review checklist, and outputs a list of issues.

Best For

  • Government office secretaries: Handle multiple document drafts and reviews weekly, requiring accurate facts and standard formats to avoid citing incorrect policies or fabricating data.
  • Corporate administrative assistants: Responsible for drafting internal notices and reports with scattered materials, needing to quickly organize them into formal documents and deliver Word files that meet company format requirements.
  • Policy researchers: Writing research reports or policy analyses where reliable data sources are essential; they need prompts when materials are insufficient and avoid supplementing unverified information themselves.
  • Public institution clerks: Processing routine transactional documents like letters and approvals, seeking to generate complete and logically rigorous documents to reduce manual revision time.