/pdf
Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages and use Python tools such as reportlab, pdfplumber, and pypdf for generation and extraction.
- Author
- x-school-academy ↗
- Repository
- skill-pilot ↗
- Licence
- MIT
- Last repository change
- 07.06.2026
Assessment and security
- Files in this package
- 4
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 07.06.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages and use Python tools such as reportlab, pdfplumber, and pypdf for generation and extraction.
Original author description
Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages and use Python tools such as reportlab, pdfplumber, and pypdf for generation and extraction.
How it works
- When to Use This Skill
- Your Roles in This Skill
- Role Communication
- Instructions
- Environment
- Rendering command
- Quality expectations
- Final checks
SKILL.md preview
---
name: pdf
description: Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages and use Python tools such as reportlab, pdfplumber, and pypdf for generation and extraction.
---
# AI Builder - PDF Skill
## When to Use This Skill
- Read or review PDF content where layout and visuals matter.
- Create PDFs programmatically with reliable formatting.
- Validate final rendering before delivery.
## Your Roles in This Skill
- **Backend Developer (Engineer)**: Generate, parse, and transform PDF files using reliable libraries
- **QA Engineer**: Validate rendered output quality and catch layout regressions
- **Technical Writer**: Ensure document structure, readability, and polished formatting
## Role Communication
As an expert in your assigned roles, you must announce your actions before performing them using the following format:
As a {Role, and Role-XYZ if have more roles}, I will {action description}
This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.
## Instructions
Follow these steps in order:
### Step 1: Confirm PDF task goal
Identify whether the user needs:
1. PDF generation
2. PDF text extraction
3. PDF visual/layout review
4. A combination of the above
### Step 2: Ensure required tools are available
For Python package installs and Python/package execution in this repo, use the `python-package-runtime` system skill.
Python packages:
```
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, report the missing dependency and the failed command.
### Step 3: Execute PDF workflow
1. Prefer visual review: render PDF pages to PNGs and inspect them.
2. Use `reportlab` to generate PDFs when creating new documents.
3. Use `pdfplumber` or `pypdf` for text extraction and structural checks.
4. Re-render pages after meaningful updates and verify alignment, spacing, and legibility.
When implementing helpers for this workflow, follow the `python-package-runtime` skill conventions for package install, Python script execution, and package CLI execution.
### Step 4: Apply 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.
### Step 5: Run final visual and quality checks
Use the quality expectations and final checks below before delivery.
## 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.
Files in this package (4)
- LICENSE.txt 11 KB
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
- assets/pdf.png 1 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · x-school-academy/skill-pilot | 100 | MIT |
| chris-peterson/fathom | 100 | MIT |
| shunwuyu/ai_lesson | 100 | MIT |
| rongxinzy/rongxinai | 100 | AGPL-3.0 |
| mateaix/mateclaw | 100 | Apache-2.0 |
| Navinspire-ia/navin | 100 | AGPL-3.0 |
| ai-workspace-lab/xworkspace-core-skills | 100 | MIT |
| astrbotdevs/astrbot | 100 | AGPL-3.0 |
| openbmb/pilotdeck | 100 | AGPL-3.0 |
Database snapshot: 13.11.2026 · package version beab443822f3 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100openai-pdf
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. Originally from OpenAI's curated skills catalog. - 100doc-skill-pdf
Reads, fills, edits, and generates PDFs (text + tables) using pypdf, pdfplumber, and reportlab. Use when the user asks for pdf document skill work, or mentions doc, skill, pdf. - 90hive.pdf
Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split… - 100markdown-to-pdf
Convert a markdown file to PDF using mistune + reportlab. Use when the user wants to convert a .md file to PDF, or when another skill needs to produce a PDF from markdown output. - 100skill-119
Extract text, tables, and images from PDF files using pdfplumber and PyMuPDF. Use when analyzing PDF documents, brand materials, reports, or any content that requires structured extraction from PDF format. Supports table detection, layout preservation, and high-quality image extraction. - 100pdf-form-filler
Fill PDF form fields programmatically using Python and pypdf. Use this skill whenever the user needs to fill out a PDF form, set text fields, or check checkboxes in a PDF document.