Skip to main content

png-to-webp

星标13
分支2
更新时间2026年6月30日 13:44

Convert a PNG (or other Pillow-readable image) to WebP — the enforced image format for SWUStats assets. Use when adding/replacing any raster asset (board backgrounds, icons, art) that is currently a .png/.jpg, or when asked to "make this a webp". Supports a quality param (1-100, default 70), optional resize, and producing the <base>.webp / <base>-mobile.webp board pair. Orchestrates DevTools/png-to-webp.py.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly