Token导航 LogoToken导航TokenDH.com
开发权限需确认github未标认证来源可访问许可证需确认审计通过

asc-screenshot-resizeasc 截图调整大小

Agent Skill

asc-screenshot-resize 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,245

周安装

526

GitHub Stars

774

下载量

4,292
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:asc-screenshot-resize(asc 截图调整大小)
来源仓库:https://github.com/rudrankriyam/app-store-connect-cli-skills
仓库路径:skills/asc-screenshot-resize
安装命令:
npx skills add https://github.com/rudrankriyam/app-store-connect-cli-skills --skill asc-screenshot-resize
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/rudrankriyam/app-store-connect-cli-skills --skill asc-screenshot-resize

简介

调整截图至 App Store Connect 要求的精确像素尺寸。

  • 使用 macOS 内置 sips 工具无需额外依赖。
  • 提供各机型接受尺寸对照表供参考。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 确保图片符合上传规范避免被拒绝。
  • asc-screenshot-resize 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

asc screenshot resize

Use this skill to resize screenshots to the exact pixel dimensions required by App Store Connect and validate they pass upload requirements. Uses the built-in macOS sips tool — no third-party dependencies needed.

Required Dimensions

iPhone

Display SizeAccepted Dimensions (portrait × landscape)
6.9"1260 × 2736, 2736 × 1260, 1320 × 2868, 2868 × 1320, 1290 × 2796, 2796 × 1290
6.5"1242 × 2688, 2688 × 1242, 1284 × 2778, 2778 × 1284
6.3"1206 × 2622, 2622 × 1206, 1179 × 2556, 2556 × 1179
6.1"1125 × 2436, 2436 × 1125, 1080 × 2340, 2340 × 1080, 1170 × 2532, 2532 × 1170
5.5"1242 × 2208, 2208 × 1242
4.7"750 × 1334, 1334 × 750
4"640 × 1096, 640 × 1136, 1136 × 600, 1136 × 640
3.5"640 × 920, 640 × 960, 960 × 600, 960 × 640

Note: 6.9" accepts screenshots from 6.5", 6.7", and 6.9" devices. 6.3" accepts from 6.1" and 6.3". 6.1" accepts from 5.4", 5.8", and 6.1".

iPad

Display SizeAccepted Dimensions
13"2064 × 2752, 2752 × 2064, 2048 × 2732, 2732 × 2048
11"1668 × 2420, 2420 × 1668, 1668 × 2388, 2388 × 1668, 1640 × 2360, 2360 × 1640, 1488 × 2266, 2266 × 1488
iPad Pro 2nd gen 12.9"2048 × 2732, 2732 × 2048
10.5"1668 × 2224, 2224 × 1668
9.7"1536 × 2008, 1536 × 2048, 2048 × 1496, 2048 × 1536, 768 × 1004, 768 × 1024, 1024 × 748, 1024 × 768

Apple Watch

DeviceDimensions
Ultra 3 (49mm)422 × 514, 410 × 502
Series 11 (46mm)416 × 496
Series 9 (45mm)396 × 484
Series 6 (44mm)368 × 448
Series 3 (42mm)312 × 390

Mac

| Dimensions | | --- | | 1280 × 800 | | 1440 × 900 | | 2560 × 1600 | | 2880 × 1800 |

Apple TV

| Dimensions | | --- | | 1920 × 1080 | | 3840 × 2160 |

Workflow

1. Fix Unicode filenames

macOS screenshots often contain hidden Unicode characters (e.g., U+202F narrow no-break space) that cause sips and other tools to fail with "not a valid file". Always sanitize first:

python3 -c "
import os
for f in os.listdir('.'):
    clean = f.replace('\u202f', ' ')
    if f != clean:
        os.rename(f, clean)
        print(f'Renamed: {clean}')
"

2. Check current dimensions

sips -g pixelWidth -g pixelHeight screenshot.png

3. Validate App Store readiness

Check for alpha channel and color space issues before uploading:

sips -g hasAlpha -g space screenshot.png

App Store Connect rejects screenshots with alpha transparency. Remove it by round-tripping through JPEG:

sips -s format jpeg input.png --out /tmp/temp.jpg
sips -s format png /tmp/temp.jpg --out output.png
rm /tmp/temp.jpg

Batch-strip alpha from all PNGs in a directory:

for f in *.png; do
  if sips -g hasAlpha "$f" | grep -q "yes"; then
    sips -s format jpeg "$f" --out /tmp/temp.jpg
    sips -s format png /tmp/temp.jpg --out "$f"
    rm /tmp/temp.jpg
    echo "Stripped alpha: $f"
  fi
done

4. Resize a single screenshot

# Portrait iPhone 6.5" (1284 × 2778)
sips -z 2778 1284 input.png --out output.png

Note: sips -z takes height first, then width: sips -z <height> <width>.

5. Batch resize all screenshots in a directory

mkdir -p resized
for f in *.png; do
  sips -z 2778 1284 "$f" --out "resized/$f"
done

6. Generate multiple device sizes from one source

mkdir -p appstore-screenshots
# iPhone
sips -z 2868 1320 input.png --out appstore-screenshots/iphone-6.9.png
sips -z 2778 1284 input.png --out appstore-screenshots/iphone-6.5.png
sips -z 2622 1206 input.png --out appstore-screenshots/iphone-6.3.png
sips -z 2532 1170 input.png --out appstore-screenshots/iphone-6.1.png
sips -z 2208 1242 input.png --out appstore-screenshots/iphone-5.5.png

7. Verify output

sips -g pixelWidth -g pixelHeight -g hasAlpha resized/*.png

Confirm all files show the target dimensions and hasAlpha: no.

Guardrails

  • sips stretches images to fit exact dimensions. For best results, use source screenshots captured at or near the target aspect ratio.
  • Always output to a separate file or directory (--out) to preserve originals.
  • App Store Connect requires PNG or JPEG format. sips preserves the input format by default.
  • Screenshots must not include alpha transparency. Always validate with sips -g hasAlpha before upload.
  • Color space must be sRGB. If screenshots use Display P3, convert with: sips -m "/System/Library/ColorSync/Profiles/sRGB IEC61966-2.1.icc" input.png --out output.png.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.64%
按下载量换算1,444

Claude

31.99%
按下载量换算1,373

Cursor

21.56%
按下载量换算925

Gemini CLI

10%
按下载量换算429

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills