ScreenMarket ASO Screenshots
从 PRD / 产品文档 / App 截图,到可上传 App Store 的营销截图 PNG。默认按完整流程执行;用户若只要求某一阶段,可跳到对应步骤。
完整人工文档见仓库根目录 README.md。
安装
Cursor
git clone https://github.com/Lextellsyou/ScreenMarket-ASO-Screenshots.git
cp -R ScreenMarket-ASO-Screenshots ~/.cursor/skills/screenmarket-aso-screenshots
或在项目内使用:
mkdir -p .cursor/skills
cp -R ScreenMarket-ASO-Screenshots .cursor/skills/screenmarket-aso-screenshots
Codex / OpenAI Agents
将本仓库目录放到 Codex skills 路径,或通过 $screenmarket-aso-screenshots 引用已安装的 skill。
依赖
python3 -m pip install Pillow
需要 Python 3.9+。macOS / Linux 可直接使用;Windows 建议用 WSL 或确保系统有中文字体。
Quick Start
- 准备 PRD 或产品说明,例如
docs/prd.md。 - 准备 1–10 张竖屏 App 截图,例如
screens/。 - 对 Agent 说:
Use $screenmarket-aso-screenshots.
PRD: docs/prd.md
Screenshots: screens/
生成 5 张 App Store 截图,检查截图质量,从 PRD 推断主题色,导出 PNG。
- Agent 应:分析产品 → 起草卖点文案 → 检查截图 → 生成
config.json→ 运行渲染脚本 → 做 QA。 - 检查
output/下 PNG 与manifest.json,按需调整文案、顺序、配色或截图配对后重新渲染。
最低输入:一份 PRD/产品描述 + 每张成品图对应一张竖屏截图。
使用场景与提示词
完整流程(推荐)
Use $screenmarket-aso-screenshots.
PRD: docs/prd.md
Screenshots: screens/
生成 5 张 App Store 截图。先让我确认卖点文案,再检查截图、配对、渲染并做 QA。
只有 PRD,还没有截图
Use $screenmarket-aso-screenshots 分析 docs/prd.md,
输出 5 条截图方案(主标题、副标题、推荐页面、截图要求),并推断 themeColor。
已有截图,只要质量检查
Use $screenmarket-aso-screenshots 检查 screens/ 里的截图是否适合 App Store,
给出 Great / Usable / Retake 评级和重截建议。
已有 config,只要渲染
Use $screenmarket-aso-screenshots 用 output/config.json 渲染最终 PNG 到 output/appstore-screenshots。
从代码库分析(无 PRD)
Use $screenmarket-aso-screenshots 阅读这个 App 的代码和 UI,
提炼 5 个用户价值点并写截图文案,再等我提供截图。
Agent 工作流
- 阅读
references/workflow.md。 - 分析产品文档、App 描述或代码,提取目标用户、核心问题、功能、差异化。
- 起草 3–10 条用户价值导向的截图方案(含
headline、subheadline、asoKeywords、recommendedScreen、captureInstruction)。 - 暂停并请用户确认或修改文案(除非用户明确跳过)。
- 收集截图路径;用
scripts/inspect_screenshots.py做确定性检查,必要时补充视觉判断。 - 将每条确认的卖点与最能证明它的截图配对;无合适截图时给出重截说明,不要硬配。
- 编写渲染配置 JSON,运行
scripts/render_screenshots.py。 - 按
references/layout-spec.md做 QA,交付结果。
渲染配置 JSON
保存为例如 output/config.json,路径相对于配置文件所在目录。
{
"appName": "我的 App",
"width": 1284,
"height": 2778,
"themeColor": "#2f80ed",
"frameColor": "black",
"outputDir": "output/appstore-screenshots",
"items": [
{
"headline": "主标题",
"subheadline": "副标题说明价值",
"asoKeywords": ["搜索词1", "搜索词2"],
"benefit": "用户能获得什么",
"recommendedScreen": "对应 App 页面名",
"screenshotPath": "../screens/01.png",
"outputName": "01-feature.png"
}
]
}
| 字段 | 必填 | 说明 |
|---|---|---|
appName |
否 | 用于占位屏文案 |
width / height |
否 | 默认 1284x2778 |
themeColor |
否 | 十六进制品牌色,影响背景渐变 |
frameColor |
否 | 默认 black |
outputDir |
否 | 可被 --out 覆盖 |
items[].headline |
是 | 顶部主标题 |
items[].subheadline |
是 | 副标题 |
items[].screenshotPath |
建议 | 相对 config 文件的路径;空则显示占位 |
items[].outputName |
否 | 输出文件名,默认按序号+标题生成 |
模板:assets/templates/default-config.json。
Scripts
在 skill 根目录执行(或把路径换成你的安装位置)。
检查截图质量:
python3 scripts/inspect_screenshots.py ./screens --recommended-screen "学习概览页"
python3 scripts/inspect_screenshots.py ./screens --json
渲染 PNG:
python3 scripts/render_screenshots.py output/config.json --out output/appstore-screenshots
渲染成功会输出 manifest.json,包含每张图的尺寸与路径。
Defaults
- 画布:
1284x2778(iPhone 6.5 寸竖屏常用尺寸) - 格式:PNG
- 布局:顶部主标题 + 副标题,下方手机 mockup
- 主题:浅色背景,主色从 PRD/品牌推断
- 机框:默认黑色 iPhone 风格
- 禁止在用户截图上绘制灵动岛、刘海、摄像头或任何遮挡
- 禁止在用户截图与机框之间留白色描边或 1px 缝隙
- 截图评级:
Great/Usable/Retake
Workflow 阶段
- Benefit discovery:提取用户价值与 ASO 关键词
- Screenshot plan:为每条价值写标题、副标题、推荐页面、截图要求
- Screenshot inspection:评级并给出重截建议
- Pairing:卖点与截图一一对应
- Rendering:生成最终 PNG
- QA:尺寸、溢出、裁切、机框、风格一致性
References
references/workflow.md:完整 ASO 流程与决策规则references/layout-spec.md:排版、机框、QA 规则references/prompt-templates.md:分析、文案、检查提示词模板references/app-store-size-spec.md:App Store 尺寸与导出说明
Output Contract
任务结束时报告:
- 最终卖点列表
- 截图配对表(卖点 ↔ 文件 ↔ 评级)
- 生成文件路径与
manifest.json - 评级为
Usable或Retake的截图及建议 - 跳过生成或验证受限的项




