国央企word文档
此技能用于创建符合中国政府及央企规范的Word文档(.docx)。当用户要求创建公文、国央企文档、规范文书、正式报告等需要特定中国公文格式的文档时使用此技能。公文字体(方正仿宋简体)可以自行下载。 Skill: 国央企word文档 Owner: a-lhliang Summary: 此技能用于创建符合中国政府及央企规范的Word文档(.docx)。当用户要求创建公文、国央企文档、规范文书、正式报告等需要特定中国公文格式的文档时使用此技能。公文字体(方正仿宋简体)可以自行下载。 Tags: latest:1.12.4 Version history: v1.12.4 | 2026-08-10T09:36:28.444Z | user - 修订了落款间隔3行。 v1.12.2 | 2026-07-28T09:44:18.167Z | user 1、新增附件列表(正文空一行)及附件分页; 2、新增首页标题下空一行; 3、优化了文档结构。 v1.10.0 | 2026-06-04T06:14:10.507Z | user “落款-部门”“落款-日期”两类落款样式,及右下对齐规范。 v1.7.1 | 2026-05-26T01:51
Rank
62
Safety
84
Downloads
1.6k
Updated
Oct 10, 2026
Version
1.12.4
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 10, 2026
- Adoption signal
- 1.6K downloadsadoption · observed Oct 10, 2026
- Latest release
- 1.12.4release · observed Aug 10, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s176g3m7mbt4d359wwkdaq0g1585j937:gov-doc-writing- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-a-lhliang-gov-doc-writing/snapshot"
Documentation
CLAWHUB
135,629 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: "国央企word文档"
description: "此技能用于创建符合中国政府及央企规范的Word文档(.docx)。当用户要求创建公文、国央企文档、规范文书、正式报告等需要特定中国公文格式的文档时使用此技能。"
author: "刘洪亮"
version: "1.12.4"
---
# 国央企Work文档创建技能
本技能用于创建符合中国政府及央企规范的Word文档(.docx),使用Microsoft Word最新格式。
## 文档格式规范
### 页面设置
| 属性 | 值 |
|------|-----|
| 纸张 | A4 |
| 上边距 | 3.7厘米 |
| 下边距 | 3.5厘米 |
| 左边距 | 2.8厘米 |
| 右边距 | 2.6厘米 |
| 页码 | 居中显示,宋体四号 |
### 字体规范
| 样式 | 中文字体 | 西文字体 | 字号 |
|------|----------|----------|------|
| 首页大标题 | 方正小标宋简体 (FZXiaoBiaoSong-B05S) | Times New Roman | 小二号 (18pt) |
| 正文 | 方正仿宋简体 (FZFangSong-Z02S) | Times New Roman | 小三号 (15pt) |
| 正文无缩进 | 方正仿宋简体 (FZFangSong-Z02S) | Times New Roman | 小三号 (15pt) |
| 一级标题 | 黑体 | Times New Roman | 小三号 (15pt) |
| 二级标题 | 楷体 | Times New Roman | 小三号 (15pt) |
| 三级标题 | 方正仿宋简体 (FZFangSong-Z02S) | Times New Roman | 小三号 (15pt) 加粗 |
| 落款-部门 | 方正仿宋简体 (FZFangSong-Z02S) | Times New Roman | 小三号 (15pt) |
| 落款-日期 | 方正仿宋简体 (FZFangSong-Z02S) | Times New Roman | 小三号 (15pt) |
| 页码 | 宋体 | - | 四号 (14pt) |
| 表格 | 方正仿宋简体 (FZFangSong-Z02S) | Times New Roman | 小五号 (9pt) |
### 行间距
| 样式 | 行间距 |
|------|--------|
| 首页大标题 | 固定28磅 |
| 正文 | 固定28磅 |
| 正文无缩进 | 固定28磅 |
| 一级标题 | 固定28磅 |
| 二级标题 | 固定28磅 |
| 三级标题 | 固定28磅 |
| 落款-部门 | 固定28磅 |
| 落款-日期 | 固定28磅 |
| 图片 | 单倍行距 |
| 表格 | 单倍行距 |
### 段落格式
| 样式 | 序号格式 | 首行缩进 | 大纲级别 |
|------|----------|----------|----------|
| 正文有缩进 | 无 | 2字符 | - |
| 正文无缩进 | 无 | 0 | 1级 |
| 一级的标题 | 一、二、三、 | 2字符 | 1级 |
| 二级的标题 | (一)(二)(三) | 2字符 | 2级 |
| 三级的标题 | 1.2.3. | 2字符 | 3级 |
| 落款-部门 | 无 | 无 | - |
| 落款-日期 | 无 | 无 | - |
## 样式名称
创建文档时,必须使用以下样式名称:
- `首页大标题` - 首页大标题
- `正文有缩进` - 正文段落
- `正文无缩进` - 无缩进正文段落(大纲级别一级,用于附件分页标题等需要出现在导航窗格的段落)
- `一级的标题` - 一级标题
- `二级的标题` - 二级标题
- `三级的标题` - 三级标题
- `图片样式` - 图片
- `表格样式` - 表格
- `落款-部门` - 部门落款(右下对齐)
- `落款-日期` - 日期落款(右下对齐,自动与部门左对齐)
- `页码样式` - 页脚页码
## 使用方法
### 方式一:使用JavaScript脚本创建文档
```javascript
const {
createDocument,
createTitleParagraph,
createBodyParagraph,
createLevel1Heading,
createLevel2Heading,
createLevel3Heading,
createTable,
createImageParagraph,
createAttachmentBlock,
CHINESE_FONTS,
FONT_SIZES,
CONTENT_WIDTH,
Packer,
BorderStyle,
WidthType,
ShadingType,
VerticalAlign,
Paragraph,
TextRun,
Table,
TableRow,
TableCell,
Footer,
ImageRun,
} = require('/Users/lhliang/.workbuddy/skills/workbuddy-skill-1777171174172/scripts/create_gov_doc.js');
// 创建文档
const doc = createDocument({
title: '文档标题',
sections: [
// 首页大标题
createTitleParagraph('这是文档标题'),
// 一级标题
createLevel1Heading('第一章', 0), // 输出: 一、第一章
createLevel1Heading('第二章', 1), // 输出: 二、第二章
// 二级标题
createLevel2Heading('第一节', 0), // 输出: (一)第一节
createLevel2Heading('第二节', 1), // 输出: (二)第二节
// 三级标题
createLevel3Heading('第一点', 0), // 输出: 1.第一点
createLevel3Heading('第二点', 1), // 输出: 2.第二点
// 正文
createBodyParagraph('这是正文内容,首行自动缩进2字符。'),
// 表格
createTable(
[
{ children: ['表头1', '表头2', '表头3'] },
{ children: ['内容1', '内容2', '内容3'] },
],
{ columnWidthsnode_modules/@types/node/README.md
# Installation > `npm install --save @types/node` # Summary This package contains type definitions for node (https://nodejs.org/). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node. ### Additional Details * Last updated: Fri, 03 Apr 2026 11:14:41 GMT * Dependencies: [undici-types](https://npmjs.com/package/undici-types) # Credits These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [David Junger](https://github.com/touffy), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Sebastian Silbermann](https://github.com/eps1lon), [Wilco Bakker](https://github.com/WilcoBakker), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), [Dmitry Semigradsky](https://github.com/Semigradsky), [René](https://github.com/Renegade334), and [Yagiz Nizipli](https://github.com/anonrig).
node_modules/core-util-is/README.md
# core-util-is The `util.is*` functions introduced in Node v0.12.
node_modules/docx/README.md
<p align="center">
<img src="./logo/logo-animate.svg" width="100%" height="300" alt="clippy the assistant">
</p>
<p align="center">
Easily generate and modify .docx files with JS/TS. Works for Node and on the Browser.
</p>
---
[![NPM version][npm-image]][npm-url]
[![Downloads per month][downloads-image]][downloads-url]
[![GitHub Action Workflow Status][github-actions-workflow-image]][github-actions-workflow-url]
[![Known Vulnerabilities][snky-image]][snky-url]
[![PRs Welcome][pr-image]][pr-url]
[![codecov][codecov-image]][codecov-url]
[![Docx.js Editor][docxjs-editor-image]][docxjs-editor-url]
<p align="center">
<img src="https://i.imgur.com/QeL1HuU.png" alt="drawing"/>
</p>
# Demo
## Browser
Here are examples of `docx` being used with basic `HTML/JS` in a browser environment:
- https://codepen.io/dolanmiu/pen/RwNeObg
- https://jsfiddle.net/dolanmiu/onadx1gu/
Here are examples of `docx` working in `Angular`:
- https://stackblitz.com/edit/angular-docx
- https://stackblitz.com/edit/angular-wmd6k3
Here are examples of `docx` working in `React`:
- https://stackblitz.com/edit/react-docx
- https://stackblitz.com/edit/react-docx-images (adding images to Word Document)
Here is an example of `docx` working in `Vue.js`:
- https://stackblitz.com/edit/vuejs-docx
## Node
Press `endpoint` on the `RunKit` website:

- https://runkit.com/dolanmiu/docx-demo1 - Simple paragraph and text
- https://runkit.com/dolanmiu/docx-demo2 - Advanced Paragraphs and text
- https://runkit.com/dolanmiu/docx-demo3 - Bullet points
- https://runkit.com/dolanmiu/docx-demo4 - Simple table
- https://runkit.com/dolanmiu/docx-demo5 - Images
- https://runkit.com/dolanmiu/docx-demo6 - Margins
- https://runkit.com/dolanmiu/docx-demo7 - Landscape
- https://runkit.com/dolanmiu/docx-demo8 - Header and Footer
- https://runkit.com/dolanmiu/docx-demo10 - **My CV generated with docx**
More [here](https://github.com/dolanmiu/docx/tree/master/demo)
# How to use & Documentation
Please refer to the [documentation at https://docx.js.org/](https://docx.js.org/) for details on how to use this library, examples and much more!
# Playground
Experience `docx` in action through [Docx.js Editor][docxjs-editor-url], an interactive playground where you can code and preview the results in real-time.
# Examples
Check the [demo folder](https://github.com/dolanmiu/docx/tree/master/demo) for examples.
# Contributing
Read the contribution guidelines [here](https://docx.js.org/#/contribution-guidelines).
# Used by
[<img src="https://i.imgur.com/zy5qWmI.png" alt="drawing" height="50"/>](https://hfour.com/)
[<img src="https://i.imgur.com/OYP5tgS.png" alt="drawing" height="50"/>](https://fuzzproductions.com/)
[<img src="https://i.imgur.com/zUDMfZ3.png" alt="drawing" height="50"/>](https://www.mettzer.com/)
[<img src="https://i.imgnode_modules/hash.js/README.md
# hash.js [](http://travis-ci.org/indutny/hash.js)
Just a bike-shed.
## Install
```sh
npm install hash.js
```
## Usage
```js
var hash = require('hash.js')
hash.sha256().update('abc').digest('hex')
```
## Selective hash usage
```js
var sha512 = require('hash.js/lib/hash/sha/512');
sha512().update('abc').digest('hex');
```
#### LICENSE
This software is licensed under the MIT License.
Copyright Fedor Indutny, 2014.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the
following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/a-lhliang/skills/gov-doc-writing",
"sourceUrl": "https://clawhub.ai/a-lhliang/skills/gov-doc-writing",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T06:22:50.394Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-a-lhliang-gov-doc-writing/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-a-lhliang-gov-doc-writing/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T06:22:50.394Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.6K downloads",
"href": "https://clawhub.ai/a-lhliang/gov-doc-writing",
"sourceUrl": "https://clawhub.ai/a-lhliang/gov-doc-writing",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T06:22:50.394Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.12.4",
"href": "https://clawhub.ai/a-lhliang/gov-doc-writing",
"sourceUrl": "https://clawhub.ai/a-lhliang/gov-doc-writing",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-10T09:36:28.444Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-a-lhliang-gov-doc-writing/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-a-lhliang-gov-doc-writing/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.12.4",
"description": "- 修订了落款间隔3行。",
"href": "https://clawhub.ai/a-lhliang/gov-doc-writing",
"sourceUrl": "https://clawhub.ai/a-lhliang/gov-doc-writing",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-10T09:36:28.444Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
