puppeteerpdf

Generate pixel-perfect PDFs from web pages using Puppeteer, supporting custom headers, footers, and pagination, and enabling generation of authenticated pages via injected cookies.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "puppeteerpdf" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-34d38239f94457c05d5707d265edc90e31767116ea3a2bcabc42056ef6bbb134. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/puppeteer-pdf-renderer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Generate pixel-perfect PDFs from web pages using Puppeteer, supporting custom headers, footers, and pagination, and enabling generation of authenticated pages via injected cookies.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Puppeteer PDF 渲染器"
slug: "puppeteer-pdf-renderer"
version: "1.0.0"
displayName: "Puppeteer PDF 渲染器"
summary: "使用 Puppeteer 从网页生成像素级完美的 PDF,支持自定义页眉、页脚和分页。支持通过 Cookie 注入认证页面。"
license: "MIT"
description: "使用 Puppeteer 从网页生成像素级完美的 PDF,支持自定义页眉、页脚和分页。支持通过 Cookie 注入认证页面。"
github_stars: 94115
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Browser Automation"
framework: "Cursor"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 94115
  npm_package: "puppeteer"
  npm_weekly_downloads: 40191842

Puppeteer PDF 渲染器

Generates pixel-perfect PDFs from web pages using Puppeteer with custom headers, footers, and page breaks. Supports authenticated pages via cookie injection.

Installation

Use the upstream install or setup path that matches your environment:

  • npm i puppeteer # Downloads compatible Chrome during installation.
  • npm i puppeteer-core # Alternatively, install as a library, without downloading Chrome.

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供网页转PDF的完整解决方案
  • 支持自定义页眉页脚和分页控制
  • 支持通过Cookie注入访问认证页面
Trigger Precision85/100

Highlights

  • 触发描述清晰完整,覆盖主要功能点
  • frontmatter中description位置正确
Structure and Standards65/100

Areas to improve

  • 缺少具体使用步骤和示例 Reported severity: Minor

    文档缺少详细的使用步骤划分和端到端示例代码

    Recommendation: 建议添加具体的使用步骤说明和代码示例,帮助用户快速上手

Execution Reliability60/100

Areas to improve

  • 异常处理说明不足 Reported severity: Minor

    未覆盖主要异常场景的处理方案

    Recommendation: 建议添加网络错误、页面加载失败、认证失败等常见异常的处理说明

Evidence Verifiability (mean of the first four)71/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 29, 30
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • pptr.dev
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.