pdf

Generate professionally branded PDFs from markdown documents.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pdf" with this command: npx skills add filippofilip95/wizrd/filippofilip95-wizrd-pdf

PDF Generator Skill

Generate professionally branded PDFs from markdown documents.

Trigger

User runs /pdf [file] or asks to "generate PDF", "convert to PDF", or "create PDF".

Usage

Single file

/pdf content/case-studies/project.md

With custom output

/pdf proposal.md ~/Desktop/client-proposal.pdf

HTML (for browser printing)

/pdf --html document.md

Workflow

  1. Validate Input
  • Check file exists

  • Verify it's a markdown file

  • Check PDF generator is set up

  1. Generate PDF

Run the generator script:

./tools/pdf-generator/generate-pdf.sh [input] [output]

  1. Report Results
  • Confirm PDF location

  • Open PDF (on macOS)

  • Report any errors

Common Tasks

Convert Case Study

./tools/pdf-generator/generate-pdf.sh content/case-studies/[name].md

Output: tools/pdf-generator/output/[name].pdf

Convert Proposal

./tools/pdf-generator/generate-pdf.sh clients/[client]/proposal.md

Batch Convert

./tools/pdf-generator/generate-pdf.sh --batch content/case-studies/

HTML Fallback

If no PDF engine is installed:

./tools/pdf-generator/generate-pdf.sh --html document.md

Then print to PDF from browser.

Customization

Brand Colors

Edit tools/pdf-generator/templates/styles.css :

:root { --primary: #552cd5; /* Your brand color / --accent: #0ea5e9; / Links, highlights */ }

Footer

Edit tools/pdf-generator/templates/template.html to add:

  • Company name

  • Website

  • Contact info

Requirements

  • Pandoc: brew install pandoc

  • WeasyPrint: pip install weasyprint (recommended)

Install with:

./tools/pdf-generator/generate-pdf.sh --install

Troubleshooting

"No PDF engine found"

Install WeasyPrint: pip install weasyprint

Or use --html flag and print from browser.

"pandoc not found"

Install: brew install pandoc

Fonts not rendering

WeasyPrint needs fonts installed locally. Use system fonts or install Google Fonts.

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

support

No summary provided by upstream source.

Repository SourceNeeds Review
General

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

Repository SourceNeeds Review
94.2K38.8K
anthropics
General

pdf

No summary provided by upstream source.

Repository SourceNeeds Review
-471
openai