仓库创建 2025年10月22日最近提交 13 天前SkillHot 收录 20 天前
▸ 精选理由
覆盖常见 PDF 自动化与表单场景,便于大规模处理。
这个 Skill 做什么
提取、生成、合并、拆分与填写 PDF 文档的工具集。
一套处理 PDF 的工具:抽文本和表格、填表、合并/拆分、生成新文件并支持批量化处理。需要把扫描件、合同或大量表单自动化处理、解析或批量填写时就用。特点是既能识别表单域和结构化数据,又能程序化生成或拆分文件,方便把 PDF 流程接入自动化脚本或后台服务。
▸ 展开 SKILL.md 英文原文
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
1.4k
Stars
245
Forks
31
仓库内 Skill
+46
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Prat011/awesome-llm-skills/master/document-skills/pdf/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Prat011/awesome-llm-skills/master/document-skills/pdf/SKILL.md"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
```python
from pypdf import PdfReader, PdfWriter
# Read a PDF
reader = PdfReader("document.pdf")
print(f"Pages: {len(reader.pages)}")
# Extract text
text = ""
for page in reader.pages:
text += page.extract_text()
```
## Python Libraries
### pypdf - Basic Operations
#### Merge PDFs
```python
from pypdf import PdfWriter, PdfReader
writer = PdfWriter()
for pdf_file in ["via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有