Generate Professional PDF, Excel, Word, and PowerPoint Documents with AI
I spent hours manually formatting documents until I discovered MiniMax Skills. The generic templates looked unprofessional, form filling required manual intervention, and converting between formats kept breaking my layouts. Here’s how four document generation skills solved these problems.
The Document Generation Problem
Every project I work on eventually needs documents. Reports, proposals, data exports, presentations. The typical workflow looks like:
- Find a template online
- Manually fill in the content
- Struggle with formatting inconsistencies
- Export to PDF and notice the layout broke
- Start over
The core issues: generic templates look unprofessional, form filling needs manual work, format conversions lose styling, and maintaining consistency across documents is tedious.
minimax-pdf: Professional PDFs from Scratch
The minimax-pdf skill generates polished PDFs with 15 cover styles and a design token system. It handles three workflows: CREATE, FILL, and REFORMAT.
Creating a PDF
# Create a proposal with custom stylingbash scripts/make.sh run \ --title "Q3 Strategy Review" \ --type proposal \ --author "Strategy Team" \ --date "October 2025" \ --accent "#2D5F8A" \ --content content.json \ --out report.pdfThe content is defined in JSON with typed blocks:
[ {"type": "h1", "text": "Executive Summary"}, {"type": "body", "text": "This report covers Q3 performance..."}, {"type": "bullet", "text": "Revenue increased 15%"}, {"type": "chart", "chart_type": "bar", "labels": ["Q1", "Q2", "Q3"], "datasets": [{"label": "Revenue", "values": [120, 145, 178]}]}]Cover Styles
The skill offers 15 cover patterns organized into categories:
Professional: report, proposal, resume, portfolio, academicMinimalist: minimal, stripe, diagonal, frame, editorialCreative: magazine, darkroom, terminal, posterAccent Color Selection
Design tokens derive colors and typography from the document type. You can override with custom accents:
--accent "#2D5F8A" # Technology/engineering--accent "#2A6B5A" # Healthcare/medical--accent "#6B2A35" # Creative/artsForm Filling
For existing PDF forms, the skill inspects and fills fields:
# Inspect form fieldspython3 scripts/fill_inspect.py --input form.pdf
# Fill form fieldspython3 scripts/fill_write.py --input form.pdf --out filled.pdf \ --values '{"FirstName": "Jane", "Agree": "true", "Country": "US"}'The CREATE pipeline runs through these scripts:
palette.py → cover.py → render_cover.js → render_body.py → merge.pyEach step handles a specific concern: color extraction, cover generation, body rendering, and final assembly.
minimax-xlsx: Excel Without Format Loss
The minimax-xlsx skill creates, reads, and edits Excel files. The key feature: zero format loss when editing existing files.
import pandas as pd
# Read and analyzedf = pd.read_excel("data.xlsx")analysis = df.describe()
# Edit with format preservation# Uses openpyxl in read+write mode# Formula recalculation supportedThe skill supports multiple formats:
XLSX - Standard Excel formatXLSM - Macro-enabled workbooksCSV - Comma-separated valuesTSV - Tab-separated valuesI tried editing a financial model with complex conditional formatting. Most tools broke the styling. minimax-xlsx preserved everything—cell colors, borders, number formats, and formulas recalculated correctly.
minimax-docx: Word Documents with OpenXML
The minimax-docx skill uses the OpenXML SDK (.NET) for Word document generation. It supports tracked changes, comments, and formatting preservation.
Three pipelines handle different use cases:
CREATE → Generate new documents from scratchFILL → Insert content into template documentsEDIT → Modify existing documents with XSD validationThe OpenXML approach means reliable handling of:
- Tracked changes and revision history
- Comments and annotations
- Complex formatting inheritance
- Template schema validation
pptx-generator: PowerPoint Presentations
The pptx-generator skill creates presentations using PptxGenJS. It builds slide types programmatically:
const pptx = new PptxGenJS();
// Cover slidelet slide = pptx.addSlide();slide.addText("Q3 Strategy Review", { x: 0.5, y: 2.5, w: 9, h: 1, fontSize: 44, bold: true});
// Content slideslide = pptx.addSlide();slide.addText("Key Findings", { x: 0.5, y: 0.5, fontSize: 32 });slide.addBulletPoint("Revenue up 15%", { x: 1, y: 1.5 });
pptx.writeFile({ fileName: "report.pptx" });Supported slide types:
Cover slides → Title, subtitle, author, dateTable of contents → Auto-generated from sectionsContent slides → Bullet points, text, imagesSection dividers → Break between topicsSummary slides → Key takeawaysThe skill also extracts text from existing PPTX files using markitdown for content reuse.
Comparison Table
Here’s how the four skills compare:
| Skill | Formats | Key Capability ||---------------|----------------------|-----------------------------------|| minimax-pdf | PDF | 15 cover styles, design tokens || minimax-xlsx | XLSX, XLSM, CSV, TSV | Zero format loss editing || minimax-docx | DOCX | OpenXML SDK, tracked changes || pptx-generator | PPTX | Programmatic slide creation |Each skill handles CREATE, FILL, and EDIT workflows. The PDF skill adds REFORMAT for applying new designs to existing content.
Content Block Types in minimax-pdf
The PDF skill supports these content blocks:
Headings: h1, h2, h3Text: body, bullet, numberedMedia: image, figure, codeData: table, chartSpecial: callout, math, flowchart, bibliography, dividerThis block system means I can define document structure without worrying about visual styling—the design tokens handle that automatically.
Real Workflow
I used these skills to automate a quarterly reporting pipeline:
minimax-xlsxreads raw data from multiple Excel sources- Analysis scripts process the data
pptx-generatorcreates a presentation deckminimax-pdfgenerates a formal written reportminimax-docxproduces an executive summary
The entire process runs without manual intervention. Before, this took half a day. Now it’s a single script.
Final Words + More Resources
My intention with this article was to help others share my knowledge and experience. If you want to contact me, you can contact by email: Email me
Here are also the most important links from this article along with some further resources that will help you in this scope:
Oh, and if you found these resources useful, don’t forget to support me by starring the repo on GitHub!
In this post, I covered four MiniMax Skills for document generation: minimax-pdf for professional PDFs with 15 cover styles, minimax-xlsx for Excel processing with zero format loss, minimax-docx for Word documents using OpenXML, and pptx-generator for PowerPoint creation. Each handles CREATE, FILL, and EDIT workflows, making it possible to automate the complete document lifecycle without manual formatting work.
Comments