Flux de publication (prêt à soumettre)

VérifiéSûr

Déterminer si une application est prête à être soumise, puis piloter le flux de publication App Store avec asc, y compris les corrections pour la disponibilité, les achats intégrés, les abonnements, Game Center et la confidentialité.

Spar Skills Guide Bot
DevOpsIntermédiaire
22/07/2026
Claude CodeCursorCodex
#app-store#release-automation#ios#app-store-connect#cli

Recommandé pour

Synthèse automatique

Ce skill évalue si une app iOS est prête à être soumise à l'App Store, puis guide l'utilisateur dans le flux de publication via la CLI asc, y compris les blocages typiques d'une première soumission.

Points forts

  • Répond d'abord à la question de readiness avant de lancer la moindre commande, avec un ordre de diagnostic explicite (prêt / blocages / type de correctif / prochaine commande).
  • Distingue clairement les blocages corrigeables par API, ceux nécessitant une web-session Apple, et les cas à traiter manuellement.
  • Couvre le parcours complet : preflight, staging sans soumission, dry-run de bout en bout et audit approfondi, avec les commandes exactes à copier.
  • Traite les spécificités de première publication (disponibilité initiale, IAP, abonnements, Game Center, App Privacy) souvent absentes des guides génériques.

Limites

  • Suppose que la CLI asc est installée, authentifiée et que les identifiants de ressources (app, version, build, VERSION_ID, SUBMISSION_ID…) sont déjà résolus ou résolvables.
  • Certaines étapes de première soumission reposent sur des commandes web-session expérimentales, présentées comme des solutions de secours optionnelles.
  • Le skill ne détaille pas le contenu du dossier de métadonnées attendu par asc release stage ou release run.
Quand l'utiliser

À utiliser quand un développeur iOS veut savoir si sa version est soumissible ou veut exécuter un pipeline de publication App Store reproductible en ligne de commande.

Quand l'éviter

À éviter si l'app cible une autre plateforme que l'App Store, si la CLI asc n'est pas disponible, ou pour du simple débogage de code sans objectif de soumission.

Analyse de sécurité

Sûr
Score qualité88/100

The skill instructs use of the asc CLI for App Store Connect release workflows, including preflight, staging, validation, and submission. Commands are legitimate and do not involve destructive actions, exfiltration, obfuscation, or disabling safety. Experimental web-session commands are clearly flagged as optional escape hatches requiring a user-owned session, not default. No risky shell patterns (curl|sh, rm -rf, secret exfiltration, base64 decoding) are present.

Aucun point d'attention détecté

Comment cette analyse est faite

Exemples

Quick readiness check
Is my app ready to submit? App ID 1234567890, version 1.2.3, iOS. Tell me if it's ready now and what's blocking.
Stage without submitting
Stage version 1.2.3 with build BUILD_ID using my metadata in ./metadata/version/1.2.3, but stop before creating the review submission so I can check it manually.
Full release rehearsal
Run a dry run of the whole release path for app 1234567890 version 1.2.3, and treat warnings as blockers so I know everything is coherent before the real submit.

name: asc-release-flow description: Determine whether an app is ready to submit, then drive the App Store release flow with asc, including first-time submission fixes for availability, in-app purchases, subscriptions, Game Center, and App Privacy.

Release flow (readiness-first)

Use this skill when the real question is "Can my app be ready to submit?" and then guide the user through the shortest path to a clean App Store submission, especially for first-time releases.

Preconditions

  • Ensure credentials are set (asc auth login or ASC_* env vars).
  • Resolve app ID, version string, and build ID up front.
  • For lower-level or first-time flows, also be ready to resolve VERSION_ID, SUBMISSION_ID, DETAIL_ID, GROUP_ID, SUB_ID, IAP_ID, and related resource IDs. Use asc-id-resolver when needed.
  • Have a metadata directory ready if you plan to use asc release stage or asc release run.
  • If you use experimental web-session commands, use a user-owned Apple Account session and treat those commands as optional escape hatches, not the default path.

How to answer

When using this skill, answer readiness questions in this order:

  1. Is the app ready right now, or not yet?
  2. What are the blocking issues?
  3. Which blockers are API-fixable vs web-session-fixable?
  4. What exact command should run next?

