minimax-pdf

Generate polished PDFs from structured metadata using token pipelines, Playwright covers, and ReportLab bodies.

641|104|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/loongclaw-ai/loongclaw --skill minimax-pdf-loongclaw-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-pdf
Source: https://github.com/loongclaw-ai/loongclaw/tree/main/skills/minimax-office/minimax-pdf
Command: npx skills add https://github.com/loongclaw-ai/loongclaw --skill minimax-pdf-loongclaw-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

It removes the guesswork of producing designer-quality PDFs by linking structured content to a token-driven aesthetics pipeline, covering new document creation, form handling, and restyling so every page shares the same visual DNA.

Core Features & Use Cases

  • Token-driven consistency: palette.py deduces colors, typography, and spacing from the document type so cover.py, render_body.py, and merge.py deliver unified covers and bodies, and design/design.md documents the aesthetic rationale before CREATE or REFORMAT work.
  • Three dedicated routes: the CREATE route builds a full report or proposal from content.json, the FILL route inspects and populates form fields in existing PDFs, and the REFORMAT route leans on reformat_parse.py to restyle Markdown, text, or PDF sources into the polished system.
  • Production-ready automation: the make.sh CLI enforces dependencies such as reportlab, pypdf, matplotlib, numpy, and Playwright, renders covers via Playwright, produces charts/math with matplotlib, validates merges, and warns about QA to keep investor decks, resumes, or creative proposals confidently on brand.

Quick Start

Ask the skill to build a polished PDF by describing the document type, metadata, and content structure in plain language.

Frequently Asked Questions about minimax-pdf

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

FAQPage Schema
How do I generate designer-quality PDFs from structured content?

Yes, you can fill existing PDF forms by using the pypdf dependency to inspect and populate form fields. This automated form-filling route directly handles existing PDF documents without needing to recreate the file from scratch.

Does ReportLab work with Playwright for PDF report generation?

Yes, ReportLab works with Playwright for PDF report generation by dividing the workflow: Playwright renders the designer-grade cover page, while ReportLab handles the structured body composition and chart integration to produce a complete, branded document.

How do I reformat Markdown or text files into a branded PDF document?

Yes, you can generate visual charts for your PDF reports using the matplotlib and numpy dependencies. These libraries produce graphical elements that integrate directly into the ReportLab body composition during the document creation process.

What is the best way to maintain consistent typography and colors across multiple PDF proposals?

The best way to maintain consistent typography and colors across multiple PDF proposals is to use a token-driven aesthetics pipeline that deduces design tokens from the document type, ensuring every cover and body page shares the same visual DNA.