App Store Assets
Turn an app's codebase or landing page into an upload-ready App Store asset
set: screenshots for each required display class plus optional creative
assets, rendered from HTML by headless Chrome and verified against Apple's
specs. Prime directive: show only what the shipped app does. Never invent UI,
features or claims (App Review Guideline 2.3).
Terms used throughout:
- asset set:
<out>/ holding src/, one folder per display class, creative/, sheets/ and PLAN.md.
- display class:
iphone-6.9, iphone-6.3, ipad-13 or mac.
- grounded screen: a recreated screen whose elements trace to a cited view (
path:line) or a landing-page image.
- clean capture: a real screenshot that passes the checklist in
references/input-discovery.md.
- overclaim: anything a frame shows that the shipped build cannot do.
- pre-authorized run: the request fixes the direction, frames and UI source, or delegates them ("just build it", "pick whatever looks good", "don't ask").
When to Use
Use when someone needs App Store screenshots or header/search creative assets
for an iPhone, iPad or Mac app, from its code or landing page, or wants an
existing asset set edited and re-rendered. Not for listing copy, review
audits, app icons, preview videos, or Google Play assets.
Workflow overview
Step 0 branch → 1 discover → 2 refresh specs → 3 plan and approve → 4 build →
5 render and verify → 6 review → 7 hand off. After each step, print a Step
Completion Report: √/× rows tied to commands, files or counts, then
Result: PASS | FAIL | PARTIAL.
Step 0 — Select the branch
| Condition | Branch |
|---|
The input holds an Xcode project, Package.swift, Swift sources, or a Flutter/React Native app with an ios/ or macos/ target | Codebase: Steps 1–7 |
The input is a landing-page URL or .html file, with no codebase | Landing page: Steps 1–7; screens come only from page imagery |
<out>/src/config.js exists and the user asks for edits or a re-render | Update: edit config.js, then Steps 5–7 |
| Only watchOS, tvOS or visionOS, or no Apple target | Stop: report BLOCKED with the reason; write nothing |
| No input named or found | Ask for the codebase path or landing-page URL; write nothing |
Prerequisites: run python3 <skill>/scripts/render.py --preflight. It requires Pillow and
Chrome or Chromium and prints the fix for a missing one (use the project's venv when it has
one). If it fails, report BLOCKED. Without the Agent tool, run Steps 1 and 6 inline and say so.
For a landing page, confirm the user publishes the app before building; never make assets
for someone else's app.
Repo Sync Before Edits (mandatory)
Before the first write of Step 4 (the backup included), sync the repo that will hold <out>.
Skip it, and record why, when that folder is not in a git repo or the repo has no origin.
repo="$(git -C "<existing parent of out>" rev-parse --show-toplevel)"; branch="$(git -C "$repo" rev-parse --abbrev-ref HEAD)"
[ -n "$(git -C "$repo" status --porcelain)" ] && git -C "$repo" stash push -u -m appstore-assets-presync && stashed=1
if git -C "$repo" fetch origin && git -C "$repo" pull --rebase origin "$branch"; then sync=ok
elif [ -d "$repo/.git/rebase-merge" ] || [ -d "$repo/.git/rebase-apply" ]; then git -C "$repo" rebase --abort; sync=conflict
else sync=failed; fi
[ "${stashed:-0}" = 1 ] && git -C "$repo" stash pop
sync=failed (network, auth, missing branch): record it and continue. sync=conflict:
write nothing and ask the user how to continue. This skill never commits, pushes or uploads.
Dependency Preflight (mandatory)
This skill optionally invokes frontend-design (Step 3), emil-design-eng (Step 6) and
browse (landing-page fetch), declared in frontmatter dependencies. Before Step 1:
command -v asm >/dev/null || echo "asm not installed: npm install -g agent-skill-manager"
asm deps discover "<this skill's directory>" --json
printf 'aa_session=%s\n' "appstore-assets-$(date +%s)-$$" # record it; reuse it verbatim
At a dependency's first use, run asm deps acquire <reference> --session <aa_session> --json
with its frontmatter reference, and read the returned skillMdPath. Without asm, look for
~/.claude/skills/<name>/SKILL.md or ~/.agents/skills/<name>/SKILL.md. Never acquire a
dependency whose step is not reached. At the end, including an early stop, run
asm deps release --session <aa_session> --json. All three are fail-soft: without
frontend-design or emil-design-eng, use references/design-direction.md and note it
under Uncertainty; without browse, use the host's web-fetch tool.
Step 1 — Discover (explorer subagent)
Spawn the explorer. Input: agents/app-explorer.md, references/input-discovery.md, the
input path or URL, and whether browse is available. Output: the app brief JSON. Do not
read the source tree yourself in this step; the explorer keeps it out of your context budget.
Bar: every platform carries evidence and every screen has a source. If stop_reason is set, take the Stop branch.
Step 2 — Refresh Apple's specs
Fetch the three source URLs in references/apple-specs.md and compare the required classes
and sizes. The kit's sizes are fixed in render.py and check_assets.py, so if a class
changed, render only the unchanged classes, report PARTIAL, and list each difference. If
the fetch fails, use the snapshot and record its date under Uncertainty.
Bar: each platform's required display class and pixel size are named.
Step 3 — Plan and approve
Read references/apple-guidelines.md and references/design-direction.md. Acquire
frontend-design and apply its Design Thinking to the marketing canvas only, with the
app's brand as the explicit brief.
- Choose 3–10 frames. The first three carry the core promise.
- Give each frame a two-line headline, an optional supporting line, and one screen.
- Choose each screen's UI source: a clean capture first, then a grounded screen. If neither exists, drop the frame.
- Remove every overclaim. For sensitive features, reuse the brief's
approved_wording.
- Ask one combined question: direction (2–3 options), frame list, UI source, extras (creatives, preview page).
- If the run is pre-authorized, state the plan in one line and continue. Extras stay off unless requested.
- If the brief has no screens (no readable views and no page UI), ask for simulator captures instead.
Bar: the plan is approved or pre-authorized, and nothing was written before that. If the run
ends unanswered, report BLOCKED with the pending question as the Decision.
Step 4 — Build the asset set
- Set
<out>: the user's path; else metadata/screenshots/<version>/ when the repo has metadata/; else appstore-assets/<version>/ at the repo root (the working directory in landing-page mode). Without a version, use today's date. For several languages, add a <locale>/ level per set.
- Run the repo sync. If
<out> exists outside the Update branch, move it to <out>.bak-<timestamp> and record the move.
- Copy
assets/template/ to <out>/src/, then run scripts/fetch_font.py "<caption face>" <out>/src. Offline, delete fonts.display from config.js and record it.
- Copy clean captures to
<out>/src/captures/ and any logo the UI shows to <out>/src/.
- Open each selected screen's cited view, then rewrite
config.js with references/render-pipeline.md. Put // Source: path:line above every screen builder.
- Write
<out>/PLAN.md: per frame, the id, headline, UI source, evidence, and any element left out on purpose (for example a "Coming soon" row).
Bar: grep -c "TODO:" <out>/src/config.js prints 0, and every screen builder cites a source.
Step 5 — Render and verify
python3 "<skill>/scripts/render.py" <out>/src
python3 "<skill>/scripts/check_assets.py" <out> --platforms <list> --sheet <out>/sheets
render.py also fails on unknown icons, missing images and caption contrast below 3:1
(headline) or 4.5:1 (supporting line), and removes PNGs of dropped frames. If a script
fails, apply the fix it prints and re-run it. Bar: both commands exit 0.
Step 6 — Review and polish
- View every sheet in
<out>/sheets/. Fix text overlapping a device, clipped strings and blank screens.
- Acquire
emil-design-eng and spawn a polish worker with the slice and task in references/design-direction.md. Apply its accepted rows to config.js only (css and brand tokens), then re-run Step 5.
- Spawn a fresh reviewer, never the builder. Input:
agents/asset-reviewer.md, references/apple-guidelines.md, the full-size PNGs, config.js, PLAN.md, the brief, and source access.
- If the verdict is
NEEDS_FIX, fix each blocking finding, re-run Step 5, and spawn a new reviewer. Stop after two fix cycles.
Bar: the latest verdict is PASS on the latest render, or two cycles ran and the report is PARTIAL.
Step 7 — Hand off
If the user asked for a preview, publish a gallery of the sheets with the host's page tool,
or point to <out>/src/index.html opened without a query string. Never upload: offer
asc, fastlane deliver or a manual App Store Connect upload as a next step that needs
approval. Release the dependency session.
Edge Cases
- Captures with QA data, an open keyboard or old UI are not clean: use grounded screens and say why.
- A feature gated by an entitlement the project lacks (CarPlay, HealthKit, Watch) is never drawn.
- "Coming soon" and roadmap features stay out of frames and captions; record the omission in
PLAN.md.
- An iPhone-only app needs no iPad set, even though it runs on iPad.
- Rendering on Linux replaces SF Pro in the UI: record it under Uncertainty.
Acceptance Criteria
A run is COMPLETE only when you verify every item:
Final report
Expected output: open with the result and keep the four labels.
Result: COMPLETE | PARTIAL | BLOCKED — <what was produced, where, frames per class>
Evidence: <checks that ran: render.py and check_assets.py summaries, lowest contrast, reviewer verdict, spec refresh, sync>
Uncertainty: <recreated or approximated screens to verify on a build, classes not rendered, fallbacks, assumptions>
Decision: <the approval needed next (upload, commit, a dropped frame), or "No approval needed">
PARTIAL means assets exist but a check or blocking finding remains; BLOCKED means no assets
were written. State that nothing was committed or uploaded, and name the recreated frames.
When grading runs, also check that a reader finds the result first, can tell verified facts
from assumptions, can trace each claim to evidence, and sees the next decision. Without a
human review, mark that understanding as unconfirmed.
Reference files
references/apple-specs.md: sizes, required classes, creative specs, source URLs (Steps 2, 5).
references/apple-guidelines.md: content rules, overclaim traps, story and captions (Steps 3, 6).
references/input-discovery.md: where each brief field comes from (explorer slice, Step 1).
references/design-direction.md: frontend-design and emil-design-eng mapping, polish checklist (Steps 3, 6).
references/render-pipeline.md: asset set layout, commands, config shape, kit API, troubleshooting (Steps 4, 5).
agents/app-explorer.md and agents/asset-reviewer.md: worker contracts (Steps 1, 6).