feat: add make-pdf as a 6th skill in skills/ (Markdown → styled PDF)

Merged
TI
3mo ago
+9860-264

Restores the old-way Markdown→styled-PDF pipeline as a tool skill at skills/make-pdf/, installed with the main tree (npx skills add time-attack/gstack/skills). 5 judgment dispatchers unchanged in body; module headers re-add the P=make-pdf launcher binding (parity re-pinned, blessed). test:gstack2 green, parity 4367, 180 make-pdf unit tests pass, styled-PDF render proven.


Summary by cubic

Adds make-pdf as a standalone tool skill (Markdown → publication‑quality PDF) that ships with the canonical skills tree. The system now exposes six discoverable skills; the five judgment dispatchers are unchanged.

  • New Features

    • New skills/make-pdf tool skill with a compiled make-pdf CLI (generate|preview|setup) supporting PDF/HTML/DOCX, cover/TOC, diagrams (Mermaid/Excalidraw), image policy with auto‑landscape, smart typography, and print CSS.
    • Gated under the Browser capability and shipped via the runtime payload/launcher; parity manifests and docs updated to include the sixth skill.
    • Restored and expanded tests: unit + e2e gates for copy‑paste via pdftotext, diagrams, emoji rendering, and landscape promotion.
    • Dev script: bun run dev:make-pdf.
  • Migration

    • Install/update skills: npx skills add time-attack/gstack/skills (now surfaces make-pdf).
    • Ensure the Browser capability is installed; run make-pdf setup to verify Chromium and pdftotext.
    • Use make-pdf generate <input.md> [output.pdf] (add --to html|docx as needed).