技能 minimax-pdf
📄

minimax-pdf

低風險 ⚙️ 外部命令⚡ 包含腳本🌐 網路存取📁 檔案系統存取🔑 環境變數

使用設計系統生成專業 PDF

製作精緻且可供列印的 PDF 通常需要設計專業知識與昂貴的軟體。此技能運用基於 token 的設計系統,直接從內容生成報告、履歷、提案和已填寫的表單,確保每一頁都保持一致的視覺識別。

支援: Claude Codex Code(CC)
🥉 73 青銅
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「minimax-pdf」。 為創意機構客戶建立標題為「Website Redesign Proposal」的提案 PDF

預期結果:

  • 一份多頁 PDF,採用分割面板封面設計(左側深色面板搭配右側幾何圖形)、Syne display 字型用於標題、Nunito Sans 用於內文。文件包含帶強調色分隔線的格式化章節、關鍵洞察的醒目提示框、定價資料表格,以及全程一致的排版。

正在使用「minimax-pdf」。 用新員工詳細資訊填寫 onboarding.pdf 中的表單欄位

預期結果:

  • 一份已完成的 PDF 表單,所有文字欄位已填入、核取方塊已勾選,並套用了下拉式選單選項。原始版面配置、設計和格式保持不變。輸出儲存為 onboarding_filled.pdf。

安全審計

低風險
v1 • 4/16/2026

The static analyzer reported a risk score of 100/100 with 696 findings across 12 files. After manual evaluation, the vast majority are false positives. All HIGH-severity findings (weak cryptographic algorithm, C2 keywords, Windows SAM database) are false positives: hex color codes were misidentified as weak crypto, benign design terminology triggered C2 keyword detection, and the Windows SAM finding is a false pattern match. Medium-severity findings flagged external_commands in markdown files (design/design.md, README.md, SKILL.md) which contain only documentation and code examples, not executable code. The actual scripts (make.sh, cover.py, render_cover.js) execute expected commands for PDF generation: running Python and Node.js scripts, installing dependencies via pip and npm, and using Playwright for headless browser rendering. Network access is limited to loading Google Fonts for cover rendering. Filesystem operations are limited to creating temporary files and output PDFs. No malicious intent, data exfiltration, or credential theft was detected.

12
已掃描檔案
5,489
分析行數
11
發現項
1
審計總數
中風險問題 (3)
External command execution in shell scripts
The make.sh script invokes python3, node, npm, and npx to execute PDF generation pipelines. Commands are hardcoded and arguments are passed through CLI parsing, not user-controlled input. This is legitimate for a PDF generation tool but represents an elevated privilege boundary.
Headless browser execution via Playwright
render_cover.js launches a Chromium browser via Playwright to render HTML covers to PDF. The browser loads local HTML files and Google Fonts. This is standard for HTML-to-PDF conversion but expands the attack surface.
Auto-install of packages with --break-system-packages flag
make.sh cmd_fix uses pip install --break-system-packages to force-install Python packages. This flag bypasses PEP 668 protections and could overwrite system-managed packages.
低風險問題 (3)
Google Fonts network requests at render time
Cover HTML references Google Fonts via @import URLs. Each PDF generation triggers network requests to fonts.googleapis.com. Fonts are not cached locally.
Temporary file creation in /tmp
make.sh uses mktemp -d to create working directories for intermediate files (tokens.json, cover.html, cover.pdf, body.pdf). Files are cleaned up after completion.
Environment variable usage for inter-process communication
make.sh passes data between processes via environment variables (PDF_ABSTRACT, PDF_COVER_IMAGE, PDF_TOKENS). These contain user-provided content, not secrets.
審計者: claude

品質評分

59
架構
100
可維護性
85
內容
50
社群
69
安全
91
規範符合性

你能建構什麼

商業報告生成

建立具備專業格式與一致品牌識別的季度策略審查、財務報告或客戶提案。使用者以 JSON 區塊提供內容,技能會處理所有視覺設計決策。

