← 返回 Skills 市场
official-document-drafting
作者
YangZhaohui
· GitHub ↗
· v1.0.0
· MIT-0
131
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install official-document-drafting
功能描述
起草、改写、润色、扩写、压缩、规范并导出中文公文与行政正式文本。Use when the user asks to write, revise, summarize, standardize, or convert 公文、决议、决定、命令、公告、公报、通告、意见、通知、通报、报告、请示、批复、议案、函、纪要,以及...
安全使用建议
This skill appears coherent with its stated purpose: it contains templates, guardrails, validation and local export scripts. Before running it note: (1) it will create output files by default under ~/official-document-drafting-output/ and may install fonts into ~/.local/share/fonts/official-document-drafting — review and change these paths if you prefer; (2) scripts/download_fonts.sh will fetch font files from GitHub/CTAN if you opt to download — check font licensing (some recommended fonts like 方正 are commercial and not bundled); (3) do not feed sensitive secrets or classified documents into the tool (SKILL.md repeatedly warns about this); (4) because the package contains executable scripts, inspect the repository locally before running and run commands in a controlled environment if you have concerns. If you need greater assurance, request a provenance check of the GitHub repo (commit history, maintainer identity) or run the scripts in a disposable VM/container.
功能分析
Type: OpenClaw Skill
Name: official-document-drafting
Version: 1.0.0
The bundle is a comprehensive toolset for drafting, formatting, and exporting official Chinese administrative documents. It includes structured templates, font management scripts, and a custom Markdown-to-Docx generator (scripts/generate_docx.py) that builds Word files using standard libraries. While the bundle includes scripts that use curl to download assets (scripts/download_fonts.sh), they target reputable sources like GitHub (notofonts) and CTAN to fetch necessary typography files. The AI instructions in SKILL.md are focused on professional document standards and include strong anti-hallucination guardrails, with no evidence of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
The name/description (Chinese公文起草与导出) matches the repository contents: many doc-type prompts, templates, layout/font profiles, validators and docx export scripts. Required binaries (bash, python3, curl) are appropriate for the included scripts and export workflow.
Instruction Scope
SKILL.md gives precise instructions to select a doc type, apply guardrails, produce Markdown and optionally call the included export scripts to produce .docx. The instructions read from the repository's prompt/spec files and may write outputs to a default directory (~/official-document-drafting-output/) and install fonts into the user font directory. There is no instruction to read unrelated system secrets or to transmit data to unknown endpoints, but users should be aware the skill will create files and may read user-supplied material files if provided.
Install Mechanism
This is instruction-only (no automated install spec), but repository includes local scripts. The only network actions are optional font downloads using curl from reputable hosts (GitHub raw content and CTAN). There are no obscure download URLs, URL shorteners, or remote binary installs in the repo.
Credentials
The skill declares no environment variables or credentials and the code does not request secrets. Scripts use HOME for default output and to install fonts under ~/.local/share/fonts/official-document-drafting — this filesystem access is proportional to producing files and installing fonts. No evidence of requesting unrelated cloud or service credentials.
Persistence & Privilege
always:false and user-invocable:true. The skill writes files to user directories and can install fonts (user-level), which is expected for a document-export tool. It does not request permanent platform privileges or modify other skills' configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install official-document-drafting - 安装完成后,直接呼叫该 Skill 的名称或使用
/official-document-drafting触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Official release of the "official-document-drafting" skill for standardized Chinese government and administrative document drafting.
- Supports drafting, revising, expanding, summarizing, and exporting various official Chinese documents with strict fact-checking and anti-hallucination rules.
- Automatically determines the document type, applies official templates, writing rules, format profiles, and ensures correct titles, hierarchy, and formal language.
- Exports Markdown by default and supports export to Word (.docx) with precise formatting, fonts, line spacing, and standard layout.
- Uses placeholders such as [主送单位], [事项名称] when user input is incomplete; never fabricates facts, data, dates, or names.
- Covers law-defined document types (e.g., 公告、请示、批复、通知、通报、报告、函、纪要) and common formal administrative texts (简报、方案、讲话稿等).
- Final documents are always checked for typos, grammar, formatting errors, and compliance with formal standards before output.
元数据
常见问题
official-document-drafting 是什么?
起草、改写、润色、扩写、压缩、规范并导出中文公文与行政正式文本。Use when the user asks to write, revise, summarize, standardize, or convert 公文、决议、决定、命令、公告、公报、通告、意见、通知、通报、报告、请示、批复、议案、函、纪要,以及... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 131 次。
如何安装 official-document-drafting?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install official-document-drafting」即可一键安装,无需额外配置。
official-document-drafting 是免费的吗?
是的,official-document-drafting 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
official-document-drafting 支持哪些平台?
official-document-drafting 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 official-document-drafting?
由 YangZhaohui(@zhaohui-yang)开发并维护,当前版本 v1.0.0。
推荐 Skills