minimax-pdf

Automate PDF creation, filling, and reformatting with token-based design.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/RemseyMailjard/superpowers --skill minimax-pdf-remseymailjard
Or copy as Structured Prompt for Agentâ–Ľ
Please help me install this Agent Skill.
Skill: minimax-pdf
Source: https://github.com/RemseyMailjard/superpowers/tree/main/.github/skills/minimax-pdf
Command: npx skills add https://github.com/RemseyMailjard/superpowers --skill minimax-pdf-remseymailjard

SYSTEM DOCUMENTATION & REQUIREMENTS

đź’ˇ This Skill requires pypdf, reportlab, matplotlib, playwright, and includes scripts (resource) components.

What problem does it solve?

PDFs are often manually styled, leading to inconsistent branding and wasted time. minimax-pdf solves this by unifying content and design through a token-based system to produce print-ready PDFs.

Core Features & Use Cases

  • Token-driven design tokens flow from metadata to every page, ensuring consistent typography and color.
  • Full CREATE, FILL, and REFORMAT pipelines: generate new PDFs, fill forms, or re-style existing documents with a single tool.
  • End-to-end rendering: cover + body + QA checks, supporting deterministic outputs for corporate branding.

Quick Start

Run the full pipeline with a sample content.json to generate a demo.pdf.

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 generation with consistent branding and typography?â–Ľ

To automate PDF generation with consistent branding, use a token-based design system that flows metadata to every page, enforcing typography and color rules. This approach unifies content and design to produce print-ready PDFs without manual styling.

Can I reformat existing PDFs to apply a new design token system?â–Ľ

Yes, you can reformat existing PDFs using the REFORMAT workflow. This pipeline restyles documents by applying updated design tokens, ensuring typography, colors, and layout rules match your current corporate identity without rebuilding the file from scratch.

Does the PDF rendering pipeline support form filling?â–Ľ

Yes, the PDF rendering pipeline supports form filling through the FILL workflow. This allows you to automatically populate existing PDF forms while maintaining strict design-token consistency and robust error handling throughout the document generation process.

Do I need Playwright and ReportLab to create print-ready PDFs?â–Ľ

Yes, creating print-ready PDFs with this pipeline requires Playwright and ReportLab, along with pypdf and matplotlib. These dependencies enable end-to-end cover rendering, body rendering, and PDF merging while enforcing deterministic layout and design-token rules.

What is the best way to ensure design-token consistency in document generation?â–Ľ

The best way to ensure design-token consistency in document generation is to use an automated token pipeline that flows metadata directly into the rendering engine. This enforces font pairing, color rules, and layout constraints deterministically across both cover and body rendering.

How does the token pipeline handle cover and body rendering for PDFs?â–Ľ

The token pipeline handles cover and body rendering by applying design tokens sequentially across the document structure. It executes end-to-end workflows that merge rendered covers and bodies into a single PDF, enforcing layout rules and running QA checks for consistent branding.