AGENT SKILL

PDF 文件处理

pdf

读取、提取、创建、合并或填写 PDF 和 AcroForms(交互式表单)。用于 PDF 交付物与页面检查;如需可编辑的 Word 输出,请使用 documents 技能。

适用职业办公行政人员
使用场景文档处理
License 许可
MIT
最近更新
2026-11-12
Stars
★ 0
Forks
0

01 前言 Front Matter

name
pdf
description
Read, extract, create, combine, or fill PDFs and AcroForms. Use for PDF deliverables and page inspection; use documents for editable Word output.
compatibility
Amplifier with filesystem and process tools; pypdf and reportlab; Poppler for rendering; image-reading capability for visual QA.
user-invocable
true

03 SKILL.md 正文

PDF

Read ${SKILL_DIR}/../_shared/artifacts.md for setup and rendering.

Use pypdf for metadata, extraction, page operations, and forms; use ReportLab for new PDFs. Inspect page count, dimensions, text availability, encryption, annotations, and form fields before modifying an existing document. Scanned pages need an available OCR engine; lack of extracted text is not an empty page. Keep exact page references for extracted claims and do not invent missing text.

For a fillable form, inspect PdfReader.get_fields() and each widget's field type, export values, and flags. Map the user's answers to field identifiers; derive nothing sensitive or consequential merely to complete a form. Clone the document with PdfWriter, update fields using its documented API, and preserve interactive widgets unless flattening is requested. Check checkboxes using the actual export state. Signed or encrypted PDFs require a compatible authorized workflow; modifying a signed file may invalidate its signature.

Save to a separate file, reopen it, inspect field values and annotations, and render the completed pages. Confirm glyphs, form appearances, pagination, and content placement. Fix overflow and missing appearances before delivery. Report when a native viewer's form behavior or signature verification was not tested.

04 同仓库更多 Skills

microsoft
microsoft/amplifier-bundle-work

交互式 HTML 可视化构建

visualize

构建交互式 HTML 讲解、图表、模拟、对比和 UI 模型。当可视化有助于理解时使用;Office 交付物请使用 artifact 技能。

软件开发工程师前端开发与界面实现
★ 0
microsoft
microsoft/amplifier-bundle-work

Amplifier 工件模板技能创建

template-creator

从允许的参考文档、演示文稿、工作簿、图像或消息中创建或更新可复用的 Amplifier 工件模板技能。

AI 工程师插件与技能管理
★ 0
microsoft
microsoft/amplifier-bundle-work

电子表格创建与分析

spreadsheets

创建、编辑、分析 XLSX、CSV 和 TSV 文件并为其绘制图表。用于模型、跟踪表、预算以及绑定到 Google Sheets 的工作簿;如需操作已打开的 Excel 会话,请使用 excel-live-control。

数据分析师数据分析与报告
★ 0
microsoft
microsoft/amplifier-bundle-work

Amplifier技能发现与安装

skill-installer

从本地文件夹或 Git 仓库发现并安装兼容 Amplifier 的技能,安装到指定的项目、个人目录或技能包(bundle)中。

AI 工程师插件与技能管理
★ 0
microsoft
microsoft/amplifier-bundle-work

Amplifier技能创建与更新

skill-creator

创建或更新 Amplifier 技能,具备简洁的路由、可移植的资源以及真实的加载器(loader)校验。用于可复用工作流和技能编写。

AI 工程师插件与技能管理
★ 0
microsoft
microsoft/amplifier-bundle-work

演示文稿制作与编辑

presentations

创建或编辑可编辑的 PowerPoint PPTX 幻灯片和绑定 Google Slides 的演示文稿。用于制作演示文稿、幻灯片布局、演讲者备注以及基于模板的演示文稿。

办公行政人员演示文稿制作
★ 0