Group blockers like this:

  • API-fixable: build validity, metadata, screenshots, review details, content rights, encryption, version/build attachment, IAP readiness, Game Center version and review-submission setup.
  • Web-session-fixable: initial app availability bootstrap, first-review subscription attachment, App Privacy publish state.
  • Manual fallback: first-time IAP selection from the app-version screen when no CLI attach flow exists, or any flow the user does not want to run through experimental web-session commands.

Canonical path

1. Fast readiness check

Run this first when the user wants the quickest answer to "can I submit now?":

asc submit preflight --app "APP_ID" --version "1.2.3" --platform IOS

This is the fastest high-signal readiness check and prints fix guidance without mutating anything.

2. Real staging pass without submit

Run this when the user wants the version prepared in App Store Connect but wants a manual checkpoint before creating a review submission:

asc release stage \
  --app "APP_ID" \
  --version "1.2.3" \
  --build "BUILD_ID" \
  --metadata-dir "./metadata/version/1.2.3" \
  --confirm

Use --copy-metadata-from "1.2.2" instead of --metadata-dir when you want to carry metadata forward from an existing version. asc release stage requires exactly one metadata source and stops before submit.

3. Full-pipeline dry run

Run this when the user wants one command that approximates the whole release path:

asc release run \
  --app "APP_ID" \
  --version "1.2.3" \
  --build "BUILD_ID" \
  --metadata-dir "./metadata/version/1.2.3" \
  --dry-run \
  --output table

This is the best single-command rehearsal for:

  1. ensuring or creating the version
  2. applying metadata and localizations
  3. attaching the build
  4. running readiness checks
  5. confirming the submission path is coherent

Add --strict-validate when you want warnings treated as blockers.

4. Deep API readiness audit

Run this when the user needs a fuller version-level checklist than submit preflight:

asc validate --app "APP_ID" --version "1.2.3" --platform IOS --output table

Prefer the version string form here so it stays aligned with asc submit preflight and asc release run. Switch to VERSION_ID only for lower-level commands that explicitly require it.

If the app sells digital goods, also run:

asc validate iap --app "APP_ID" --output table
asc validate subscriptions --app "APP_ID" --output table

In current asc, asc validate subscriptions expands MISSING_METADATA into per-subscription diagnostics. Use it to pinpoint missing review screenshots, promotional images, pricing or availability coverage, offer readiness, and app/build evidence before you retry submission or attach-group.

When territory coverage is wrong, the newest diagnostics name the exact missing territories instead of only reporting count mismatches. Use --output json --pretty when you want machine-readable diagnostics.

5. Actual submit

When the dry run looks clean:

asc release run \
  --app "APP_ID" \
  --version "1.2.3" \
  --build "BUILD_ID" \
  --metadata-dir "./metadata/version/1.2.3" \
  --confirm

First-time submission blockers

1. Initial app availability does not exist yet

Symptoms:

  • asc pricing availability view --app "APP_ID" reports no availability
  • asc pricing availability edit ... fails because it only updates existing availability

Check:

asc pricing availability view --app "APP_ID"

Bootstrap the first availability record with the experimental web-session flow:

asc web apps availability create \
  --app "APP_ID" \
  --territory "USA,GBR" \
  --available-in-new-territories true

After bootstrap, use the normal public API command for ongoing updates:

asc pricing availability edit \
  --app "APP_ID" \
  --territory "USA,GBR" \
  --available true \
  --available-in-new-territories true

2. Subscriptions are READY_TO_SUBMIT but not attached to first review

For apps with subscriptions, check readiness explicitly:

asc validate subscriptions --app "APP_ID" --output table

If the validator shows MISSING_METADATA, read the row-level diagnostics literally. The newest CLI surfaces missing promotional images, review screenshots, pricing or availability coverage, offer readiness, and app/build evidence in one matrix, which is the quickest way to understand why first-review attach still fails.

List current first-review subscription state:

asc web review subscriptions list --app "APP_ID"

If the app is going through its first review and the group needs attaching:

asc web review subscriptions attach-group \
  --app "APP_ID" \
  --group-id "GROUP_ID" \
  --confirm

If attach-group still returns MISSING_METADATA, fix the validator-reported prerequisites first. The most common misses are broad pricing coverage and a subscription promotional image.

For one subscription instead of a whole group:

asc web review subscriptions attach \
  --app "APP_ID" \
  --subscription-id "SUB_ID" \
  --confirm

For later reviews, use the normal submission path:

