pdf-forge

Generate branded PDFs from Markdown content using WeasyPrint.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/GavinTPA/ai-powerhouse-starter --skill pdf-forge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-forge
Source: https://github.com/GavinTPA/ai-powerhouse-starter/tree/main/my-skills/pdf-forge
Command: npx skills add https://github.com/GavinTPA/ai-powerhouse-starter --skill pdf-forge

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

PDF creation from Markdown often requires manual formatting, branding, and layout work to produce professional documents. This Skill automates that process, delivering branded, print-ready PDFs with consistent typography and visuals.

Core Features & Use Cases

  • Brand-aware PDF generation from Markdown with WeasyPrint, including cover pages, auto-generated table of contents, and consistent typography.
  • Support for multiple templates (research-report, guide, letter, workshop-guide) and brand configurations from brands/ directories.
  • Automated layout safeguards such as smart page breaks and embedded fonts to ensure professional results across platforms.
  • Use Case: Generate client-facing reports, training guides, or product briefs that align with your brand identity.

Quick Start

Provide your Markdown source, choose a brand, and ask PDF Forge to generate a branded PDF.

Frequently Asked Questions about pdf-forge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Markdown to a branded PDF automatically?

Convert Markdown to a branded PDF by applying YAML frontmatter-driven branding and WeasyPrint to generate print-ready documents with consistent typography, cover pages, and auto-generated tables of contents.

Can I use YAML frontmatter to apply custom branding to Markdown documents?

Yes, YAML frontmatter drives the branding process by configuring visual identity elements, enabling template auto-detection for formats like research reports, guides, and letters to ensure consistent brand application across PDFs.

Does WeasyPrint support smart page breaks and font embedding for PDF generation?

WeasyPrint supports robust page-break controls and embedded fonts, ensuring professional layout results and consistent typography across different platforms when generating branded PDF documents from Markdown content.

What is the best way to generate client-facing reports from Markdown?

The best way to generate client-facing reports from Markdown is using template auto-detection with WeasyPrint, which applies predefined brand configurations to create cover pages, tables of contents, and consistent document layouts.

Are there prebuilt templates for product guides and training materials?

Yes, prebuilt templates are available for research reports, guides, letters, and workshop guides, allowing you to automatically format Markdown content into branded PDFs suitable for client reports and training materials.