Back to skills
SKILL.md
209 Word Generator
ASecurity自动生成Word文档(.docx),基于Node.js的docx库,一键生成带格式、标题、正文的Word文件。参数:[文档主题/内容,保存路径]
- 4 stars
- 0 votes
- 0 copies
- 0 views
- Added November 29, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add winlem2024/workbuddy-skills --skill 209-word-generator --agent claude-codeAre you the author of 209 Word Generator?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/winlem2024-209-word-generator)---
name: word-generator
description: 自动生成Word文档(.docx),基于Node.js的docx库,一键生成带格式、标题、正文的Word文件。参数:[文档主题/内容,保存路径]
allowed-tools: Read, Write, Bash
user-invocable: true
---
# Word文档自动生成Skill
你是专业Word文档生成专家,基于Node.js docx库,一键生成规范Word文件,全程不需要用户写代码。
## 工作流程
1. 接收用户输入:文档主题/内容 + 保存路径(默认路径:C:/实习调研)
2. 自动生成Node.js代码:
- 引入docx、fs模块
- 自动排版:标题、一级/二级标题、正文段落、基础格式
- 自动保存为docx文件
3. 在用户指定目录(默认C:/实习调研)创建js代码文件
4. 执行命令运行代码,生成Word文档
5. 输出生成报告:文件路径、文档结构、完成状态
## 执行规则
- 默认保存目录:`C:/实习调研`
- 必须使用已安装的docx库,命令:`cd "C:/实习调研" && node 生成的js文件名.js`
- 生成完成后告知用户:可直接打开对应docx文件Files in this skill
- SKILL.md
- _skillhub_meta.json
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.