Skip to main content

pdf

Read, extract, create, combine, or fill PDFs and AcroForms. Use for PDF deliverables and page inspection; use documents for editable Word output.

来源信息

仓库
microsoft/amplifier-bundle-work
最近来源活动
2026年9月20日 22:41
检测到的 SKILL.md 语言
英语
星标
0
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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
# 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.
在 GitHub 查看