asc subscriptions review submit --subscription-id "SUB_ID" --confirm

If review artifacts are missing, upload them before submission:

asc subscriptions review screenshots create --subscription-id "SUB_ID" --file "./screenshot.png"
asc subscriptions images create --subscription-id "SUB_ID" --file "./image.png"

Also make sure the app’s privacy policy URL is populated when the app sells subscriptions.

3. In-App Purchases need review readiness or first-version inclusion

For apps with one-time purchases, consumables, or non-consumables, check readiness explicitly:

asc validate iap --app "APP_ID" --output table

If the IAP is missing its App Review screenshot:

asc iap review-screenshots create --iap-id "IAP_ID" --file "./review.png"

For IAPs on a published app, submit them directly:

asc iap submit --iap-id "IAP_ID" --confirm

If this is the first IAP for the app, or the first time adding a new IAP type, Apple requires it to be included with a new app version. Current asc commands can validate and submit published-app IAPs, but there is no equivalent first-review attach flow like the subscription web commands yet. In that case:

  • prepare the IAP with asc validate iap, pricing, localization, and review screenshot data first
  • then select the IAP from the app version’s “In-App Purchases and Subscriptions” section in App Store Connect before submitting the app version

Also make sure the app’s privacy policy URL is populated when the app sells IAPs.

4. Game Center is enabled but the app version or review submission is incomplete

If the app uses Game Center, make sure the App Store version is Game Center-enabled:

asc game-center app-versions list --app "APP_ID"
asc game-center app-versions create --app-store-version-id "VERSION_ID"

If you are adding Game Center components for the first time, include them in the same submission as the app version. Resolve component version IDs first:

asc game-center achievements v2 versions list --achievement-id "ACH_ID"
asc game-center leaderboards v2 versions list --leaderboard-id "LEADERBOARD_ID"
asc game-center challenges versions list --challenge-id "CHALLENGE_ID"
asc game-center activities versions list --activity-id "ACTIVITY_ID"

Then use the review-submission flow so you can add the app version and the Game Center component versions to the same submission:

asc review submissions-create --app "APP_ID" --platform IOS
asc review items-add --submission "SUBMISSION_ID" --item-type appStoreVersions --item-id "VERSION_ID"
asc review items-add --submission "SUBMISSION_ID" --item-type gameCenterLeaderboardVersions --item-id "GC_LEADERBOARD_VERSION_ID"
asc review submissions-submit --id "SUBMISSION_ID" --confirm

asc review items-add also supports gameCenterAchievementVersions, gameCenterActivityVersions, gameCenterChallengeVersions, and gameCenterLeaderboardSetVersions.

If Game Center component versions need to ship with the app version, prefer the explicit asc review submissions-* flow over asc release run --confirm, because you need a chance to add all submission items before final submit.

5. App Privacy is still unpublished

The public API can warn about App Privacy readiness but cannot fully verify publish state.

If asc submit preflight, asc validate, or asc release run surfaces an App Privacy advisory, reconcile it with:

asc web privacy pull --app "APP_ID" --out "./privacy.json"
asc web privacy plan --app "APP_ID" --file "./privacy.json"
asc web privacy apply --app "APP_ID" --file "./privacy.json"
asc web privacy publish --app "APP_ID" --confirm

If the user does not want the experimental web-session flow, confirm App Privacy manually in App Store Connect:

https://appstoreconnect.apple.com/apps/APP_ID/appPrivacy

6. Review details are incomplete

Check whether the version already has review details:

asc review details-for-version --version-id "VERSION_ID"

If needed, create or update them:

asc review details-create \
  --version-id "VERSION_ID" \
  --contact-first-name "Dev" \
  --contact-last-name "Support" \
  --contact-email "dev@example.com" \
  --contact-phone "+1 555 0100" \
  --notes "Explain the reviewer access path here."
asc review details-update \
  --id "DETAIL_ID" \
  --notes "Updated reviewer instructions."

Only set --demo-account-required=true when App Review truly needs demo credentials.

Practical readiness checklist

