8220210a

Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages (Poppler). Recommend using Python tools such as reportlab, pdfplumber, and pypdf for generation and extraction.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "8220210a" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a4023d4e7792fd54c52966be41ef455d17e76210f3510852ea6a683d71d020ae. Verify the upstream source and version against https://skillhub.cn/skills/user_014b5510/8220210a before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages (Poppler). Recommend using Python tools such as reportlab, pdfplumber, and pypdf for generation and extraction.

0 Downloads

Introduction source: third_party · user_014b5510 · 1.0.0 Reference

SkillPi interpretation

Tasks
Python packages: If `uv` is unavailable: System tools (for rendering): ``` macOS (Homebrew) brew install poppler
Audience
Read or review PDF content where layout and visuals matter. Create PDFs programmatically with reliable formatting. Validate final rendering before delivery.
Inputs and outputs
Use `tmp/pdfs/` for intermediate files; delete when done. Write final artifacts under `output/pdf/` when working in this repo. Keep filenames stable and descriptive.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "pdf"
description: "Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages (Poppler) and use Python tools such as `reportlab`, `pdfplumber`, and `pypdf` for generation and extraction."

PDF Skill

When to use

  • Read or review PDF content where layout and visuals matter.
  • Create PDFs programmatically with reliable formatting.
  • Validate final rendering before delivery.

Workflow

  1. Prefer visual review: render PDF pages to PNGs and inspect them.
    • Use pdftoppm if available.
    • If unavailable, install Poppler or ask the user to review the output locally.
  2. Use reportlab to generate PDFs when creating new documents.
  3. Use pdfplumber (or pypdf) for text extraction and quick checks; do not rely on it for layout fidelity.
  4. After each meaningful update, re-render pages and verify alignment, spacing, and legibility.

Temp and output conventions

  • Use tmp/pdfs/ for intermediate files; delete when done.
  • Write final artifacts under output/pdf/ when working in this repo.
  • Keep filenames stable and descriptive.

Dependencies (install if missing)

Prefer uv for dependency management.

Python packages:

uv pip install reportlab pdfplumber pypdf

If uv is unavailable:

python3 -m pip install reportlab pdfplumber pypdf

System tools (for rendering):

# macOS (Homebrew)
brew install poppler

# Ubuntu/Debian
sudo apt-get install -y poppler-utils

If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.

Environment

No required environment variables.

Rendering command

pdftoppm -png $INPUT_PDF $OUTPUT_PREFIX

Quality expectations

  • Maintain polished visual design: consistent typography, spacing, margins, and section hierarchy.
  • Avoid rendering issues: clipped text, overlapping elements, broken tables, black squares, or unreadable glyphs.
  • Charts, tables, and images must be sharp, aligned, and clearly labeled.
  • Use ASCII hyphens only. Avoid U+2011 (non-breaking hyphen) and other Unicode dashes.
  • Citations and references must be human-readable; never leave tool tokens or placeholder strings.

Final checks

  • Do not deliver until the latest PNG inspection shows zero visual or formatting defects.
  • Confirm headers/footers, page numbering, and section transitions look polished.
  • Keep intermediate files organized or remove them after final approval.

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 聚焦 PDF 文件的读取、创建与审查,强调渲染与布局保真,适用于文档生成、报告输出等高频刚需场景
  • 提供完整的工具链推荐与质量检查标准,显著提升用户在处理 PDF 时的效率与输出质量
Trigger Precision95/100

Highlights

  • description 明确指出适用场景(涉及 PDF 文件且渲染与布局重要),触发边界清晰
  • 推荐具体工具链(Poppler、reportlab、pdfplumber、pypdf),便于用户快速识别与调用
Structure and Standards98/100

Areas to improve

  • description写错位置 Reported severity: Minor

    顶层 frontmatter 中 description 字段为空,实际描述内容位于 skill_body 内部

    Recommendation: 将 description 内容移至顶层 frontmatter 的 description 字段,保持规范一致性

  • 缺少端到端完整示例 Reported severity: Minor

    文档提供了详细的工作流和质量标准,但缺少一个完整的端到端调用示例(如从生成 PDF 到渲染检查的全流程代码片段)

    Recommendation: 补充一个完整的端到端示例,展示如何结合 reportlab 生成 PDF 并使用 pdftoppm 渲染检查

Highlights

  • 结构完整,包含 When to use、Workflow、Dependencies、Quality expectations 等关键章节
  • 步骤清晰,有明确的出口条件与最终检查机制,frontmatter 完整
Execution Reliability96/100

Highlights

  • 工具来源明确(reportlab、pdfplumber、pypdf、Poppler),参数正确,覆盖主要异常场景
  • 提供了依赖安装命令与环境适配方案,不可逆操作有最终视觉确认机制,确保输出质量
Evidence Verifiability (mean of the first four)95/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.