minimax-pdf
它能做什么
这项技能制作专业的 PDF,例如报告、提案和简历,并填写现有 PDF 中的表单字段。适合需要外观精致、可以直接分享的文档的人。
适用场景
- ✓当你想从零开始设计一份新的 PDF,例如报告、提案或简历的时候。
- ✓当你需要填写现有 PDF 表单的字段的时候。
- ✓当你想为现有文档套用新的视觉风格的时候。
技能链接
https://github.com/MiniMax-AI/skills/blob/main/skills/minimax-pdf/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为客户做一份精美的 PDF 提案,包括封面页,并保持一致的强调色。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会在三种路径中选择一种:创建、填写或重新排版。对于新文档,它会设计封面和正文页,然后合并为一份完成的 PDF。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
minimax-pdf
Three tasks. One skill.
Read design/design.md before any CREATE or REFORMAT work.
Route table
| User intent | Route | Scripts used |
|---|---|---|
| Generate a new PDF from scratch | CREATE | palette.py → cover.py → render_cover.js → render_body.py → merge.py |
| Fill / complete form fields in an existing PDF | FILL | fill_inspect.py → fill_write.py |
| Reformat / re-style an existing document | REFORMAT | reformat_parse.py → then full CREATE pipeline |
Rule: when in doubt between CREATE and REFORMAT, ask whether the user has an existing document to start from. If yes → REFORMAT. If no → CREATE.
Route A: CREATE
Full pipeline — content → design tokens → cover → body → merged PDF.
bash scripts/make.sh run \
--title "Q3 Strategy Review" --type proposal \
--author "Strategy Team" --date "October 2025" \
--accent "#2D5F8A" \
--content content.json --out report.pdf
Doc types: report · proposal · resume · portfolio · academic · general · minimal · stripe · diagonal · frame · editorial · magazine · darkroom · terminal · poster
| Type | Cover pattern | Visual identity |
|---|---|---|
report |
fullbleed |
Dark bg, dot grid, Playfair Display |
proposal |
split |
Left panel + right geometric, Syne |
resume |
typographic |
Oversized first-word, DM Serif Display |
portfolio |
atmospheric |
Near-black, radial glow, Fraunces |
academic |
typographic |
Light bg, classical serif, EB Garamond |
general |
fullbleed |
Dark slate, Outfit |
minimal |
minimal |
White + single 8px accent bar, Cormorant Garamond |
stripe |
stripe |
3 bold horizontal color bands, Barlow Condensed |
diagonal |
diagonal |
SVG angled cut, dark/light halves, Montserrat |
frame |
frame |
Inset border, corner ornaments, Cormorant |
editorial |
editorial |
Ghost letter, all-caps title, Bebas Neue |
magazine |
magazine |
Warm cream bg, centered stack, hero image, Playfair Display |
darkroom |
darkroom |
Navy bg, centered stack, grayscale image, Playfair Display |
terminal |
terminal |
Near-black, grid lines, monospace, neon green |
poster |
poster |
White bg, thick sidebar, oversized title, Barlow Condensed |
Cover extras (inject into tokens via --abstract, --cover-image):
--abstract "text"— abstract text block on the cover (magazine/darkroom)--cover-image "url"— hero image URL/path (magazine, darkroom, poster)
Color overrides — always choose these based on document content:
--accent "#HEX"— override the accent color;accent_ltis auto-derived by lightening toward white--cover-bg "#HEX"— override the cover background color
Accent color selection guidance:
You have creative authority over the accent color. Pick it from the document's semantic context — title, industry, purpose, audience — not from generic "safe" choices. The accent appears on section rules, callout bars, table headers, and the cover: it carries the document's visual identity.
| Context | Suggested accent range |
|---|---|
| Legal / compliance / finance | Deep navy #1C3A5E, charcoal #2E3440, slate #3D4C5E |
| Healthcare / medical | Teal-green #2A6B5A, cool green #3A7D6A |
| Technology / engineering | Steel blue #2D5F8A, indigo #3D4F8A |
| Environmental / sustainability | Forest #2E5E3A, olive #4A5E2A |
| Creative / arts / culture | Burgundy #6B2A35, plum #5A2A6B, terracotta #8A3A2A |
| Academic / research | Deep teal #2A5A6B, library blue #2A4A6B |
| Corporate / neutral | Slate #3D4A5A, graphite #444C56 |
| Luxury / premium | Warm black #1A1208, deep bronze #4A3820 |
Rule: choose a color that a thoughtful designer would select for this specific document — not the type's default. Muted, desaturated tones work best; avoid vivid primaries. When in doubt, go darker and more neutral.
content.json block types:
| Block | Usage | Key fields |
|---|---|---|
h1 |
Section heading + accent rule | text |
h2 |
Subsection heading | text |
h3 |
Sub-subsection (bold) | text |
body |
Justified paragraph; supports <b> <i> markup |
text |
bullet |
Unordered list item (• prefix) | text |
numbered |
Ordered list item — counter auto-resets on non-numbered blocks | text |
callout |
Highlighted insight box with accent left bar | text |
table |
Data table — accent header, alte |
常见问题
它能制作哪些类型的 PDF?
它提供多种文档类型,包括报告、提案、简历、作品集、学术论文和海报。
它能填写表单吗?
能。它可以检查 PDF 中的表单字段,并将数值写入其中。
它总是从零开始吗?
不是。如果你已有现成的文档,它可以重新排版,而无需从头开始。
详情
作者的原始描述
Use this skill when visual quality and design identity matter for a PDF. CREATE (generate from scratch): "make a PDF", "generate a report", "write a proposal", "create a resume", "beautiful PDF", "professional document", "cover page", "polished PDF", "client-ready document". FILL (complete form fields): "fill in the form", "fill out this PDF", "complete the form fields", "write values into PDF", "what fields does this PDF have". REFORMAT (apply design to an existing doc): "reformat this document", "apply our style", "convert this Markdown/text to PDF", "make this doc look good", "re-style this
repo: MiniMax-AI/skills
热度
- GitHub 星标
- 14k
- 排名
- #11296
- 许可证
- MIT
- 更新时间
- 2026/4/18
评论
- …
同一仓库的更多技能
design-style-skill
14k帮你的智能体为幻灯片选定一种统一的视觉风格,从锐利紧凑到柔和、圆润或宽松,并配以相应的圆角和间距。
ppt-editing-skill
14k帮你的智能体安全地编辑现有的 PowerPoint 文件或模板,包括修改文字、调整或删除幻灯片,并重新打包成有效的演示文稿。
ppt-orchestra-skill
14k帮你的智能体在制作之前规划整套 PowerPoint 演示文稿,把每张幻灯片归入标准页面类型,并检查版式多样性和文字质量。
slide-making-skill
14k帮你的智能体用 JavaScript 和 PptxGenJS 编写单张 PowerPoint 幻灯片,涵盖版式、文字、图片、图表和字体,生成原生 .pptx 文件。