mcpField
A
asc-app-shots

asc-app-shots

github.com/tddworks设计与 UI590 次安装5 周前更新
代码仓库

关于 asc-app-shots

这是一个使用 `asc app-shots` 为 App Store 截图设计单页或多页画面的技能,适用于制作应用商店营销素材的团队。它提供模板、图库和主题流程,并支持可选的 Gemini AI 图像增强。

主要功能

  1. 01浏览并应用单页模板
  2. 02生成多屏图库截图
  3. 03应用可复用的主题设计
  4. 04使用 Gemini AI 增强截图
  5. 05预览并导出 HTML 或图像

适用场景

  1. 01为单张应用截图添加标题布局
  2. 02制作包含主视觉和功能页的截图组
  3. 03将同一主题应用于多张截图
  4. 04使用风格参考或提示词增强素材

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/tddworks/asc-cli-skills --skill asc-app-shots

安装后在 Claude Code 中输入/asc-app-shots确认已加载。

附带文件references/commands.md

详细介绍

asc-app-shots:App Store 截图设计器

三种工作流:

A:模板B:图库C:主题
流程浏览 → 应用 → 生成图库模板 → 所有屏幕模板 → ThemeDesign → 应用
屏幕单张多张(主视觉 + 功能)每张幻灯片
AI可选(Gemini 增强)可选1 次 AI 调用用于设计,其余步骤确定性执行

工作流 A — 单个模板

浏览模板,将其应用到截图,并可选择使用 Gemini AI 增强。

步骤 1 — 浏览并应用
asc app-shots templates list --output table
asc app-shots templates get --id top-hero --preview > preview.html && open preview.html

# Apply to screenshot → HTML preview
asc app-shots templates apply \
  --id top-hero --screenshot screen.png --headline "Ship Faster" \
  --preview html > composed.html && open composed.html

# Apply to screenshot → PNG export
asc app-shots templates apply \
  --id top-hero --screenshot screen.png --headline "Ship Faster" \
  --preview image --image-output marketing.png
步骤 2 — 使用 Gemini AI 增强(可选)
asc app-shots generate --file marketing.png
asc app-shots generate --file marketing.png --device-type APP_IPHONE_67
asc app-shots generate --file marketing.png --style-reference inspiration.png
asc app-shots generate --file marketing.png --prompt "warmer colors, deeper shadows"

工作流 B — 图库模板

协调一致的多屏幕套组(主视觉 + 功能屏幕)。

# Browse gallery templates
asc app-shots gallery-templates list --output table

# Preview all screens in horizontal strip
asc app-shots gallery-templates get --id neon-pop --preview > gallery.html && open gallery.html

# Get gallery details (JSON with shots, template, palette)
asc app-shots gallery-templates get --id neon-pop --pretty

图库模板包含可供自定义的示例内容(标题、徽章、信任标记)。


工作流 C — 主题截图

在模板上应用视觉主题。分两步进行:生成一次 ThemeDesign(1 次 AI 调用),然后以确定性方式将其应用到任意数量的截图。

步骤 1 — 浏览主题
asc app-shots themes list --output table
# → Cartoon, Joyful, Holiday, Zen, Neon, Nature, Retro, Space, Luxury

asc app-shots themes get --id luxury --pretty
asc app-shots themes get --id luxury --context   # AI prompt string
步骤 2 — 生成 ThemeDesign(1 次 AI 调用,可重复使用)
asc app-shots themes design --id luxury > design.json

返回包含 palette(背景 + textColor)和 decorations(带动画的浮动元素)的 JSON。

步骤 3 — 应用 ThemeDesign(确定性执行,不使用 AI)
# HTML preview
asc app-shots themes apply-design \
  --design design.json --template top-hero \
  --screenshot screen.png --headline "Ship Faster" \
  --preview html > themed.html

# PNG export
asc app-shots themes apply-design \
  --design design.json --template top-hero \
  --screenshot screen.png --headline "Ship Faster" \
  --preview image --image-output themed.png
替代方案:完整 AI 重设计(备用方案)
asc app-shots themes apply \
  --theme luxury --template top-hero \
  --screenshot screen.png --headline "Ship Faster"

逐张幻灯片使用 AI 重设计——速度较慢,但创意更丰富。当 design 不可用时,将回退到此方案。


命令参考

完整的标志表请参阅 references/commands.md。

模板
asc app-shots templates list [--size portrait] [--preview] [--output table]
asc app-shots templates get --id <ID> [--preview]
asc app-shots templates apply --id <ID> --screenshot <FILE> --headline <TEXT> [--preview html|image]
图库模板
asc app-shots gallery-templates list [--output table]
asc app-shots gallery-templates get --id <ID> [--preview]
主题
asc app-shots themes list [--output table]
asc app-shots themes get --id <ID> [--context]
asc app-shots themes design --id <ID>
asc app-shots themes apply-design --design <FILE> --template <ID> --screenshot <FILE> --headline <TEXT>
asc app-shots themes apply --theme <ID> --template <ID> --screenshot <FILE> --headline <TEXT>
生成(Gemini AI)
asc app-shots generate --file <FILE> [--device-type <TYPE>] [--style-reference <FILE>] [--prompt <TEXT>]
导出与配置
asc app-shots export --html <FILE> --output <PNG>
asc app-shots config --gemini-api-key <KEY>

可用模板

类别模板
醒目Top Hero、Bold CTA、Tilted Hero
简约Minimal Light、Device Only
优雅Dark Premium、Sage Editorial、Cream Serif、Ocean Calm、Blush Editorial
专业Top & Bottom、Left Aligned、Bottom Text
活泼Warm Sunset、Sky Soft、Cartoon Peach、Cartoon Mint、Cartoon Lavender
展示Duo Devices (2)、Triple Fan (3)、Side by Side (2)

可用主题

主题风格
Cartoon粗描边、明亮的纯色、活泼的形状
Joyful五彩纸屑、闪光、暖色渐变
Holiday节日装饰、雪花
Zen宁静、简约、飘落的树叶
Neon深色背景、发光的霓虹点缀
Nature有机形状、花瓣、水彩
Retro复古色盘、几何元素、80 年代/90 年代风格
Space宇宙背景、闪烁的星星
Luxury金色点缀、深色背景、优雅风格

Gemini API 密钥

解析顺序:

  1. --gemini-api-key 标志
  2. $GEMINI_API_KEY 环境变量
  3. ~/.asc/app-shots-config.json(通过 asc app-shots config)

设备尺寸

设备类型宽 × 高必需
APP_IPHONE_691320 × 2868✅
APP_IPHONE_671290 × 2796✅
APP_IPHONE_651260 × 2736✅
APP_IPAD_PRO_1292048 × 2732✅

评论

支持 Markdown