Skip to content
Back to search

skills

MarketplaceWorks with Claude CodeGitHub

❈ Claude skill for generating high-quality PDFs using react-pdf

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/molefrog--skills/badge.svg)](/listings/molefrog--skills)

HTML

<a href="/listings/molefrog--skills"><img src="/api/listings/molefrog--skills/badge.svg" alt="findsafeskills safety rating" /></a>

Install

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 21 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. {
  2. "name": "skills",
  3. "owner": {
  4. "name": "molefrog"
  5. },
  6. "metadata": {
  7. "description": "Claude Code skills by molefrog",
  8. "version": "1.0.0"
  9. },
  10. "plugins": [
  11. {
  12. "name": "react-pdf",
  13. "description": "Generate PDF documents using React-PDF library (@react-pdf/renderer)",
  14. "source": "./",
  15. "strict": false,
  16. "skills": [
  17. "./skills/react-pdf"
  18. ]
  19. }
  20. ]
  21. }
README.md · README · 54 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. ```
  2. '########::'########::::'###:::::'######::'########:'########::'########::'########::::
  3. ##.... ##: ##.....::::'## ##:::'##... ##:... ##..:: ##.... ##: ##.... ##: ##.....:::::
  4. ##:::: ##: ##::::::::'##:. ##:: ##:::..::::: ##:::: ##:::: ##: ##:::: ##: ##::::::::::
  5. ########:: ######:::'##:::. ##: ##:::::::::: ##:::: ########:: ##:::: ##: ######::::::
  6. ##.. ##::: ##...:::: #########: ##:::::::::: ##:::: ##.....::: ##:::: ##: ##...:::::::
  7. ##::. ##:: ##::::::: ##.... ##: ##::: ##:::: ##:::: ##:::::::: ##:::: ##: ##::::::::::
  8. ##:::. ##: ########: ##:::: ##:. ######::::: ##:::: ##:::::::: ########:: ##::::::::::
  9. ..:::::..::........::..:::::..:::......::::::..:::::..:::::::::........:::..:::::::::::
  10. :'######::'##:::'##:'####:'##:::::::'##:::::::
  11. '##... ##: ##::'##::. ##:: ##::::::: ##:::::::
  12. ##:::..:: ##:'##:::: ##:: ##::::::: ##:::::::
  13. . ######:: #####::::: ##:: ##::::::: ##:::::::
  14. :..... ##: ##. ##:::: ##:: ##::::::: ##:::::::
  15. '##::: ##: ##:. ##::: ##:: ##::::::: ##:::::::
  16. . ######:: ##::. ##:'####: ########: ########:
  17. :......:::..::::..::....::........::........::
  18. ```
  19. A [Claude Code](https://docs.anthropic.com/en/docs/claude-code) skill for generating PDF documents
  20. with [React-PDF](https://react-pdf.org/) (`@react-pdf/renderer`).
  21. Install:
  22. ```
  23. npx skills add molefrog/skills --skill react-pdf
  24. # or as a claude code plugin
  25. /plugin marketplace add molefrog/skills
  26. /plugin install react-pdf@skills
  27. ```
  28. ## Why React-PDF over Python PDF libraries?
  29. Libraries like ReportLab, WeasyPrint, or fpdf2 work, but React-PDF has real advantages for
  30. AI-generated documents:
  31. - **Flexbox & grid layout** — powered by Yoga (Facebook's layout engine). Centering, columns,
  32. wrapping grids — it just works. No absolute coordinate math.
  33. - **SVG primitives** — `<Svg>`, `<Path>`, `<Circle>` are first-class components. Draw charts and
  34. icons inline without a separate graphics library.
  35. - **Component composition** — build PDFs like React components. Reusable headers, tables, cards —
  36. all composable with props. Declarative, not imperative.
  37. - **Google Fonts support** — register any TrueType font with `Font.register()`. The skill bundles a
  38. reference of ~65 popular Google Fonts with direct download URLs.
  39. - **Knuth-Plass line breaking** — the same algorithm used by TeX. Produces professionally typeset
  40. paragraphs with proper hyphenation.
  41. - **Smart page breaks** — `wrap`, `break`, `minPresenceAhead` control content flow across pages
  42. declaratively. Orphan/widow control built in.
  43. - **Emoji support** — register Twemoji assets and use emoji directly in text. No custom rendering logic needed.
  44. ## License
  45. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.