pdf-studio

Professional PDF document generator. Use when user needs to create reports, invoices, certificates, portfolios, or any publication-ready PDF. Supports images, tables, charts, TOC, headers/footers, and cross-platform fonts. Generates print-quality PDFs. PDF文档生成、专业报告、发票制作。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pdf-studio" with this command: npx skills add tobewin/pdf-studio

PDF Studio

Professional PDF document generator that creates publication-ready PDFs with perfect typography and layout.

Features

  • 📑 Print Quality: 300 DPI, CMYK support, bleed marks
  • 🎨 Professional Layout: Multi-column, headers/footers, page numbers
  • 🖼️ Image Support: Embedded images, captions, watermarks
  • 📊 Tables & Charts: Formatted tables, bar charts, pie charts
  • 📐 Typography: Professional fonts, kerning, ligatures
  • 🌍 Multi-Language: Chinese, English, Japanese, etc.
  • Cross-Platform: Windows, macOS, Linux
  • 📱 PDF/A Compliant: Archival quality

Trigger Conditions

  • "生成PDF" / "Generate PDF"
  • "帮我做一份报告" / "Create a report"
  • "制作发票" / "Create an invoice"
  • "生成证书" / "Generate certificate"
  • "制作作品集" / "Create portfolio"
  • "pdf-studio"

Document Types

Business (商务)

  • 年度报告
  • 商业计划书
  • 发票/账单
  • 合同/协议
  • 产品手册

Academic (学术)

  • 论文排版
  • 学位证书
  • 研究报告
  • 会议论文

Government (政府)

  • 公文
  • 公告
  • 证书
  • 表格

Personal (个人)

  • 简历
  • 作品集
  • 证书
  • 邀请函

Step 1: Understand Requirements

请提供以下信息:

文档类型:(报告/发票/证书/简历/其他)
纸张大小:(A4/Letter/A3/自定义)
方向:(纵向/横向)
页边距:(默认/自定义)
字体要求:(默认/指定字体)
语言:(中文/英文)
特殊要求:(水印/页眉页脚/目录等)

Step 2: Generate PDF

Recommended Libraries

PDF generation requires Python libraries. Users should install manually before use:

  • FPDF2: Simple PDF generation
  • WeasyPrint: HTML/CSS to PDF
  • ReportLab: Advanced PDF features

Basic PDF Generation

  1. Install a PDF library (e.g., FPDF2)
  2. Create document with pages
  3. Add content (text, images, tables)
  4. Output PDF file

HTML/CSS to PDF

  1. Prepare HTML content
  2. Apply CSS styles
  3. Convert to PDF using library

Typography Settings (字体设置)

Cross-Platform Fonts

LanguageSerifSansMono
ChineseNoto Serif SCNoto Sans SCNoto Sans Mono CJK SC
EnglishLiberation SerifLiberation SansFira Code
JapaneseNoto Serif JPNoto Sans JPNoto Sans Mono CJK JP

Font Paths (for reference)

  • macOS: /System/Library/Fonts/
  • Linux: /usr/share/fonts/
  • Windows: C:/Windows/Fonts/

Page Layout (页面布局)

Standard Sizes

SizeDimensions (mm)Use Case
A4210 × 297Standard documents
Letter216 × 279US documents
A3297 × 420Large reports

Margin Presets

PresetTop/BottomLeft/Right
Normal2.54cm2.54cm
Narrow1.27cm1.27cm
Wide2.54cm5.08cm

Error Handling

字体缺失       → 使用开源字体回退
图片格式不支持 → 转换为PNG/JPEG
内存不足       → 分页处理大文档
生成失败       → 输出HTML备选

Security Notes (安全说明)

  • ✅ No network calls or external endpoints
  • ✅ No credentials or API keys required
  • ✅ Local file processing only
  • ✅ No data uploaded to external servers
  • ⚠️ Requires python3 and manually installed libraries
  • ⚠️ Review code before execution

Notes

  • 使用FPDF2确保跨平台一致性
  • 所有字体可嵌入PDF中
  • 支持PDF/A归档标准
  • 图片自动压缩优化
  • 支持水印和页眉页脚
  • 依赖:用户需自行安装 Python 库(fpdf2/weasyprint/reportlab)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

china-doc-ocr

智能文档OCR识别与结构化提取。Use when the user has a complex document, PDF, scanned image, photo, invoice, receipt, ID card, table, or chart that needs to be recognized a...

Registry SourceRecently Updated
1.3K0Profile unavailable
General

📝 文档处理大师

上传任意文档,智能提取关键信息、生成摘要。无需API Key,安装即用。

Registry SourceRecently Updated
360Profile unavailable
General

📝 文档摘要大师

上传长文档/文章/PDF/合同,自动生成结构化摘要、关键条款提取、执行清单。支持20+种摘要格式。安装即用,无需API Key。

Registry SourceRecently Updated
380Profile unavailable
General

WPS PDF Processing

当用户需要对 PDF 文件进行任何操作时,使用本技能。包括:读取或提取 PDF 中的文字/表格、合并多个 PDF、拆分 PDF、旋转页面、添加水印、创建新 PDF、填写 PDF 表单、加密/解密 PDF、提取图片,以及对扫描版 PDF 进行 OCR 识别使其可搜索。只要用户提到 .pdf 文件或希望生成 PDF,...

Registry SourceRecently Updated
720Profile unavailable