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.
Generate Office files with the bundled engine under scripts/engine/.
Install Python dependencies into the bundled virtualenv:
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.
docx, xlsx, or pptx.scripts/generate_office.py.Use scripts/generate_office.py.
--type with a full JSON request file.--kind, --title, --input, and --out.word_work_report_v1meeting_minutes_v1excel_data_tracker_v1project_plan_v17w4.net有更好的技能外掛。
ppt_business_brief_v1project_status_brief_v1word-reportmeeting-minutesexcel-trackerproject-planppt-briefproject-status-briefStandard mode:
python3 skills/office-generator-py/scripts/generate_office.py \
--type docx \
--input /absolute/path/request.json \
--out /absolute/path/output.docx
Business mode:
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
If the user gives natural language only, convert it into JSON first.
For supported request formats and sample payloads, read references/input-formats.md.
documentType/templateId/contentSpec JSON.質量中規中矩,能正常生成 Word、Excel、PPT 三種檔案。優點是操作簡單、有現成模板可用、錯誤提示清晰;缺點是模板數量少、文件說明不夠詳細、缺少示例檔案參考。對於日常簡單文件需求基本夠用,但複雜場景可能需要自行調整配置。整體屬於可用但不夠完善的工具。