履歷與作品集建立

從結構化內容生成視覺上獨樹一幟的履歷與作品集文件。可選擇針對專業展示最佳化的文件類型,搭配適當的排版與版面配置。

PDF 表單處理

檢查現有 PDF 表單以發現可用欄位,然後以結構化資料進行程式化填寫。適用於批次處理申請表、問卷或註冊文件。

試試這些提示

建立基本報告 PDF
建立一份標題為「Q4 Marketing Review」且類型為「report」的 PDF 報告。包含執行摘要、關鍵指標和建議章節。
生成樣式化履歷
為資深軟體工程師「Alex Chen」建立履歷 PDF,使用 resume 文件類型。包含經歷、技能、教育和簡短的專業摘要章節。
填寫 PDF 表單
檢查 application.pdf 中的表單欄位,然後填寫以下內容:姓名「Maria Garcia」、電子郵件「maria@example.com」、職位「Data Analyst」,以及開始日期「March 1, 2026」。
使用自訂樣式重新格式化現有文件
將 quarterly-notes.md 中的文件使用「report」類型重新格式化為專業 PDF。標題設為「Quarterly Team Notes」,作者設為「Engineering Lead」,並使用適合科技公司的強調色。

最佳實務

  • 首次使用前執行 `bash scripts/make.sh check` 以確認所有依賴已安裝,並執行 `bash scripts/make.sh fix` 自動安裝缺少的套件。
  • 選擇與內容用途相符的文件類型:資料密集型文件使用 report,個人簡介使用 resume,客戶導向材料使用 proposal。
  • 填寫 PDF 表單前請務必先執行 `fill_inspect.py`,以發現確切的欄位名稱和可接受的數值格式。

避免

  • 當視覺設計不重要時,不要使用此技能進行簡單的文字轉 PDF 轉換。對於基本 PDF 生成,請使用更簡單的工具。
  • 不要在未執行檢查步驟的情況下嘗試填寫 PDF 表單欄位,因為欄位名稱必須完全匹配。
  • 不要期望封面字型可在離線狀態下運作。封面 HTML 在渲染時會從 Google Fonts 載入字型,需要網際網路存取。

常見問題

PDF 建立有哪些可用的文件類型?
此技能支援 15 種文件類型:report、proposal、resume、portfolio、academic、general、minimal、stripe、diagonal、frame、editorial、magazine、darkroom、terminal 和 poster。每種類型都有獨特的調色盤、封面圖案和排版配對。
使用此技能前需要安裝什麼嗎?
是的。此技能需要 Python 3.9+、Node.js 18+、reportlab 和 pypdf Python 套件,以及帶有 Chromium 的 Playwright。執行 `bash scripts/make.sh check` 以確認依賴,並執行 `bash scripts/make.sh fix` 自動安裝。
此技能可以修改現有 PDF 版面配置嗎?
不可以。FILL 路由僅填充現有的互動式表單欄位。它無法更改版面配置、新增元素或修改現有 PDF 的視覺設計。如需重新設計樣式,請使用 REFORMAT 路由,它會解析內容並建立新文件。
此技能可以在沒有網際網路連線的情況下運作嗎?
部分可以。內頁使用系統字型離線渲染。然而,封面會從 Google Fonts 載入字型,需要網際網路存取。圖表和數學渲染(透過 matplotlib)可離線運作。
我可以在 PDF 中加入哪些內容區塊類型?
支援的區塊包括:標題(h1、h2、h3)、內文段落、項目符號和編號清單、醒目提示框、表格、圖片、圖示、程式碼區塊、數學公式、圖表(長條圖、折線圖、圓餅圖)、流程圖、參考文獻、分隔線、圖說、分頁符號和間距器。
如何自訂文件的強調色?
使用 `--accent` 旗標搭配十六進制色碼值(例如 `--accent "#2D5F8A"`)。此技能也會自動衍生較淺的 accent_lt 變體。您也可以使用 `--cover-bg` 覆寫封面背景色。

開發者詳情