minimax-pdf

Create and reformat PDF documents using Python, matplotlib, and Playwright.

2.2k|364|Updated May 12, 2025
One-click install
npx skills add https://github.com/lioensky/VCPToolBox --skill minimax-pdf-lioensky
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-pdf
Source: https://github.com/lioensky/VCPToolBox/tree/main/Plugin/SkillBridge/SKILL/minimax-pdf
Command: npx skills add https://github.com/lioensky/VCPToolBox --skill minimax-pdf-lioensky

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, reportlab, matplotlib, playwright, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the creation and reformatting of professional PDF documents, ensuring visual consistency and high-quality presentation.

Core Features & Use Cases

  • Create: Generate new PDFs from content data with curated design templates for reports, proposals, resumes, and portfolios.
  • Fill: Populate form fields in existing PDFs rapidly, including inspections of form structures.
  • Reformat: Apply a unified design style to existing documents, including Markdown, text, or PDF inputs, for a consistent appearance.
  • Use Case: An enterprise generates customized reports with company branding by combining content, design tokens, and templates, all automated via scripting.

Quick Start

Use this skill to generate a polished PDF report automatically from a structured content file and style specifications, integrating cover design, inner pages, and layout formatting.

Frequently Asked Questions about minimax-pdf

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

FAQPage Schema
How do I automate PDF creation from Markdown or text content?

To automate PDF creation from Markdown or text content, use scripting workflows that reformat input data and apply unified design templates for consistent visual presentation. This approach uses Python libraries like reportlab and matplotlib to render high-quality layouts.

What is the best way to apply a consistent visual style to an existing PDF?

Applying a consistent visual style to an existing PDF involves reformatting the document using defined design tokens and layout templates. This ensures professional publishing standards by unifying cover patterns and inner pages through automated rendering.

Can I programmatically fill form fields in existing PDF documents?

Yes, you can programmatically fill form fields in existing PDF documents by inspecting the form structure and populating it rapidly. This process is supported by the pypdf dependency, which allows detailed inspection and modification of existing files.

Does this PDF generation approach work with Playwright for rendering?

Yes, this PDF generation approach works with Playwright for rendering high-quality output. It combines Playwright with Python scripting and matplotlib to automate comprehensive workflows, including advanced layout design and cover pattern generation.

How do I generate customized reports with company branding?

To generate customized reports with company branding, combine structured content data, design tokens, and curated templates via automated scripting. This method integrates cover design and inner page formatting to produce visually polished PDFs.

What are the limitations of using reportlab for document layout design?

Limitations of using reportlab for document layout design involve its programmatic nature, requiring Python scripting knowledge to build complex layouts. It is often paired with Playwright and matplotlib to handle advanced rendering and visual styling constraints.