一键导入
optimize-landing-page-images
Update and regenerate optimized landing page images from source screenshots.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update and regenerate optimized landing page images from source screenshots.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | optimize_landing_page_images |
| description | Update and regenerate optimized landing page images from source screenshots. |
Use this skill when the user asks to "update website images", "add new screenshots to the website", or "optimize images".
The landing page (docs/index.html) uses optimized WebP images stored in docs/assets/images/.
These images are generated from high-resolution PNG screenshots located in ShortcutCycle/App Store Connect Assets/Screenshots/.
A Python script scripts/optimize_images.py handles the resizing and conversion.
Check if the user has added new screenshots to ShortcutCycle/App Store Connect Assets/Screenshots/ or if they want to update existing ones.
If there are NEW files that are not yet being processed:
scripts/optimize_images.py.FILES_TO_PROCESS dictionary.
"New Feature.png")."new-feature").Execute the script from the project root:
python3 scripts/optimize_images.py
Note: The script automatically generates two versions for each screenshot:
filename.webp (1800px width)filename-small.webp (900px width).webp and -small.webp files exist in docs/assets/images/.docs/index.html.
<img srcset="..." sizes="..."> pattern for responsive loading.docs/index.html as examples.pip3 install Pillow)