视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
lov-pdf2png【文档与办公】Convert PDF files to a single vertically concatenated PNG image using macOS native CoreGraphics. Each page is rendered at 2x scale and stitched top-to-bottom. ~20x faster than pdftoppm+ImageMagick, zero external dependencies on macOS. Trigger when the user mentions "pdf to png", "pdf转png", "PDF转图片", "pdf拼接", "pdf截图", "convert pdf to image", or wants …
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
pip install pyobjc-framework-Quartz).
Uses native CoreGraphics + AppKit via Python bridge.
metadata:
author: contributors
version: "0.2.1"
tags: pdf png macos coregraphics finder-actionConvert multi-page PDF files into a single tall PNG image. All pages are rendered at 2x scale (Retina quality) and stitched vertically. Uses macOS CoreGraphics directly — no pdftoppm, no ImageMagick, no Ghostscript.
Locate the PDF file(s) the user wants to convert. If multiple PDFs or output
location choices are ambiguous, use AskUserQuestion to confirm the path(s)
before running conversion.
bash lov-pdf2png/scripts/pdf2png.sh /path/to/file.pdf
Output: /path/to/file.png (same directory, same name, .png extension).
For multiple files:
bash lov-pdf2png/scripts/pdf2png.sh file1.pdf file2.pdf file3.pdf
Check the output file exists and report its size.
| Argument | Description |
|---|---|
file1.pdf [file2.pdf ...] | One or more PDF files to convert |
Output is always <input>.png in the same directory as the input file.
This skill can also be installed as a macOS Finder Quick Action for right-click conversion. See skill-publisher/mac-pdf2png for the Automator workflow.
pip install pyobjc-framework-Quartz --break-system-packages
运行前读取本 Skill 包的 skill.yaml,由宿主提供 skill-runtime/v1 上下文。字段解析顺序为:当前请求、项目上下文、个人 Preferences、品牌 Profile、通用默认值。
required: true 字段缺失时,按 Manifest 的问题配置向用户提出一个聚焦问题;用户明确同意后再保存回答。context_id、字段路径与来源,诊断内容避开秘密、完整私人路径和原始配置。用户在 Skill 驱动任务中提出修改意见时,继续当前产物前必须执行:
task-specific(仅本次)还是 reusable(可跨任务复用)。task-specific 只修改当前任务,不改 Skill。reusable 先确定作用域:领域规则先更新对应 canonical Skill;适用于所有 Skill 的规则先更新共享规范。reusable 修改会使此前的“确认”“继续”“发吧”失效;完成当前产物修改和回读后必须停下,等待用户下一步指示,不自动进入发布、提交或其他外部写入。