appstore-screenshots
将屏幕截图调整为 App Store 要求的尺寸。当将屏幕截图上传到 App Store Connect 失败并出现“尺寸错误”错误时使用。支持 iPhone 6.7"、6.5"、5.5" 和 iPad 尺寸。
📖 中文导读:将屏幕截图调整为 App Store 要求的尺寸。当将屏幕截图上传到 App Store Connect 失败并出现“尺寸错误”错误时使用。支持 iPhone 6.7"、6.5"、5.5" 和 iPad 尺寸。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: appstore-screenshots description: Resize screenshots to App Store required dimensions. Use when uploading screenshots to App Store Connect fails with "dimensions are wrong" error. Supports iPhone 6.7", 6.5", 5.5" and iPad sizes.
App Store Screenshots
Resize screenshots for App Store Connect.
Usage
python3 .claude/skills/appstore-screenshots/scripts/resize_screenshots.py <input_dir> [output_dir] [size]
Examples
# Default: 6.5" iPhone (1284x2778)
python3 .claude/skills/appstore-screenshots/scripts/resize_screenshots.py website/assets/screenshots/mobile/ios
# Specify output and size
python3 .claude/skills/appstore-screenshots/scripts/resize_screenshots.py ./screenshots ./appstore 6.7
Sizes
| Size | Dimensions | Devices |
|---|---|---|
6.7 |
1290×2796 | iPhone 15/14 Pro Max |
6.5 |
1284×2778 | iPhone 14 Plus, 13/12 Pro Max |
6.5-alt |
1242×2688 | iPhone 11 Pro Max, XS Max |
5.5 |
1242×2208 | iPhone 8/7/6s Plus |
ipad-12.9 |
2048×2732 | iPad Pro 12.9" |
ipad-11 |
1668×2388 | iPad Pro 11" |
Requirements
- Python 3
- Pillow:
pip install Pillow