Converts markdown into high-quality, printable PDFs with support for Chinese typography.

Install

mkdir -p .claude/skills/pdf-creator-seaworld008 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19389" && unzip -o skill.zip -d .claude/skills/pdf-creator-seaworld008 && rm skill.zip

Installs to .claude/skills/pdf-creator-seaworld008

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Create PDF documents from markdown with proper Chinese font support using weasyprint. This skill should be used when converting markdown to PDF, generating formal documents (legal, trademark filings, reports), or when Chinese typography is required. Triggers include "convert to PDF", "generate PDF", "markdown to PDF", or any request for creating printable documents.
368 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Convert markdown to PDF using weasyprint
  • Apply Chinese font support for formal documents
  • Batch process multiple markdown files
  • Enforce A4 page size and margin standards
  • Validate PDF output for text selectability

How it works

The skill uses a Python script with weasyprint to render markdown into PDF, applying specific CSS for Chinese typography and layout. It includes a validation step to ensure fonts and formatting are correct.

Inputs & outputs

You give it
Markdown file or directory of files
You get back
A4 PDF document

When to use pdf-creator

  • Convert contract to PDF
  • Generate business reports
  • Create legal documents
  • Export markdown as PDF

About pdf-creator

Renders markdown documents into A4 PDFs using weasyprint. It includes specialized font handling for Simplified Chinese, ensuring proper layout and typography for formal documents.

Create PDF documents from markdown with proper Chinese font support using weasyprint. This skill should be used when converting markdown to PDF, generating formal documents (legal, trademark filings, reports), or when Chinese typography is required. Triggers include "convert to PDF", "generate PDF",

When not to use it

  • For interactive forms or digitally signed PDFs
  • When exact Word or PowerPoint layout preservation is needed

Prerequisites

weasyprint and markdown dependenciesSongti SC or Heiti SC fonts installed

Limitations

  • intended to stay under 2MB for form submissions
  • Does not support OCR repair or scanned-document cleanup

How it compares

This skill is specifically tuned for Chinese typography and formal document standards, unlike generic markdown-to-PDF converters.

Compared to similar skills

pdf-creator side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
pdf-creator (this skill)028dReviewIntermediate
doc02moReviewIntermediate
richpdf02moReviewIntermediate
feature-doc-updates01moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry