iOS Marketing Capture skill
A skill that builds in-app screen and element capture for a SwiftUI app and loops it across every locale for the App Store
- 264 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- Adds code to your main target and edits some project files
- Runs Xcode builds and simulator commands on your machine
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/ios-marketing-captureDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Adds code to your main target and edits some project files
- Runs Xcode builds and simulator commands on your machine
This is third-party code. Review the repository files before installing.
What it does
The skill walks the agent through building a marketing screenshot capture system inside a SwiftUI app itself, without a separate UI test target. It adds a DEBUG-gated capture file to the main target, seeds demo data so screens look populated, and a step-based coordinator visits each screen and snapshots the full window including the status bar and presented sheets. Isolated components such as cards, widgets and charts are rendered through ImageRenderer at 3x scale with transparency around the rounded corners. A script builds the app once and relaunches it per locale via AppleLanguages arguments, sorting the PNGs into per-locale folders. Guidance for eleven real capture bugs found during development is baked in, so the agent avoids them on its own.
Who it is for. For SwiftUI iOS developers and indie authors who need App Store screenshots of their app in several languages.
Good fit when
- You need marketing screenshots of a SwiftUI app across several locales
- You need cards, widgets or charts rendered as standalone PNGs
- You want reproducible capture without a separate UI test target or Fastlane
Not a fit when
- The app is not SwiftUI or the project is not iOS
- You have no Xcode or a simulator matching the target iOS version
Example request
Capture marketing screenshots of my app across all locales and render the cards and widgets as separate PNGsLimitations
The skill targets SwiftUI and needs Xcode 16+, an iOS 17+ deployment target for ImageRenderer and @Observable, and a simulator matching your iOS version; the script uses Python 3 for JSON parsing. It adds DEBUG-gated capture code to your main target and edits a few files such as ContentView. It is the capture step: composing App Store pages with device frames and headlines is the author's separate skill.
How to disable. Remove the skill directory from ~/.claude/skills/ios-marketing-capture or the project's .claude/skills. Delete the added MarketingCapture.swift and the target edits by hand; they are DEBUG-gated and never ship to production.
FAQ
Why not XCUITest or Fastlane?
The skill captures from inside the app. It needs no separate test target or pbxproj edits, builds once, has direct access to ViewModels, SwiftData and ImageRenderer, and widget renders are impossible otherwise.
Which agents does it work with?
It installs via npx skills and works with Claude Code, Cursor, Windsurf, OpenCode, Codex and a number of other agents.
Discussion
No questions or reviews yet.
Related
SkillsA skill and MCP server with a library of ready SwiftUI components and recipes so the agent builds iOS screens from tested code instead of writing them from scra
A set of skills for iOS 26+, Swift 6.3 and SwiftUI that gives the agent knowledge of modern Apple frameworks
Skills for Apple development: SwiftUI, UIKit and Liquid Glass references, Swift 6 guides and a router for iOS 26+ tasks
A SwiftUI best practices skill: state, view composition, performance, new APIs, Liquid Glass and Instruments trace analysis
A skill that gives the agent Apple's own SwiftUI guidance, which the installer extracts from your local Xcode
A skill with scripts for building iOS apps and driving the simulator through the accessibility tree, with compact output for agents
README in short
The README describes an AI agent skill that automates marketing screenshot capture for a SwiftUI app. The approach is in-app: capture runs from the app itself under a DEBUG flag, with no UI test target, seeding demo data, walking screens through a coordinator and rendering isolated elements via ImageRenderer. Install via npx skills or by cloning into the skills directory; the skill then triggers on request and asks about screens, elements, locales, device and data. It gives example prompts, the generated file layout, the per-locale output structure and a table of eleven common capture bugs. It needs Xcode 16+, iOS 17+ and Python 3, under the MIT license.
README badge
Original SKILL.md
--- name: ios-marketing-capture description: Use when the user wants to automate capture of marketing screenshots for a SwiftUI iOS app across multiple locales, devices, or appearances. Covers full-screen shots, isolated element renders (carousel cards, widgets), and reproducible output naming. Triggers on marketing screenshots, locale screenshots, widget renders, App Store assets, fastlane-alternative, simctl screenshots. --- # iOS Marketing Capture ## Overview Automate reproducible marketing screenshot capture for a SwiftUI iOS app across multiple locales, with two parallel output streams: 1. Full-screen captures — every marketing-relevant screen, with deterministic seeded data, real status bar / safe-area chrome 2. Element captures — isolated renders of specific components (cards, widgets, charts) at any scale, with natural background inside rounded corners and transparency outside This skill is the capture step. If the user also wants Apple-style marketing pages composited around the shots (device mockups, headlines, gradients), combine with the app-store-screenshots skill as a post-processing step. ## Core Approach In-app capture mode, not XCUITest. This is a hard decision that trades off against Fastlane snapshot / XCUITest conventions, and it wins for almost every real project.