# ios-marketing-capture-automation

Automates localized App Store screenshot generation for SwiftUI apps using an in-process capture harness instead of XCUITest targets.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1000 installs · ★ 12
- Author: reason-machines
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/marketing-skills/tree/HEAD/skills/ios-marketing-capture-automation/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/ios-marketing-capture-automation

## What it does

This skill integrates an in-app capture coordinator protected by `#if DEBUG` statements. It runs entirely inside the app process, directly updating models and stepping through views. Each step pauses for layout rendering, captures the window, and uses `ImageRenderer` at 3x scale to export isolated components.

Localisation loops run via `scripts/capture-marketing.sh`. The project compiles once. Then it relaunches across multiple language environments using `simctl launch` with `-AppleLanguages`. Without Xcode 16 and an iOS 17 deployment target, this setup fails immediately because it requires `@Observable` support and synchronized folder groups.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/marketing-skills --skill ios-marketing-capture-automation -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/ios-marketing-capture-automation/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/ios-marketing-capture-automation/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/marketing-skills --skill ios-marketing-capture-automation -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/ios-marketing-capture-automation/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/marketing-skills --skill ios-marketing-capture-automation -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/ios-marketing-capture-automation/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/marketing-skills ios-marketing-capture-automation
```

2. **Manually: put the files in place**
- File: `.github/skills/ios-marketing-capture-automation/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/marketing-skills --skill ios-marketing-capture-automation -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/marketing-skills --path skills/ios-marketing-capture-automation
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/ios-marketing-capture-automation/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/marketing-skills --skill ios-marketing-capture-automation -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/marketing-skills/tree/HEAD/skills/ios-marketing-capture-automation/SKILL.md

## When to use it
- capture localized App Store screenshots across multiple languages
- export isolated SwiftUI views and widgets as transparent 3x PNG assets
- populate views with deterministic test records prior to rendering
- automate screen captures without maintaining a separate XCUITest target

## Example prompts
- Set up screenshot capture for all locales present in our xcstrings catalog
- Capture marketing screenshots for light and dark modes on the iPhone 17 simulator
- Export our dashboard widgets as standalone PNG elements using ImageRenderer

## Similar
- [vercel-react-native-skills](https://affpapa.org/en/nevibecode/skills/vercel-react-native-skills.md) — skill · 255200 installs
- [animate-expo](https://affpapa.org/en/nevibecode/skills/animate-expo.md) — skill · 137900 installs
- [mobile-native](https://affpapa.org/en/nevibecode/skills/mobile-native.md) — skill · 86600 installs
- [aso](https://affpapa.org/en/nevibecode/skills/aso.md) — skill · 75900 installs
- [paywalls](https://affpapa.org/en/nevibecode/skills/paywalls.md) — skill · 71000 installs
- [swiftui-pro](https://affpapa.org/en/nevibecode/skills/swiftui-pro.md) — skill · 35200 installs

From the same set: [reason-machines/marketing-skills](https://affpapa.org/en/nevibecode/by/reason-machines/marketing-skills.md) — 72 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