An app is effectively ready to submit when:

  • asc submit preflight --app "APP_ID" --version "VERSION" reports no blocking issues
  • asc validate --app "APP_ID" --version "VERSION" is clean or only contains understood non-blocking warnings
  • asc release stage --confirm successfully prepared the target version when you want a real pre-submit checkpoint
  • asc release run ... --dry-run produces the expected plan
  • the build is VALID and attached to the target version
  • metadata, screenshots, and localizations are complete
  • content rights and encryption requirements are resolved
  • review details are present
  • app availability exists
  • if the app has IAPs or subscriptions, the privacy policy URL is present
  • if the app has IAPs, they have localization/pricing/review screenshots and first-time IAPs are selected with the app version
  • subscriptions, if any, are attached for first review or already submitted through the supported review path
  • if the app uses Game Center, the app version is Game Center-enabled and any required Game Center component versions are in the same review submission
  • any App Privacy advisory has been resolved through asc web privacy ... or manual confirmation

Lower-level fallback

Use the lower-level flow only when the user needs explicit control over each step:

asc versions attach-build --version-id "VERSION_ID" --build "BUILD_ID"
asc submit preflight --app "APP_ID" --version "1.2.3" --platform IOS
asc submit create --app "APP_ID" --version "1.2.3" --build "BUILD_ID" --confirm
asc submit status --version-id "VERSION_ID"
# or, if you captured the review submission ID:
asc submit status --id "SUBMISSION_ID"

If the submission needs multiple review items, such as Game Center component versions, use the review-submission API directly instead:

asc review submissions-create --app "APP_ID" --platform IOS
asc review items-add --submission "SUBMISSION_ID" --item-type appStoreVersions --item-id "VERSION_ID"
asc review items-add --submission "SUBMISSION_ID" --item-type gameCenterChallengeVersions --item-id "GC_CHALLENGE_VERSION_ID"
asc review submissions-submit --id "SUBMISSION_ID" --confirm

Platform notes

  • Use --platform MAC_OS, TV_OS, or VISION_OS as needed.
  • For macOS, upload the .pkg separately, then use the same readiness and submission flow.
  • asc publish testflight is still the fastest TestFlight shortcut, but for App Store readiness prefer asc submit preflight, asc release stage, and asc release run.

Notes

  • asc release stage --confirm is the safest one-command way to prepare a version without submitting it.
  • asc release run --dry-run is the closest thing to a one-command answer for "will this full release flow work?"
  • asc submit preflight is the fastest first pass.
  • asc validate is the deeper API-side checklist for version readiness.
  • asc validate subscriptions now exposes much richer per-subscription diagnostics for MISSING_METADATA readiness failures.
  • Web-session commands are experimental and should be presented as optional escape hatches when the public API cannot complete the first-time flow.
  • First-time app-availability bootstrap now goes through the experimental asc web apps availability create flow or App Store Connect itself.
  • First-review subscriptions have a concrete CLI attach path; first-review IAP selection still may require the App Store Connect version UI.
  • Game Center can require explicit review-submission item management when components must ride with the app version.
  • If the user asks "why did submission fail?" map the failure back into the three buckets above: API-fixable, web-session-fixable, or manual fallback.

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/release-flow-readiness-first-mrwakekv/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/release-flow-readiness-first-mrwakekv' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/release-flow-readiness-first-mrwakekv/download' --output '.skill-downloads/release-flow-readiness-first-mrwakekv/SKILL.md.part' && mv '.skill-downloads/release-flow-readiness-first-mrwakekv/SKILL.md.part' '.skill-downloads/release-flow-readiness-first-mrwakekv/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/release-flow-readiness-first-mrwakekv/SKILL.md' && test -s '.skill-downloads/release-flow-readiness-first-mrwakekv/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/asc-release-flow' && cp -R '.skill-downloads/release-flow-readiness-first-mrwakekv' '.claude/skills/asc-release-flow'

Cursor
test -f '.skill-downloads/release-flow-readiness-first-mrwakekv/SKILL.md' && test -s '.skill-downloads/release-flow-readiness-first-mrwakekv/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/asc-release-flow' && cp -R '.skill-downloads/release-flow-readiness-first-mrwakekv' '.cursor/skills/asc-release-flow'

Codex
test -f '.skill-downloads/release-flow-readiness-first-mrwakekv/SKILL.md' && test -s '.skill-downloads/release-flow-readiness-first-mrwakekv/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/asc-release-flow' && cp -R '.skill-downloads/release-flow-readiness-first-mrwakekv' '.agents/skills/asc-release-flow'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/release-flow-readiness-first-mrwakekv'

openskills read 'release-flow-readiness-first-mrwakekv'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/release-flow-readiness-first-mrwakekv/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires