Skip to content
Back to skills

Pdf Generator

ASecurity

从HTML、Markdown或文本内容生成PDF文档,支持模板、样式和页面配置。

  • 85 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 7, 2026
toolspythonbashgit

Works with

  • claude code

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add AIDotNet/MoYuCode --skill pdf-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pdf Generator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pdf Generator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aidotnet-pdf-generator/badge)](https://www.skillsdirectory.com/skills/aidotnet-pdf-generator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pdf-generator
description: 从HTML、Markdown或文本内容生成PDF文档,支持模板、样式和页面配置。
metadata:
  short-description: 从HTML/Markdown生成PDF
source:
  repository: https://github.com/foliojs/pdfkit
  license: MIT
---

# PDF Generator Tool

## Description
Generate PDF documents from HTML, Markdown, or text with customizable styling and layout.

## Trigger
- `/generate-pdf` command
- User requests PDF generation
- User needs to export document as PDF

## Usage

```bash
# Generate PDF from Markdown
python scripts/generate_pdf.py --input "document.md" --output "document.pdf"

# Generate PDF from HTML
python scripts/generate_pdf.py --input "report.html" --output "report.pdf" --format html

# Generate PDF with custom options
python scripts/generate_pdf.py --input "doc.md" --output "doc.pdf" --title "My Report" --author "John" --page-size A4
```

## Tags
`pdf`, `document`, `export`, `markdown`, `html`

## Compatibility
- Codex: ✅
- Claude Code: ✅

Files in this skill

  • SKILL.md1001 B
  • scripts/generate_pdf.py7.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.