Communitygithub.com

rudrankriyam/asc-shots-pipeline

Orquestre a automação de capturas de tela do iOS com xcodebuild/simctl para build e execução, AXe para ações de UI, arquivos JSON de configuração e plano, enquadramento baseado em Koubou (`asc screenshots frame`) e upload de capturas (`asc screenshots upload`).

O que é asc-shots-pipeline?

Este skill permite que agentes de IA automatizem todo o pipeline de captura de telas para apps iOS, desde a compilação do projeto até o upload final das imagens. Ele integra ferramentas como xcodebuild para build, simctl para gerenciamento de simuladores, e AXe para ações programáticas de interface do usuário. O fluxo é definido por arquivos JSON de configuração e plano, permitindo alta customização sem intervenção manual. Além disso, oferece suporte ao enquadramento de capturas usando a ferramenta Koubou (`asc screenshots frame`) e ao upload direto para serviços como App Store Connect via `asc screenshots upload`. Ideal para desenvolvedores que precisam gerar screenshots de forma consistente para múltiplos dispositivos e idiomas, reduzindo drasticamente o tempo e o esforço manual nesse processo.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/rudrankriyam/app-store-connect-cli-skills/tree/main/skills/asc-shots-pipeline

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

O que asc-shots-pipeline faz?

Orquestre a automação de capturas de tela do iOS com xcodebuild/simctl para build e execução, AXe para ações de UI, arquivos JSON de configuração e plano, enquadramento baseado em Koubou (asc screenshots frame) e upload de capturas (asc screenshots upload). Use quando os usuários solicitarem captura automatizada de telas, fluxos de simulador orientados por AXe, composição de molduras ou pipelines de upload de capturas.

Funcionalidades

  • Build e execução: Compile o projeto com xcodebuild e inicie o simulador com simctl.
  • Ações de interface: Use AXe para interagir com elementos da UI e capturar telas.
  • Configuração baseada em JSON: Defina configurações e planos de captura em arquivos JSON.
  • Enquadramento: Aplique molduras às capturas usando asc screenshots frame (Koubou).
  • Upload: Envie as capturas para a App Store Connect com asc screenshots upload.

Pré-requisitos

  • Xcode 15+ instalado.
  • Ferramentas de linha de comando (xcodebuild, simctl).
  • Node.js (para scripts auxiliares, se necessário).
  • Configuração do asc (App Store Connect) para upload.

Como usar

  1. Configure o plano: Crie um arquivo plan.json com os dispositivos, idiomas e ações desejadas.

  2. Execute o pipeline:

    # Exemplo de comando para build e captura
    xcodebuild -project App.xcodeproj -scheme App -destination 'platform=iOS Simulator,name=iPhone 15' build-for-testing
    simctl boot "iPhone 15"
    # Use AXe para navegar e capturar
    axe run --config config.json --plan plan.json --output screenshots/
    
  3. Enquadre as capturas:

    asc screenshots frame --input screenshots/ --output framed/
    
  4. Faça upload:

    asc screenshots upload --path framed/ --app-id 123456789
    

Estrutura de arquivos

.
├── plan.json          # Plano de captura (dispositivos, idiomas, ações)
├── config.json        # Configurações do AXe
└── screenshots/       # Diretório de saída

Exemplo de plan.json

{
  "devices": ["iPhone 15", "iPad Pro (12.9-inch)"],
  "languages": ["en-US", "pt-BR"],
  "actions": [
    {
      "name": "Tela Inicial",
      "screenshot": "home.png",
      "steps": [
        { "type": "wait", "duration": 2 },
        { "type": "screenshot" }
      ]
    },
    {
      "name": "Tela de Configurações",
      "screenshot": "settings.png",
      "steps": [
        { "type": "tap", "element": "Settings" },
        { "type": "wait", "duration": 1 },
        { "type": "screenshot" }
      ]
    }
  ]
}

Dicas

  • Sempre verifique se o simulador está na orientação correta antes de capturar.
  • Use nomes únicos para cada captura para evitar sobrescrita.
  • Para pipelines CI/CD, configure variáveis de ambiente como APP_ID e API_KEY para upload.

Solução de problemas

  • Erro de build: Verifique se o esquema e o destino estão corretos.
  • Elemento não encontrado pelo AXe: Ajuste os seletos no plano ou aumente o tempo de espera.
  • Falha no upload: Confirme as credenciais do App Store Connect e o ID do app.

