make-pdf
A skill in Garry Tan's gstack collection that turns a Markdown file into a typeset PDF.
What the skill teaches
A skill in Garry Tan's gstack collection that turns a Markdown file into a typeset PDF. The agent first checks that gstack's make-pdf binary has been built, then runs it to render a document, optionally with a cover page, table of contents or a diagonal draft watermark, or opens an HTML preview in a browser for quicker iteration. Printing goes through the Aside browser on macOS when it is running and otherwise through gstack's own headless browser. It only works after gstack has been installed and its setup script run, and the skill begins with gstack's shared start-up and telemetry preamble.
Capabilities
- Render a Markdown file to PDF
- Add a cover page and table of contents
- Stamp a draft watermark on pages
- Preview the rendered HTML in a browser
About
- Publisher
- Garry Tan
- Tool
- Documents
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- SKILL.md.tmpl
- src/asideClient.ts
- src/cli.ts
- src/commands.ts
- src/diagram-prepass.ts
- src/docx-images.ts
- src/html-to-docx.d.ts
- src/html-to-vdom.d.ts
- src/image-policy.ts
- src/image-size.ts
- src/orchestrator.ts
- src/pdftotext.ts
- src/print-css.ts
- src/render.ts
- src/setup.ts
- src/smartypants.ts
- src/toc-pages.ts
- src/types.ts
- test/asideClient.test.ts
- test/cli-args.test.ts
- test/cli-exit-codes.test.ts
- test/diagram-prepass.test.ts
- test/docx-image-size.test.ts
- test/e2e/ci-prereqs.test.ts
- test/e2e/combined-gate.test.ts
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Documents | |
| Publisher | Garry Tan | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026141,174 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Copies of this skill in other repositories (1)
These differ from this skill's text. They may be adapted copies or older versions.
- make-pdfalmeidamarcell/claude-code-skills
More from Garry Tan
27 skills
All 27 from Garry Tan →Also listed under: Documents
Sources
- Skill file (SKILL.md)github.com/garrytan/gstackNov 10, 2026
- Licence file (LICENSE)github.com/garrytan/gstack · Backs: Licence, PublisherNov 12, 2026
- GitHub repositorygithub.com/garrytan/gstack · Backs: Activity, LicenceNov 11, 2026
- Folder in the repository (make-pdf)github.com/garrytan/gstack · Backs: Includes scriptsNov 10, 2026