📄

Office Open XML Automation Helper

👤 kyro-ma 📦 v0.1.0 ⭐ 4.1 ⬇️ 453 下載
📄 辦公效率 免費

📖 技能介紹


name: excel-xlsx-formula-cleanup-helper-2 description: Build and troubleshoot cross-Office automation pipelines that move content between Word, Excel, and PowerPoint using Open XML, VBA, python-docx, openpyxl, python-pptx, templates, and batch conversion. Use when Codex needs to coordinate DOCX, XLSX, and PPTX workflows while preserving Office file relationships and formatting.


Office Open XML Automation Helper

Use this skill when the task crosses Office file types: extract Word tables into Excel, turn Excel results into PowerPoint slides, populate Word reports from spreadsheets, batch-convert Office files, or coordinate DOCX/XLSX/PPTX templates.

Workflow

  1. Define the pipeline: source files, destination files, templates, generated artifacts, batch size, and success criteria.

    想要更強大的技能外掛,就來小蔥技能站7w4.net看看吧。

  2. Classify each operation:
  3. DOCX text, tables, styles, comments, headers, content controls.
  4. XLSX worksheets, tables, formulas, named ranges, charts, pivots, macros.
  5. PPTX slide masters, layouts, placeholders, charts, media, speaker notes.
  6. Preserve source packages. Work on copies and keep an audit trail of inputs, outputs, and record IDs.
  7. Choose the safest layer for each step:
  8. python-docx for supported Word document content.
  9. openpyxl for supported Excel workbook structure.
  10. python-pptx for supported slide content and basic charts.
  11. Direct Open XML edits for relationships, unsupported features, and preserving package parts.
  12. VBA or Office desktop automation only when live Office behavior is required, such as field updates, Power Query refresh, PDF export, or chart rendering fidelity.
  13. Keep data transformations separate from document rendering. Normalize data first, then populate templates.
  14. Validate each artifact independently, then validate the whole chain.

Design Rules

  • Do not use plain string replacement inside zipped Office XML unless escaping, run boundaries, relationships, and namespaces are understood.
  • Preserve relationship IDs and content types when copying media, charts, embedded workbooks, or custom XML parts.
  • Avoid saving .xlsm or macro-enabled packages through a library path that strips macros.
  • Prefer named ranges, content controls, placeholders, and template fields over positional guesses.
  • Log generated filenames, input records, warnings, skipped records, and validation totals.

Validation

Check:

  • DOCX page structure, styles, headers/footers, tables, fields, comments, and tracked changes.
  • XLSX formulas, named ranges, tables, charts, macros, hidden sheets, and recalculation requirements.
  • PPTX slide count, layout assignment, placeholders, charts, media, theme fonts/colors, and notes.
  • Batch totals and file-open sanity for every generated output.

Output

Provide a pipeline design, implementation steps or scripts, validation checklist, and any Office desktop steps that cannot be performed locally.

Read references/requirement-plan.md only when the original discovery evidence is needed.

🤖 AI 評測

這個 Skill 的框架搭建得不錯,文件結構清晰,許可證開放,適合開發者參考 Office 自動化的工作思路。但作為工具類 Skill,它目前缺少可直接使用的示例程式碼或指令碼,內容偏理論性,實用性有待提升。版本號 0.1.0 也表明這是一個較新的作品,仍在完善中。

📊 多維度評分

適應性4.2
規範性4
有效性4.3
可靠性4.1
可信度4.3

📁 包含檔案 (5 個)

📄 SKILL.md 2.9 KB
📄 _meta.json 161 B
📄 agents/openai.yaml 323 B
📄 references/requirement-plan.md 1.1 KB
📄 skill-card.md 2 KB