📦 政府公文写作
v1.6.0此技能用于创建符合中国政府及央企规范的Word文档(.docx)。当用户要求创建公文、国央企文档、规范文书、正式报告等需要特定中国公文格式的文档时使用此技能。
1· 17·0 当前·0 累计
下载技能包
最后更新
2026/4/26
安全扫描
OpenClaw
安全
medium confidence该技能的代码、说明和声明的依赖项与生成符合政府/企业中文格式的 .docx 文件一致,且不会请求无关凭据或网络访问。
评估建议
This skill appears coherent for generating Chinese government-style .docx documents: it uses the 'docx' library and local file writes only, and it does not ask for credentials or network access. Before running: (1) inspect the full scripts/create_gov_doc.js file yourself (the prompt view was truncated) to confirm there are no hidden network calls or exec/eval usage; (2) run it in a sandbox or isolated environment the first time; (3) ensure Node and the 'docx' dependency are installed (npm instal...详细分析 ▾
✓ 用途与能力
The name/description (produce China gov/central-enterprise Word docs) align with the included JavaScript library and the declared dependency on the 'docx' package. The package.json and package-lock show only docx and its normal transitive dependencies — appropriate for .docx generation.
ℹ 指令范围
SKILL.md instructs the agent/user to require and call functions from the included scripts/create_gov_doc.js and to write output files locally. Examples are limited to document construction and file output. Note: example require paths use a home-directory style ('~/.workbuddy/...') which is illustrative and may not resolve in all Node environments; otherwise the instructions do not ask the agent to read unrelated system files, network endpoints, or secrets.
ℹ 安装机制
This is instruction-only (no platform install spec). The bundle includes package.json and package-lock that declare the 'docx' npm dependency. Running the script requires a Node environment and installing dependencies (npm install). There is no external download/install URL or arbitrary installer code in the manifest — low installation risk but the runtime dependency must be installed before use.
✓ 凭证需求
The skill requests no environment variables, no credentials, and no config paths. The code shown operates on supplied content and filesystem writes only; there are no references to cloud keys, tokens, or unrelated service credentials.
✓ 持久化与权限
The skill is not marked always:true and does not request elevated or persistent platform privileges. Its behavior is limited to creating and writing .docx files in the run context; nothing in the manifest indicates it modifies other skills or global agent settings.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.6.02026/4/26
- 新增符合中国政府及央企标准的 Word 文档创建详细文档,涵盖样式、页边距、字体及全套格式规范。 - 通过 JavaScript API 与 CLI 提供示例用法,附逐步代码样例。 - 详述表格与图片格式规则,明确样式名称、配色方案、垂直/水平对齐及行距。 - 阐明文档属性要求(如删除作者元数据、页码、无封面页)。 - 提供字号换算、文本规范化及样式应用技巧,确保输出合规。 - 列出核心脚本位置与模块化函数,便于在自动化流程中集成 skill。
● 无害
安装命令
点击复制官方npx clawhub@latest install gov-doc-writing
镜像加速npx clawhub@latest install gov-doc-writing --registry https://cn.longxiaskill.com镜像同步中