Notas

  • Este skill é compatível com ferramentas como Claude Code, Cursor e Codex.
  • Para mais detalhes, consulte a documentação oficial do AXe e Koubou.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

rudrankriyam/asc-app-create-ui

Create a new App Store Connect app record via browser automation. Use when there is no public API for app creation and you need an agent to drive the New App form.

rudrankriyam/asc-aso-audit

Run an offline ASO audit on canonical App Store metadata under `./metadata` and surface keyword gaps using Astro MCP. Use after pulling metadata with `asc metadata pull`.

rudrankriyam/asc-build-lifecycle

Track build processing, find latest builds, and clean up old builds with asc. Use when managing build retention or waiting on processing.

rudrankriyam/asc-cli-usage

Guidance for using asc cli in this repo (flags, output formats, pagination, auth, and discovery). Use when asked to run or design asc commands or interact with App Store Connect via the CLI.

rudrankriyam/asc-crash-triage

Triage TestFlight crashes, beta feedback, and performance diagnostics using asc. Use when the user asks about TF crashes, TestFlight crash reports, beta tester feedback, app hangs, disk writes, launch diagnostics, or wants a crash summary for a build or app.

rudrankriyam/asc-id-resolver

Resolve App Store Connect IDs (apps, builds, versions, groups, testers) from human-friendly names using asc. Use when commands require IDs.

rudrankriyam/asc-localize-metadata

Automatically translate and sync App Store metadata (description, keywords, what's new, subtitle) to multiple languages using LLM translation and asc CLI. Use when asked to localize an app's App Store listing, translate app descriptions, or add new languages to App Store Connect.

rudrankriyam/asc-metadata-sync

Sync, validate, and apply App Store metadata with the current asc canonical metadata workflow. Use when updating metadata, localizations, keywords, or migrating legacy fastlane metadata.

rudrankriyam/asc-notarization

Archive, export, and notarize macOS apps using xcodebuild and asc. Use when you need to prepare a macOS app for distribution outside the App Store with Developer ID signing and Apple notarization.

rudrankriyam/asc-ppp-pricing

Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.

rudrankriyam/asc-release-flow

Determine whether an app is ready to submit, then drive the current App Store release flow with asc, including validation, staging, review submission, first-time availability, subscriptions, IAP, Game Center, and App Privacy checks.

rudrankriyam/asc-revenuecat-catalog-sync

Reconcile App Store Connect subscriptions and in-app purchases with RevenueCat products, entitlements, offerings, and packages using asc and RevenueCat MCP. Use when setting up or syncing subscription catalogs across ASC and RevenueCat.

rudrankriyam/asc-signing-setup

Set up bundle IDs, capabilities, signing certificates, provisioning profiles, and encrypted signing sync with the asc cli. Use when onboarding a new app, rotating signing assets, or sharing them across a team.

rudrankriyam/asc-submission-health

Validate App Store submission readiness, submit prepared versions, and monitor review status with current asc commands. Use when shipping or troubleshooting review submissions.

rudrankriyam/asc-subscription-localization

Bulk-localize subscription and in-app purchase display names across all App Store locales using asc. Use when you want to fill in subscription/IAP names for every language without clicking through App Store Connect manually.

rudrankriyam/asc-testflight-orchestration

Orchestrate TestFlight distribution, groups, testers, and What to Test notes using asc. Use when rolling out betas.

rudrankriyam/asc-wall-submit

Submit or update a Wall of Apps entry in the App-Store-Connect-CLI repository using `asc apps wall submit`. Use when the user says "submit to wall of apps", "add my app to the wall", or "wall-of-apps".

rudrankriyam/asc-whats-new-writer

Generate engaging, localized App Store release notes (What's New) from git log, bullet points, or free text using canonical metadata under `./metadata`. Optionally pairs with promotional text updates.

rudrankriyam/asc-workflow

Define, validate, run, resume, and audit repo-local multi-step automations with current `asc workflow` and `.asc/workflow.json`, including step outputs and safe release/TestFlight workflows.

rudrankriyam/asc-xcode-build

Build, archive, export, upload, and manage Xcode version/build numbers with the current asc xcode helpers before App Store Connect upload or submission. Use when creating an IPA or PKG for upload.

Habilidades Relacionadas