Individual skill
office-file-process
处理 Office 文档的一站式 skill:Word(.doc/.docx/.dotx)、Excel(.xls/.xlsx/.xlsm/.csv)、PowerPoint(.ppt/.pptx/.potx) 的创建、读取、编辑、提取、转换、校验。触发:『读取 word 文档』『提取 excel 内容』『看 ppt 讲了什么』、.doc 老格式打不开、生成/编辑 Word 报告/合同/模板、制作幻灯片/deck/演示文稿、写带公式的电子表格。读取优先 pandoc/markitdown 等官方工具,环境没有则走 Windows Office COM 自动化(含中文文件名、PowerShell 编码等 Windows 环境方案);创建/编辑用 docx-js、pptxgenjs、openpyxl 等。Use whenever any .docx/.xlsx/.pptx file is the primary input or output: create, read, edit, extract, convert, or validate it.
skills/office-file-process/SKILL.md
Source commit 9aa4e555950da6e43e7d98c5f0c7b70264204850
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 3,162
- Repository last updated
- Sep 13, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- skills Repository topic
- vibe-coding Repository topic
- operations Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
LICENSE.txtdoc · 1,467 bytesSKILL.mdcore · 11,321 bytesSKILL.mdcore · 11,321 bytesSKILL.mdcore · 11,321 bytesSKILL.mdcore · 11,321 bytesSKILL.mdcore · 11,321 bytesSKILL.mdcore · 11,321 bytesSKILL.mdcore · 11,321 bytesSKILL.mdcore · 11,321 bytesreference/docx.mddoc · 6,963 bytesreference/pptx.mddoc · 18,169 bytesreference/python-setup.mddoc · 5,579 bytesreference/xlsx.mddoc · 8,132 bytesscripts/accept_changes.pyruns · 4,051 bytesscripts/add_slide.pyruns · 14,537 bytesscripts/clean.pyruns · 10,415 bytesscripts/comment.pyruns · 14,054 bytesscripts/extract_office_text.ps1runs · 10,175 bytesscripts/merge_runs.pyruns · 9,398 bytesscripts/office/helpers/__init__.pyruns · 3,358 bytesscripts/office/helpers/pptx_chart.pyruns · 5,862 bytesscripts/office/helpers/pptx_slide.pyruns · 1,675 bytesscripts/office/helpers/pptx_theme.pyruns · 3,510 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsdasset · 74,984 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsdasset · 6,956 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsdasset · 51,302 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsdasset · 624 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsdasset · 152,039 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsdasset · 1,231 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsdasset · 8,862 bytesscripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsdasset · 14,795 bytesscripts/office/schemas/ISO-IEC29500-4_2016/pml.xsdasset · 83,612 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsdasset · 1,269 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsdasset · 7,328 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsdasset · 6,382 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsdasset · 1,248 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsdasset · 880 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsdasset · 2,608 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsdasset · 3,507 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsdasset · 7,507 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsdasset · 23,313 bytesscripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsdasset · 1,367 bytesscripts/office/schemas/ISO-IEC29500-4_2016/sml.xsdasset · 242,277 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsdasset · 26,148 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsdasset · 25,279 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsdasset · 535 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsdasset · 5,712 bytesscripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsdasset · 4,010 bytesscripts/office/schemas/ISO-IEC29500-4_2016/wml.xsdasset · 171,367 bytesscripts/office/schemas/ISO-IEC29500-4_2016/xml.xsdasset · 4,646 bytesscripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsdasset · 1,963 bytesscripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsdasset · 2,515 bytesscripts/office/schemas/ecma/fouth-edition/opc-digSig.xsdasset · 2,856 bytesscripts/office/schemas/ecma/fouth-edition/opc-relationships.xsdasset · 1,344 bytesscripts/office/schemas/mce/mc.xsdasset · 3,127 bytesscripts/office/schemas/microsoft/wml-2010.xsdasset · 26,549 bytesscripts/office/schemas/microsoft/wml-2012.xsdasset · 3,745 bytesscripts/office/schemas/microsoft/wml-2018.xsdasset · 901 bytesscripts/office/schemas/microsoft/wml-cex-2018.xsdasset · 1,778 bytesscripts/office/schemas/microsoft/wml-cid-2016.xsdasset · 1,002 bytesscripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsdasset · 600 bytesscripts/office/schemas/microsoft/wml-symex-2015.xsdasset · 745 bytesscripts/office/soffice.pyruns · 5,927 bytesscripts/office/validate.pyruns · 6,142 bytesscripts/office/validators/__init__.pyruns · 336 bytesscripts/office/validators/base.pyruns · 33,756 bytesscripts/office/validators/docx.pyruns · 17,482 bytesscripts/office/validators/pptx.pyruns · 15,966 bytesscripts/office/validators/redlining.pyruns · 11,231 bytesscripts/recalc.pyruns · 10,670 bytesscripts/templates/comments.xmlasset · 2,603 bytesscripts/templates/commentsExtended.xmlasset · 2,611 bytesscripts/templates/commentsExtensible.xmlasset · 2,707 bytesscripts/templates/commentsIds.xmlasset · 2,619 bytesscripts/templates/people.xmlasset · 115 bytesscripts/thumbnail.pyruns · 9,802 bytes
Read excerpt
# Office 文档处理(统一入口)
处理 Word / Excel / PowerPoint 文件的统一 skill。面向 **Windows + Office** 环境(COM 自动化是它独有的兜底能力),不预设任何机器装了哪些工具——**动手前先探测环境**,再按本文规则决策。非 Windows 或无 Office 的机器见文末降级方案。**先按任务路由**,细节在对应参考文档里。
## 任务路由
| 任务 | 路线 | 详情 |
|---|---|---|
| **读取/提取**任何 Office 文档内容 | 按下方"读取路线怎么选"决策 | 本页 |
| **创建/编辑** Word 文档 | docx-js(新建)/ unzip+XML(编辑) | [reference/docx.md](reference/docx.md) |
| **创建/编辑** PowerPoint | pptxgenjs(新建)/ unzip+XML(编辑) | [reference/pptx.md](reference/pptx.md) |
| **创建/编辑** Excel | openpyxl / pandas | [reference/xlsx.md](reference/xlsx.md) |
| **校验** docx/pptx/xlsx 输出 | `scripts/office/validate.py` | 各格式参考文档的 QA 节 |