skills/skill-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"
testing
Merge a GitHub pull request, merge when green, use a merge queue, or decide whether a pull request is mergeable. Use only for explicit merge intent, not ordinary review.
development
Generate premium performance audit reports for web apps, APIs, or SaaS surfaces with metrics, findings, budgets, remediation plans, and manifest metadata.
data-ai
Generate premium customer feedback reports from reviews, support tickets, surveys, call notes, or raw feedback with clusters, sentiment, root causes, roadmap recommendations, evidence, and manifest metadata.
development
Generate high-quality PDF documents from markdown, HTML, or templates