Lu Yanqiang

Office Generator Py

办公效率v1.0.0
作者:Lu Yanqiang更新于 2026-05-11office-generator-py@clawhub_lujohn74/office-generator-py
文档处理表格处理PPT 生成#Business#Json#Meeting

据 AlphaMoat 统计,截至 2026-09,Office Generator Py 累计下载 1,746 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 4,609 位,在「办公效率」分类(435 个)中排名第 368 位。

累计安装
216
累计下载
1,746
星标
-
全站排名
#4,609
全站前 91% · 「办公效率」前 85%
平台累计安装累计下载星标评论
ClawHub ↗431,540--
SkillHub ↗2161,746-—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

该工具可将 JSON 请求、报告、会议纪要、计划、追踪表或业务简报转换为 Office 文档。主文介绍标准生成模式和业务模板模式,并列出 Word、Excel 与 PowerPoint 的内置模板。首次使用前需要安装所需依赖;生成后按文档流程返回文件路径。

资料发布于 2026-10-27

可以用来做什么

  • 将结构化内容生成 Office 文档
  • 使用会议纪要、项目计划或简报模板生成文件

什么时候用

  • 需要把报告、计划或追踪数据导出为 Office 文件时
  • 需要根据内置模板生成文档或演示文稿时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

根据这份结构化内容生成一份 Word 报告
用项目计划模板把这些任务整理成 Excel 文件

月度数据趋势

累计下载1,746
5481,1921,8352026-03 · 累计下载 6372026-05 · 累计下载 1,0312026-06 · 累计下载 1,1092026-07 · 累计下载 1,3632026-08 · 累计下载 1,4832026-09 · 累计下载 1,74626-0326-09
星标-
0112026-03 · 星标 -2026-05 · 星标 -2026-06 · 星标 -2026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -26-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-091,746—-
2026-081,483+8.8%-
2026-071,363+22.9%-
2026-061,109+7.6%-
2026-051,031—-
2026-03637—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.4 KB · ClawHub v1.0.0
---
name: office-generator-py
description: Generate Office files with a bundled Python engine. Use when creating or exporting Word (.docx), Excel (.xlsx), or PowerPoint (.pptx) files from structured JSON, reports, meeting minutes, project plans, trackers, business briefs, or natural-language requirements that must be turned into Office documents.
---

# Office Generator Py

Generate Office files with the bundled engine under `scripts/engine/`.

## First run
展开全部(共 96 行)

Install Python dependencies into the bundled virtualenv:

```bash
python3 skills/office-generator-py/scripts/setup_engine.py
```

If you manage the environment yourself, you can point the wrapper at another Python binary with `OFFICE_GENERATOR_PYTHON=/path/to/python`.

## Quick workflow

1. Decide the output type: `docx`, `xlsx`, or `pptx`.
2. Prefer a built-in business template when it fits.
3. Write a UTF-8 JSON request file.
4. Run `scripts/generate_office.py`.
5. Return the produced file path.

## Entrypoints

Use `scripts/generate_office.py`.

- Standard mode: pass `--type` with a full JSON request file.
- Business mode: pass `--kind`, `--title`, `--input`, and `--out`.

## Built-in templates

### Word
- `word_work_report_v1`
- `meeting_minutes_v1`

### Excel
- `excel_data_tracker_v1`
- `project_plan_v1`

### PPT
- `ppt_business_brief_v1`
- `project_status_brief_v1`

## Built-in business kinds

- `word-report`
- `meeting-minutes`
- `excel-tracker`
- `project-plan`
- `ppt-brief`
- `project-status-brief`

## Commands

Standard mode:

```bash
python3 skills/office-generator-py/scripts/generate_office.py \
  --type docx \
  --input /absolute/path/request.json \
  --out /absolute/path/output.docx
```

Business mode:

```bash
python3 skills/office-generator-py/scripts/generate_office.py \
  --kind meeting-minutes \
  --title "Office 评审会纪要" \
  --purpose "内部存档" \
  --input /absolute/path/content.json \
  --out /absolute/path/meeting_minutes.docx
```

## Request shaping

If the user gives natural language only, convert it into JSON first.

For supported request formats and sample payloads, read `references/input-formats.md`.

## Output contract

- Success: stdout prints the generated file path.
- Failure: stderr prints the error; command exits non-zero.

## Notes

- Keep output paths absolute when possible.
- Prefer business mode for common document types.
- Use standard mode when the caller already has full `documentType/templateId/contentSpec` JSON.

「办公效率」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。