export-resume-pdf
Export a web-resume YAML file or URL to a verified PDF. Use when the user asks to generate, print, render, or batch-create PDF resumes from this repository.
来源信息
- 仓库
- YunYouJun/web-resume
- 最近来源活动
- 2026年9月1日 08:32
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 235
- 分支
- 25
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
2 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- export-resume-pdf
- description
- Export a web-resume YAML file or URL to a verified PDF. Use when the user asks to generate, print, render, or batch-create PDF resumes from this repository.
# Export Resume PDF
Use the repository CLI as the single export implementation:
```bash
pnpm export:pdf -- --input <path-or-url> --output <pdf-path>
```
Run `pnpm export:pdf -- --help` when options are needed. Keep generated PDFs outside version control unless the user requests otherwise.
For an Access-protected URL, use `CF_ACCESS_CLIENT_ID` and `CF_ACCESS_CLIENT_SECRET` from the environment. The Access application must include a Service Auth policy for that token. Keep credentials in the Node process environment and out of prompts, command output, URLs, and browser code.
After export, require all of these completion criteria:
- The command exits successfully and the output starts with `%PDF-`.
- `pdfinfo` reports at least one A4 page.
- Text extracted with `pdftotext` or `pdfplumber` contains the resume name and representative section text.
- Render every page to PNG with `pdftoppm` and inspect for clipping, overlap, missing glyphs, or blank pages.
Report missing browser binaries, Access authorization, invalid YAML, and rendering failures as distinct blockers.
在 GitHub 查看