pdf-export SKILL.md skillA
pdf-export from d-padmanabhan/agent-engineering-handbook is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add d-padmanabhan/agent-engineering-handbook/pdf-export@git:20260523.a0d8894Pins git:20260523.a0d8894 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- d-padmanabhan/agent-engineering-handbook
- Path
skills/pdf-export/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260523.a0d8894, committed May 23, 2026
- Size
- 12,651 bytes
- Repository stars
- 20
- License
- MIT
Add client-side PDF export to a web app using jspdf + html2canvas-pro. Use when the user asks to download, save, or export the current page, a report, a slide deck, a chart, or any DOM element as a PDF. Covers single-element snapshots and multi-page documents with TOC bookmarks. No server, no Puppeteer at runtime - all browser-side.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Add client-side PDF export Wire a "Download PDF" feature into a React/TypeScript web app. The output is generated entirely in the browser - the user clicks a button, the SPA rasterizes the relevant DOM nodes, and `jspdf` assembles the PDF and triggers a download. ## When to trigger this skill - "Add a download PDF button..." - "Let users export this report / slide / dashboard / chart as a PDF" - "Save the current page as PDF" - "Print this to a file" - "We need PDF export" - Any time a developer asks for browser-native PDF generation (no server, no Puppeteer) Do **not** use this skill if the user wants: - Server-rendered PDFs (use Puppeteer / Playwright on a server) - Vector PDFs from data structures (use `pdfkit` or `pdfmake`) - "Print this page" with `window.print()` (that's a one-liner; just suggest it) ## Step 1: Clarify the scope Before writing code, ask the user 2 short questions if any of these are unclear: 1. **Single element or multi-page?** - One DOM element (a report, a card, a chart) -> Pattern A - A sequence of slides / pages / sections -> Pattern B …
Read the whole file at its exact version.
How to install
mdr add d-padmanabhan/agent-engineering-handbook/pdf-export@sha256:5c9fd079afb2c587The line at the top of this page pins the label git:20260523.a0d8894, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_t5twd37f6334x4my)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on May 23, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12651 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
d-padmanabhan/agent-engineering-handbook · 20 stars · license MIT · pushed 2026-10-30 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_t5twd37f6334x4my GET https://markdownregistry.com/api/v1/resolve?ref=d-padmanabhan/agent-engineering-handbook/pdf-export GET https://markdownregistry.com/api/v1/blob/5c9fd079afb2c587a9a8cad7f0c100ce91e47c07024b85c946dd9aa2853cf7f1
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.