One-click install
npx skills add https://github.com/SebastianLHY/ruoyi-develop-claude --skill pdf-sebastianlhy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/SebastianLHY/ruoyi-develop-claude/tree/main/.claude/skills/document-skills/pdf
Command: npx skills add https://github.com/SebastianLHY/ruoyi-develop-claude --skill pdf-sebastianlhy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdf2image, Pillow, and includes scripts (resource) components.

What problem does it solve?

This Skill consolidates tools for programmatic PDF processing, enabling automated text and table extraction, PDF creation, merging/splitting, and form handling to streamline document workflows.

Core Features & Use Cases

  • Automated Text and Table Extraction: Pull content from PDFs into usable text or structured data formats.
  • PDF Creation and Editing: Create new PDFs, merge or split documents, and apply form fields or annotations.
  • Form Handling & Automation: Fill fillable forms or annotate non-fillable forms in batch operations.
  • Use Case: Automatically process invoices by extracting totals and statuses, updating forms, and exporting results for accounting.

Quick Start

Install dependencies: pip install pypdf pdf2image Pillow Run a quick test: python scripts/extract_form_field_info.py sample.pdf fields.json

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PDF text and table extraction in Python?

Automate PDF text and table extraction by running Python scripts that use pypdf to parse document content into usable text or structured data formats. This enables batch processing for tasks like invoice digitization and report parsing across large document collections.

What is the best way to batch process PDF form filling and annotations?

Batch process PDF form filling by applying script-based automation to populate fillable fields or annotate non-fillable forms across large collections. This handles form digitization workflows by updating documents and exporting results for downstream accounting or reporting.

Can I use pypdf and Pillow to merge, split, and create new PDF documents?

Yes, you can use pypdf and Pillow to programmatically create new PDF documents, merge multiple files, or split existing ones. This streamlines document workflows by enabling automated manipulation of PDF structures and page content via Python scripts.

Does this PDF automation approach require installing additional system dependencies?

This PDF automation approach requires installing Python libraries pypdf, pdf2image, and Pillow before execution. These dependencies provide the core functionality for text parsing, page rendering, and image processing required to automate document workflows.

How do I extract form field information from a PDF to a structured JSON file?

Extract form field information from a PDF by running a Python extraction script that parses the document and exports the field data into a structured JSON file. This enables automated form digitization by capturing field names and values for batch processing.