xiaoyi-pdf

Generate, fill, and reformat PDF documents using Python libraries.

1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/kk580kk/Investment-analysis-reports --skill xiaoyi-pdf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xiaoyi-pdf
Source: https://github.com/kk580kk/Investment-analysis-reports/tree/main/skills/xiaoyi-pdf
Command: npx skills add https://github.com/kk580kk/Investment-analysis-reports --skill xiaoyi-pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, reportlab, pypdf, playwright, pdfplumber, pandas, openpyxl, reportlab, pypdf, playwright, google-chrome, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the need for creating visually polished PDFs, filling out forms within PDFs, and reformatting existing documents to match a specific design aesthetic.

Core Features & Use Cases

  • PDF Generation: Generate new PDFs from scratch, with customizable designs and content.
  • Form Filling: Fill out PDF forms programmatically, handling various field types.
  • Document Refactoring: Apply predefined design templates to existing documents, allowing for reformatting to match specific branding or style guidelines.
  • Use Case: If you need to create a professional-looking report or fill out a complex form but lack the design skills or time to manually format the document, this Skill can help you achieve the desired outcome efficiently.

Quick Start

To generate a new PDF, run the following command: xiaoyi-pdf create --title "Report" --type "report" --author "Author Name" --date "2023-10-01" --content content.json --out output.pdf

Frequently Asked Questions about xiaoyi-pdf

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

FAQPage Schema
How do I programmatically generate PDFs with a custom design system using Python?

You can generate PDFs with a custom design system using Python libraries like reportlab and pypdf to define templates, apply branding styles, and output styled documents from structured content.

Can I fill out PDF forms automatically using Python?

Yes, you can fill out PDF forms automatically using Python. The Skill processes PDF forms programmatically, handling various field types to populate documents without manual data entry.

What's the best way to reformat an existing PDF to match specific branding guidelines?

The best way to reformat an existing PDF is to apply predefined design templates that enforce specific style guidelines. This approach refactors document aesthetics to match your branding automatically.

Do I need Google Chrome installed to render PDFs with Python?

Yes, you need Google Chrome installed because the Playwright dependency uses it for rendering. The PDF generation and refactoring processes rely on Chrome to accurately render document styles.

What Python libraries are required for PDF document generation and form filling?

Required Python libraries include reportlab, pypdf, playwright, pdfplumber, pandas, and openpyxl. These dependencies support template rendering, form field processing, and data extraction for document workflows.

How does document refactoring work for existing PDFs?

Document refactoring works by applying customizable templates to existing PDFs. This process overrides the original formatting to enforce a specific design aesthetic, ensuring visual consistency across your files.