Document Pro
文档处理技能 - 让 AI 能够读取、解析、提取 PDF、DOCX、PPT 等文档的关键信息。当用户要求分析文档、提取内容、总结报告时触发此技能。
New
Join 0+ developers using this skill
skill
Documentation & Writing
beginner
文档处理技能 - 让 AI 能够读取、解析、提取 PDF、DOCX、PPT 等文档的关键信息。当用户要求分析文档、提取内容、总结报告时触发此技能。
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
赋予 AI 强大的文档处理能力:
| 格式 | 读取 | 写入 | 工具 |
|---|---|---|---|
| ✅ | ✅ | pdfplumber, PyPDF2 | |
| DOCX | ✅ | ✅ | python-docx |
| PPTX | ✅ | ❌ | python-pptx |
| XLSX | ✅ | ✅ | openpyxl |
| TXT | ✅ | ✅ | 内置 |
| Markdown | ✅ | ✅ | 内置 |
# 提取文本 import pdfplumberwith pdfplumber.open("document.pdf") as pdf: for page in pdf.pages: text = page.extract_text() print(text)
提取表格
with pdfplumber.open("document.pdf") as pdf: table = pdf.pages[0].extract_tables()
from docx import Documentdoc = Document("document.docx") for para in doc.paragraphs: print(para.text)
提取表格
for table in doc.tables: for row in table.rows: print([cell.text for cell in row.cells])
from pptx import Presentationprs = Presentation("presentation.pptx") for slide in prs.slides: for shape in slide.shapes: if shape.has_text_frame: print(shape.text)
1. 识别文档类型 → 选择正确的工具 2. 读取内容 → 提取文本、表格、图片 3. 分析信息 → 理解结构、提取要点 4. 总结呈现 → 用中文总结给用户
向用户呈现文档时:
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.