ios-marketing-capture-automation — Claude Code skill: how to install
Automates localized App Store screenshot generation for SwiftUI apps using an in-process capture harness instead of XCUITest targets.
npx skills add reason-machines/marketing-skills --skill ios-marketing-capture-automation -a claude-codeWhat ios-marketing-capture-automation 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.
What it helps with
- 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 for the agent
- 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
How to install ios-marketing-capture-automation
1Skills CLI (Vercel)
npx skills add reason-machines/marketing-skills --skill ios-marketing-capture-automation -a claude-code2Manually: put the files in place
~/.claude/skills/ios-marketing-capture-automation/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ios-marketing-capture-automation/
1Skills CLI (Vercel)
npx skills add reason-machines/marketing-skills --skill ios-marketing-capture-automation -a codex2Manually: put the files in place
.agents/skills/ios-marketing-capture-automation/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/marketing-skills --skill ios-marketing-capture-automation -a cursor2Manually: put the files in place
.cursor/skills/ios-marketing-capture-automation/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/marketing-skills ios-marketing-capture-automation2Manually: put the files in place
.github/skills/ios-marketing-capture-automation/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/marketing-skills --skill ios-marketing-capture-automation -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/marketing-skills --path skills/ios-marketing-capture-automationManually: put the files in place
.devin/skills/ios-marketing-capture-automation/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/marketing-skills --skill ios-marketing-capture-automation -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about ios-marketing-capture-automation
How do I install ios-marketing-capture-automation in Claude Code?
Run npx skills add reason-machines/marketing-skills --skill ios-marketing-capture-automation -a claude-code. This installs the skill directly into Claude Code.
Why does this skill run inside the app instead of using XCUITest?
In-process execution removes the friction of adding and editing test targets in Xcode project files. It also grants direct access to SwiftData state and enables isolated component exports with ImageRenderer.
What environment prerequisites are needed?
You need Xcode 16 or newer, an iOS 17 deployment target, Python 3, and a matching simulator runtime.