minimax-pdf

Creates and edits PDF documents using a token-based design system.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/xuyannan0321/math-ai-edu-site --skill minimax-pdf-xuyannan0321
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-pdf
Source: https://github.com/xuyannan0321/math-ai-edu-site/tree/main/.agents/skills/minimax-pdf
Command: npx skills add https://github.com/xuyannan0321/math-ai-edu-site --skill minimax-pdf-xuyannan0321

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, reportlab, pypdf, node.js, playwright, and includes scripts (resource) and design (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a comprehensive solution for creating and editing visually polished PDFs, with a focus on design consistency and ease of use.

Core Features & Use Cases

  • PDF Creation: Generate new PDFs from scratch with various predefined document types and design patterns.
  • Form Filling: Complete form fields in existing PDFs.
  • Document Formatting: Apply design to existing documents to match the aesthetic of the Skill.
  • Use Case: Need to create a professional proposal? Use the 'proposal' type to automatically generate a PDF with the right design and style, then fill in the form fields.

Quick Start

Run the following command to create a new PDF with a 'report' type:

bash scripts/make.sh run --title "Q3 Strategy Review" --type report --author "Strategy Team" --date "October 2025" --out report.pdf

Frequently Asked Questions about minimax-pdf

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

FAQPage Schema
How do I create a PDF with a consistent design system from scratch?

Generate a professional proposal PDF by running the provided shell script with the 'proposal' type, automatically applying the token-based design system to format text and render the cover page. This ensures visual consistency without manual formatting.

Can I fill out existing form fields in a PDF programmatically?

Yes, you can fill out existing PDF form fields programmatically by utilizing the pypdf dependency. This allows you to automate document completion by injecting data directly into existing form fields within the PDF structure.

Do I need Node.js and Playwright to generate PDF documents?

You need Node.js and Playwright specifically for rendering PDF cover pages, while Python scripts using reportlab handle general text rendering and document creation. Both environments are required to utilize the full design system capabilities.

What is the best way to reformat an existing document to match a new design aesthetic?

The best way to reformat an existing document is by applying the Skill's token-based design system, which processes the content and applies predefined design patterns. This transforms the document's appearance to match a polished, consistent aesthetic.

Does this PDF creation approach support predefined document types like reports or proposals?

Yes, this PDF creation approach supports predefined document types such as reports and proposals. You specify the type via command line arguments, and the system automatically applies the corresponding design patterns and formatting rules.