SKILL.md
PDF Processing Guide
Overview
This guide covers essential PDF processing operations using Python libraries and command-line tools. For advanced features, JavaScript libraries, and detailed examples, see reference.md. If you need to fill out a PDF form, read forms.md and follow its instructions.
Quick Start
交互式处理 (Interactive Processing)
在进行不可逆的合并/拆分操作或复杂的表单填充时,使用 mcp-feedback-enhanced (e.g., ask_followup_question) 确认操作范围或数据源。
from pypdf import PdfReader, PdfWriter
# Read a PDF
reader = PdfReader("document.pdf")
print(f"Pages: {len(reader.pages)}")