Screenshot Automation
Generates an automated App Store screenshot pipeline with UI tests for screenshot...
Install
npx skills add rshankras/claude-code-apple-skills --skill screenshot-automation -g -a claude-code -y- Repository
- rshankras/claude-code-apple-skills846
- Category
- Design
- Updated
- 3mo ago
- License
- MIT
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Generates an automated App Store screenshot pipeline with UI tests for screenshot capture, device framing, localized caption overlays, and multi-size batch export. Use when user wants automated screenshots, App Store screenshot generation, or a fastlane snapshot replacement.
Screenshot Automation Generator
Generate an automated App Store screenshot pipeline that captures screenshots via UI tests, adds localized marketing captions, applies device frames, and exports all required sizes for App Store Connect. Saves hours of manual screenshot creation every release.
When This Skill Activates
Use this skill when the user:
- Asks about "screenshot automation" or "automate screenshots"
- Wants to generate "App Store screenshots" or "store screenshots"
- Mentions "automated screenshots" or "screenshot pipeline"
- Asks to "generate screenshots" or "batch screenshots"
- Wants "screenshot testing" or "UI test screenshots"
- Mentions "fastlane snapshot" or wants a replacement for it
Pre-Generation Checks
1. Project Context Detection
- Check Swift version (requires Swift 5.9+)
- Check deployment target (iOS 16+ / macOS 13+)
- Identify existing UI test target (look for
*UITeststarget) - Check for existing UI test files
- Check for fastlane presence (
Fastfile,Snapfile)
2. Conflict Detection
Search for existing screenshot infrastructure:
Glob: **/*Screenshot*.swift, **/*Snapshot*.swift, **/Snapfile, **/Fastfile
Grep: "XCTAttachment" or "screenshot" or "snapshot" in UI test files
If fastlane snapshot already configured:
- Ask if user wants to replace or augment it
- If keeping fastlane, generate only the post-processing pipeline
3. Localization Detection
Check for existing localization setup:
Glob: **/*.lproj/*.strings, **/*Localizable*, **/*.xcstrings
Determine which locales are already configured in the project.
Configuration Questions
Ask user via AskUserQuestion:
- Screenshot capture method?
- XCUITest only (pure Apple, no dependencies)
- fastlane snapshot (uses fastlane tooling)
- Both (XCUITest capture + fastlane orchestration)


