react-pdf SKILL.md skillB
react-pdf from wpgaurav/wordpress-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add wpgaurav/wordpress-skills/react-pdf@git:20261024.783ca3dPins git:20261024.783ca3d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- wpgaurav/wordpress-skills
- Path
skills/frontend/react-pdf/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261024.783ca3d, committed Oct 24, 2026
- First version recorded
- Mar 30, 2026
- Size
- 11,696 bytes
- Repository stars
- 19
- License
- MIT
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
> From [molefrog/skills](https://github.com/molefrog/skills) by molefrog. Copyright (c) 2025, used under the MIT License. See [NOTICE.md](../../../NOTICE.md).
# Generating PDFs with React-PDF
## CRITICAL REQUIREMENTS
1. **Fonts MUST be local files** - Remote font URLs (http/https) do NOT work. Always download fonts
to local files before using them.
2. **Wrap async code in IIFE** - Top-level await causes errors. Always use `(async () => { ... })()`
pattern.
3. **Disable hyphenation for custom fonts** - Custom fonts lack hyphenation dictionaries and may
crash or break words incorrectly. Always call
`Font.registerHyphenationCallback((word) => [word]);` after registering custom fonts.
## Files
- `references/google-fonts.txt` - Metadata for ~65 popular Google Fonts with TrueType URLs. Each
line is a font variant in tab-separated format: `font name`, `style`, `category`, `weight`, `url`.
- `references/components.md` - Full component API reference and supported CSS properties
- `assets/example-template.tsx` - Minimal working example demonstrating fixed footers, page numbers,
…Read the whole file at its exact version.
How to install
mdr add wpgaurav/wordpress-skills/react-pdf@sha256:2deb263f6b0708f2The line at the top of this page pins the label git:20261024.783ca3d, 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_r2cvkacwximqalju)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Mar 30, 2026 and Oct 24, 2026, about one every 207 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261024.783ca3d latest | 2026-10-24 | 783ca3d | 11,696 B | B | view · diff |
| git:20260330.1e42c4b | 2026-03-30 | 1e42c4b | 11,469 B | B | view |
Audit of the latest version
- fail: Frontmatter declares a description
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Size between 200 bytes and 200 KB (11696 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
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
wpgaurav/wordpress-skills · 19 stars · license MIT · pushed 2026-10-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_r2cvkacwximqalju GET https://markdownregistry.com/api/v1/resolve?ref=wpgaurav/wordpress-skills/react-pdf GET https://markdownregistry.com/api/v1/blob/2deb263f6b0708f2faca848f5b5b937bd3249c6ae73405896901c9abdf7031b7
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.