make-pdf
Turns a Markdown file into a PDF with margins, page numbers, a cover page, running headers and a clickable table of contents.
- Kind
- Skill
- Works with
- Claude Code
- Source
- garrytan/gstack @ 01593aa67c94
- Path
- make-pdf/SKILL.md
- Jobs
- Documentation
- Topics
- Documents & files
Credit
- Made by
- garrytan
- Original
- github.com/garrytan/gstack/blob/01593aa67c94780528e8f5121e473…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/skills/make-pdf/ (the skill folder)
- 3 file(s) the skill refers to
- 35 other files in the folder: src/asideClient.ts, src/cli.ts, src/commands.ts, src/diagram-prepass.ts and 31 more
- Runs scripts
- Yes
- src/asideClient.ts
- src/cli.ts
- src/commands.ts
- src/diagram-prepass.ts
- Uses the network
- Yes
- HTTP client calls (src/diagram-prepass.ts)
- installs system packages (src/pdftotext.ts)
- HTTP client calls (src/render.ts)
- installs system packages (src/setup.ts)
- Needs secrets
- Yes
- SHORT_KEY
- Reads environment variables
- PPID
- MAKE_PDF_BIN
- SHORT_KEY
- JSON
- PRINT_DPI
- Reads outside the project
- $HOME/.claude/skills/gstack/bin/gstack-skill-start (SKILL.md)
- $HOME/.claude/skills/gstack/make-pdf/dist/pdf (SKILL.md)
- ~/.gstack/ (SKILL.md)
- ~/.claude/skills/gstack/[skill-name (SKILL.md)
- and 12 more
- Calls other skills
- /gstack-upgrade
- /skillname
- /ship
- /learn
- /codex
- /diagram
- and 30 more
- Value without its scripts
- High
- The main file never tells the agent to run a bundled script, so the text works without them.
- src/asideClient.ts: make-pdf's render client: final HTML → PDF through lib/aside-render's
- src/cli.ts: make-pdf CLI — argv parse, dispatch, exit.
- src/commands.ts: Command registry for make-pdf — single source of truth.
- src/diagram-prepass.ts: Diagram + image pre-pass. Runs between "read markdown" and render() in the
- Source revision
- 01593aa67c94
- Licence
- MIT
- Last activity
- 27 Nov 2026
- Source changed after the scan
- Yes
- Last push 27 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --> <!-- Regenerate: bun run gen:skill-docs --> ## When to invoke this skill 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". 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". ## Preamble (run first) ```bash _SS="$HOME/.claude/skills/gstack/bin/gstack-skill-start" [ -x "$_SS" ] || _SS=".claude/skills/gstack/bin/gstack-skill-start" "$_SS" --skill "make-pdf" --model "claude" --parent-pid "$PPID" \ || echo "SKILL_START: unavailable — stale install; run ./setup or /gstack-upgrade (preamble degraded, continue the user's task)" ``` Read the echoed `KEY: value` STATUS lines — they drive every preamble rule below. **Degraded mode:** if `SKILL_START_PROTO: 1` is missing from the output …