vibeinging/yiyi/pdf
Claude Code and agent skill by vibeinging/yiyi
- community
Checking that the SKILL.md file is still in the repository.
Use this skill whenever the user wants to do anything with PDF files — reading, extracting, creating professional documents, filling forms.
Install
npx vskill@latest install vibeinging/yiyi/pdfSKILL.md
PDF Processing
Reading & Extracting Text
Use Python's pypdf via run_python_script. If pypdf isn't installed, call pip_install(["pypdf"]) first.
Run with run_python_script(script_path="extract_pdf.py", args=["/path/to/document.pdf"]). Then summarize / analyze / answer questions about the captured stdout.
For Tables in PDFs
- Extract raw text with the script above.
- Parse the tabular structure from the text output (look for repeating
column-aligned rows).
- If the user wants it as a spreadsheet, write a Python script that
uses openpyxl to emit .xlsx (see the xlsx skill).
Creating Professional PDFs
Use the create_pdf.py script to generate beautiful, content-rich PDF documents.
Step 1: Build a JSON structure file
Create a JSON file describing the document content. Be thorough and detailed — include rich content, not just bullet points.
Step 2: Run the script
Available Themes
| Theme | Style | |
|---|---|---|
professional | Navy + blue accents, corporate feel | |
minimal | Black + red accents, clean typography | |
modern | Purple + pink accents, contemporary |
Content Block Types
Headings (3 levels)
Paragraph
Blockquote
Bullet / Numbered List
Table
Code Block
Key-Value Pairs (clean metadata display)
Image
Layout Controls
Content Writing Guidelines
When generating PDF content, follow these rules to produce professional documents:
- Be thorough: Each section should have multiple paragraphs, not just one sentence. Expand on ideas, provide context, and include supporting details.
- Structure deeply: Use all three heading levels. A good document has:
- Level 1: Major sections (3-6 per document)
- Level 2: Subsections (2-4 per major section)
- Level 3: Specific topics (as needed)
- Mix content types: Don't just use paragraphs. Include:
- Tables for comparative data
- Lists for actionable items or enumerations
- Quotes for key insights or citations
- Code blocks for technical content
- Key-value pairs for metadata/specs
- Write full paragraphs: Each paragraph should be 3-5 sentences. Avoid one-liners.
- Always include:
- Table of Contents (
{"type": "toc"}as first body item) - Cover page info (title, subtitle, author, date)
- Header and footer text
- Proper section numbering in headings
- Chinese content: The script auto-detects and uses CJK fonts (PingFang on macOS, Noto Sans CJK on Linux, Microsoft YaHei on Windows).
Example: Complete Report Structure
Advanced Operations
Merge / Split / Rotate PDFs (Python pypdf)
OCR Scanned PDFs
Requires: pytesseract, pdf2image
Fill PDF Forms
See forms.md for detailed form-filling workflow (both fillable and non-fillable forms).
Quick Reference
| Task | Approach | |
|---|---|---|
| Read/extract text | Python pypdf (pip_install(["pypdf"]) if missing) | |
| Extract tables | Python pypdf + heuristic row parsing | |
| Save as spreadsheet | Python openpyxl (see xlsx skill) | |
| Create professional PDF | `create_pdf.py` script | |
| Merge/split/rotate | Python pypdf | |
| Fill PDF forms | See forms.md | |
| OCR scanned PDFs | Python pytesseract |
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingapp/src-tauri/skills/pdf/SKILL.md
Popularity
- Repository stars
- 108
- Repository forks
- 6
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vibeinging/yiyi/pdf)