Skip to main content

make-pdf

make-pdf

Catalogue généré le 2026-05-11

En une phrase

Turn any markdown file into a publication-quality PDF.

Quand l'utiliser

  • Use when asked to "make a PDF", "export to PDF", "turn this markdown into a PDF", or "generate a document". (gstack) Voice triggers (speech-to-text aliases): "make this a pdf", "make it a pdf", "export to pdf", "turn this into a pdf", "turn this markdown into a pdf", "generate a pdf", "make a pdf from", "pdf this markdown".

Comment l'invoquer

  • Slash command : /make-pdf (si exposé dans ton CLI)
  • Voice triggers : « make this a pdf » · « make it a pdf » · « export to pdf » · « turn this into a pdf » · « turn this markdown into a pdf » · « generate a pdf »
  • Phrases déclencheurs : voir la description complète ci-dessous
  • Auto-invocation : sur demande explicite

Description complète

Turn any markdown file into a publication-quality PDF. Proper 1in margins, intelligent page breaks, page numbers, cover pages, running headers, curly quotes and em dashes, clickable TOC, diagonal DRAFT watermark. Not a draft artifact — a finished artifact. Use when asked to "make a PDF", "export to PDF", "turn this markdown into a PDF", or "generate a document". (gstack) Voice triggers (speech-to-text aliases): "make this a pdf", "make it a pdf", "export to pdf", "turn this into a pdf", "turn this markdown into a pdf", "generate a pdf", "make a pdf from", "pdf this markdown".

Pour aller plus loin

Preamble (run first)

MAKE-PDF SETUP (run this check BEFORE any make-pdf command)

If MAKE_PDF_NOT_AVAILABLE is printed: tell the user the binary is not built. Have them run ./setup from the gstack repo, then retry.

If MAKE_PDF_READY is printed: $P is the binary path for the rest of the skill. Use $P (not an explicit path) so the skill body stays portable.

Core commands:

  • $P generate <input.md> [output.pdf] — render markdown to PDF (80% use case)
  • $P generate --cover --toc essay.md out.pdf — full publication layout
  • $P generate --watermark DRAFT memo.md draft.pdf — diagonal DRAFT watermark
  • $P preview <input.md> — render HTML and open in browser (fast iteration)
  • $P setup — verify browse + Chromium + pdftotext and run a smoke test
  • $P --help — full flag reference

Output contract:

  • stdout: ONLY the output path on success. One line.
  • stderr: progress (Rendering HTML... Generating PDF...) unless --quiet.

(extrait — voir le SKILL.md complet pour la suite)

Source

  • Plugin : gstack
  • Nom interne : make-pdf
  • Fichier : /home/thymon/.claude/skills/gstack/make-pdf/SKILL.md