skills/pdf-generate/SKILL.md
Generate high-quality PDF documents from markdown, HTML, or templates
npx skillsauth add hasna/skills pdf-generateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Turn anything into a PDF. Convert Markdown, HTML, or plain text into polished PDF documents. Includes templates for reports, contracts, and resumes with custom headers and footers. Perfect for generating official docs on the fly.
This is a CLI skill. It requires the
skillsCLI to execute. Install it withnpm install -g @hasna/skills, then run the commands below.
# Convert markdown file
skills run generate-pdf -- --file report.md --format A4
# Generate from template
skills run generate-pdf/template -- \
--template invoice \
--data '{"companyName":"Acme","total":"$1000"}'
# Capture a webpage
skills run generate-pdf/fromUrl -- --url https://example.com
| Option | Description | Default |
| ------------ | ------------------------------------------------ | --------- |
| --file | Input file path | - |
| --content | Inline content string | - |
| --format | Page size (A4, Letter, Legal) | A4 |
| --template | Use a preset (invoice, report, resume) | - |
| --url | Webpage URL to capture | - |
| --output | Custom output filename | (auto) |
skills run generate-pdf/template -- \
--template contract \
--data '{"party1":"Alice", "party2":"Bob", "date":"2025-10-01"}' \
--filename contract_signed.pdf
skills run generate-pdf -- --file README.md \
--css "body { font-family: Helvetica; }" \
--header "Project Documentation"
development
Fetch official brand assets from a website or brand name, then return logos, palette, typography, source metadata, and a clean asset manifest. Use when a user asks to find, extract, download, package, or normalize a brand's logo and visual identity assets.
tools
Generate hosted voiceover variants and short jingles
tools
Generate premium video highlight packages with clip plans, captions, thumbnails, chapter markers, social copy, edit decisions, and manifest metadata.
development
Generate premium API, unit, and browser test suite packages with runnable tests and coverage notes.