Secretarial Archives and Official Document Writing (Miaobi Skill): Technical Templating for Document Writing and Standardized Format Constraints

Introduction

Official document writing in government agencies often gets stuck on three issues: the wide variety of document types, inconsistent editorial standards, and the intolerance for errors in formatting or factual accuracy. While general large language models can generate paragraphs, they tend to “hallucinate via auto-completion” when it comes to hard information such as GB/T 9704 layouts, document numbers, and personal names. Furthermore, the revision process often turns into a cycle of repeatedly aligning with the habits of leaders or reviewers. The Skill introduced below, released by a developer with long-term experience in government office work, encodes the official document workflow, editorial preferences, and formatting rules into the Skill and its knowledge base. It guides the writing process through Q&A within an Agent and uses explicit placeholders for missing information.

What is this

Secretary Material Star Official Document Writing - Miaobi Skill (Coordinate @tec-wins/gongwen-writting-2, current version 1.0.71) is an enterprise skill on SkillHub, categorized under office-efficiency and published by Shangyan Information (熵衍信息). The official introduction positions it as a logic-modeling writing assistant covering the full chain of 38 types of official documents. It generates documents through templated guided Q&A, emphasizes format alignment with GB/T 9704, and uses [To be filled] tags for uncertain facts rather than fabrication.

The SkillHub page is tagged with requires_api_key=true; an API Key must be configured according to platform requirements before use. Page statistics (as shown on SkillHub): Rating 100000, Downloads 396930.

Core Features

The following capabilities are derived from the official description and SkillHub page details, without any additional inference.

38 Types of Official Documents and Templated Q&A

The Skill performs logical modeling for multiple types of official documents. It collects elements through templated guided Q&A and then generates a complete draft, reducing the time spent on structuring from scratch.

Reviewer Persona and Structural Modification

The official description claims a “Reviewer Persona” mechanism: it can perform one-click structural modifications on existing drafts to align the expression with a preset reviewer persona. Specific persona fields and interaction steps are subject to the installed SKILL.md and the guidance within the Skill.

Eliminating Fabrication: Using [To be filled] for Missing Information

For missing numbers, document numbers, names, dates, etc., the Skill requires the use of the [To be filled] marker to prevent the model from fabricating details, facilitating manual completion before finalizing the draft.

Format and Knowledge Base Guarantee

The official description includes a “full-scale intelligent control knowledge base with hundreds of thousands of entries” and approximately 6,500 lines of core control code to handle formatting and align with GB/T 9704. However, after generating the draft, it is still recommended to perform a final check against your unit’s templates and printing specifications.

Installation and Activation

The installation process follows the general SkillHub documentation; each AI client needs to install the skill to its recognized skills directory, otherwise the Agent cannot load it.

1. Install SkillHub CLI (if not already installed)

First, check if the CLI is already present:

command -v skillhub && skillhub --version

If not installed, you can execute the full installation (including default Skills, officially recommended):

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

To install only the CLI:

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

2. Install this Skill

The installation prompt provided on the SkillHub skill page is: Install @tec-wins/gongwen-writting-2 according to the SkillHub Installation Documentation.

Assuming skillhub is installed, you need to use --dir to point to the current Agent’s skills directory, for example:

skillhub install tec-wins/gongwen-writting-2 --dir <skills directory>

Common directories (from SkillHub installation documentation):

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

You can also ask the AI in the conversation to install it according to the official prompt:

Please install `@tec-wins/gongwen-writting-2` according to https://skillhub.cn/install/skillhub.md.

3. API Key

This Skill carries the requires_api_key=true tag. After installation, configure the key according to the instructions within the Skill or the guidance on the publisher “Shangyan Information“‘s homepage; full capabilities may be unavailable without configuration.

Typical Usage

The official page does not provide independent command-line examples. The typical path is to initiate a writing task in a conversation with an Agent where this Skill is enabled, allowing the Skill to ask questions based on the document type template and generate the body text. A reproducible starting method is as follows:

  1. Confirm in the Agent that @tec-wins/gongwen-writting-2 is loaded and the API Key is configured (if required by the Skill).

  2. Describe the document type and purpose in natural language, for example: “Write a Request for Instructions (请示), the topic is…, the primary recipient is…, and it needs to reflect the policy basis of…”. The Skill should fill in structural elements through Q&A.

  3. Check the [To be filled] locations in the draft, complete the document number, date, names, and data, and then finalize; finally, fine-tune according to your unit’s Word template or layout specifications.

  4. If you need to fit the habits of a specific reviewer, state in the conversation that you want to use the “Reviewer Persona” or structural modification (wording subject to the Skill’s internal guidance) to iterate on the initial draft.

Applicable Scenarios and Notes

Who it is for: Office staff in Party and government organs, enterprises, and public institutions engaged in material drafting, proofreading, and formatting; teams already using Skills in environments like Cursor, Claude Code, and Codex.

Version and Licensing:

  • Historical versions once offered a free trial of approximately 5% of the knowledge base, available for experience upon download; the official notes state that the knowledge base is copyrighted and for personal use only, and shall not be used for other purposes.
  • A Single-use Paid Version has been released: 2 CNY/use for access to the full knowledge base. It must be purchased or used via the Skill on the publisher “Shangyan Information“‘s homepage; the capability scope differs from the free trial version.

Boundaries of Use: The Skill cannot replace statutory approval and issuance workflows; classified content must comply with your unit’s information security regulations; [To be filled] tags and policy expressions must be manually verified.

Conclusion

The Secretary Material Star Official Document Writing - Miaobi Skill consolidates the official document type workflow, reviewer personas, GB/T 9704 formatting constraints, and anti-fabrication rules into a single SkillHub enterprise skill, making it suitable for guided drafting and revision within an Agent. For installation and priority source instructions, see the SkillHub Installation Documentation; for skill details and coordinates, see the SkillHub page and API address:

  • SkillHub: https://www.skillhub.cn/skills/tec-wins/gongwen-writting-2
  • API: https://api.skillhub.cn/tec-wins/gongwen-writting-2
羽毛球分组比赛记分
小程序二维码

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

Xiaoye