跳转到内容

文档处理类 Skills

import BilingualLayout from ’../../../components/BilingualLayout.astro’; import BilingualBlock from ’../../../components/BilingualBlock.astro’;

文档处理类 Skills 展示了如何利用 Claude 处理四大办公文档格式——PDF、Word、PowerPoint 和 Excel。这四个 skill 共享同一个 `scripts/office/` Python 核心包,采用"拆包-编辑-验证-打包"的流水线模式处理 Office 文件,同时为 PDF 提供了独立的脚本工具箱。文档处理能力是所有办公自动化场景的基础,这 4 个 skill 覆盖了从简单读取到复杂格式编辑的完整工作流。 Document Processing Skills demonstrate how to leverage Claude across the four major office document formats — PDF, Word, PowerPoint, and Excel. These four skills share the same `scripts/office/` Python core package, employing an "unpack-edit-validate-pack" pipeline pattern for Office files, while providing an independent script toolkit for PDF. Document processing capability is the foundation of all office automation scenarios — these 4 skills cover the complete workflow from simple reading to complex format editing. PDF 文件处理的瑞士军刀。8 个独立 Python 脚本覆盖读取、提取、合并、拆分、旋转、水印、表单填充和 OCR。表单处理子系统(5 个脚本)构成从分析到验证的完整流水线。基于 pypdf + pdfplumber + reportlab 的三重库策略。 A Swiss Army knife for PDF processing. 8 independent Python scripts covering reading, extraction, merging, splitting, rotation, watermarking, form filling, and OCR. The form processing subsystem (5 scripts) forms a complete pipeline from analysis to validation. Triple library strategy: pypdf + pdfplumber + reportlab. Word 文档处理的完整解决方案。通过 docx-js 创建新文档,通过"拆包-编辑XML-打包"流水线修改现有文档,完整支持修订追踪、评论(含回复链)和格式化。15 个 Python 脚本和 XML 模板覆盖完整处理流程。共享 `scripts/office/` 核心包。 A complete Word document processing solution. Creates documents via docx-js, edits existing documents through the "unpack-edit XML-pack" pipeline, with full support for tracked changes, comments (with reply chains), and formatting. 15 Python scripts and XML templates covering the complete workflow. Shares the `scripts/office/` core package. PowerPoint 演示文稿处理的完整方案。"双路径"设计——PptxGenJS 创建新演示文稿,XML 编辑修改现有文件。包含缩略图预览、幻灯片添加、清理工具和丰富的设计指南。严格的 QA 流程(转换-检查-修复-复查)。共享 `scripts/office/` 核心包。 A complete PowerPoint presentation processing solution. "Dual Path" design — PptxGenJS for creation, XML editing for modification. Includes thumbnail preview, slide addition, cleaning tools, and rich design guidelines. Strict QA workflow (convert-inspect-fix-reverify). Shares the `scripts/office/` core package. Excel 电子表单处理的专家系统。核心价值在 SKILL.md 中编码的行业标准格式化规则(财务模型配色、数字格式)和零公式错误保证。公式重算引擎 recalc.py 通过 LibreOffice 宏执行双层验证。共享 `scripts/office/` 核心包。 An expert system for Excel spreadsheet processing. Core value lies in industry-standard formatting rules (financial model color coding, number formats) and zero-formula-error guarantee encoded in SKILL.md. The recalc.py formula recalculation engine performs two-layer validation via LibreOffice macros. Shares the `scripts/office/` core package.