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
累計下載
1746
星標
-
全站排名
#4,609
全站前 91% · 「辦公效率」前 85%
平台累計安裝累計下載星標評論
ClawHub ↗431540--
SkillHub ↗2161746-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該工具可將 JSON 請求、報告、會議紀要、計劃、追蹤表或業務簡報轉換為 Office 文件。主文介紹標準生成模式和業務模板模式,並列出 Word、Excel 與 PowerPoint 的內建模板。首次使用前需要安裝所需依賴;生成後按文件流程返回檔案路徑。

資料釋出於 2026-10-27

可以用來做什麼

  • 將結構化內容生成 Office 文件
  • 使用會議紀要、專案計劃或簡報模板生成檔案

什麼時候用

  • 需要把報告、計劃或追蹤資料匯出為 Office 檔案時
  • 需要根據內建模板生成文件或簡報時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

根據這份結構化內容生成一份 Word 報告
用專案計劃模板把這些任務整理成 Excel 檔案

月度資料趨勢

累計下載1746
548119218352026-03 · 累計下載 6372026-05 · 累計下載 10312026-06 · 累計下載 11092026-07 · 累計下載 13632026-08 · 累計下載 14832026-09 · 累計下載 174626-0326-09
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-06 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-091746—-
2026-081483+8.8%-
2026-071363+22.9%-
2026-061109+7.6%-
2026-051031—-
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),按月更新。口徑說明見資料方法。