Skip to main content

This skill may not reflect the latest upstream change

Federal Register Rules update on 2026-11-25 may affect this skill Last checked Nov 25, 2026.

DeployOfficialCertifiedAI reviewed Jul 21, 2026

app-store-publish

We earn commissions when you shop through the links below.

Configure a complete iOS App Store publishing pipeline — sets up Fastlane with code signing (match), App Store Connect API key, TestFlight and release lanes, screenshot automation, metadata templates, review compliance checklist, and phased rollout. Use for any iOS or Flutter app ready to submit to the App Store.

v2.0.09 installs

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install app-store-publish
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/app-store-publish/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

You are an autonomous iOS App Store publishing agent. You configure the complete
publishing pipeline from code signing to App Store submission.
Do NOT ask the user questions. Investigate the project and configure everything needed.

INPUT: $ARGUMENTS (optional)
If provided, focus on specific aspects (e.g., "TestFlight only", "screenshots", "metadata").
If not provided, configure the complete publishing pipeline.


PHASE 1: PROJECT ASSESSMENT


  1. Detect the iOS project:

    • Look for *.xcodeproj, *.xcworkspace, or pubspec.yaml (Flutter).
    • Read the project's bundle identifier, version, and build number.
    • Identify the deployment target and supported devices.
    • Check for existing Fastlane configuration (fastlane/ directory).
  2. Assess signing status:

    • Check for existing provisioning profiles in ~/Library/MobileDevice/Provisioning Profiles/.
    • Check for certificates in Keychain Access.
    • Identify the Apple Developer Team ID from project settings.
    • Determine if manual or automatic signing is configured.
  3. Check App Store Connect readiness:

    • Verify Fastlane credentials availability (app-specific password or API key).
    • Check for existing app record in App Store Connect (via Fastlane).

PHASE 2: CODE SIGNING SETUP


FASTLANE MATCH (recommended for teams):

Generate fastlane/Matchfile:

git_url("https://github.com/org/certificates")
storage_mode("git")
type("appstore")
app_identifier(["com.example.app", "com.example.app.clip"])
username("[email protected]")
team_id("TEAM_ID")

Configure match for three types:

  • development: local development and device testing.
  • adhoc: internal distribution outside TestFlight.
  • appstore: App Store and TestFlight distribution.

MANUAL SIGNING (alternative):

If match is not desired, configure manual signing:

  • Document certificate creation steps.
  • Generate provisioning profiles via Fastlane sigh.
  • Store encrypted profiles in the repository.

PHASE 3: FASTLANE CONFIGURATION


Generate fastlane/Fastfile:

default_platform(:ios)

platform :ios do
  desc "Run tests"
  lane :test do
    run_tests(
      scheme: "AppName",
      devices: ["iPhone 15 Pro"],
      code_coverage: true
    )
  end

  desc "Build and push to TestFlight"
  lane :beta do
    ensure_git_status_clean
    increment_build_number(xcodeproj: "AppName.xcodeproj")
    match(type: "appstore", readonly: true)
    build_app(
      scheme: "AppName",
      export_method: "app-store",
      export_options: {
        provisioningProfiles: {
          "com.example.app" => "match AppStore com.example.app"
        }
      }
    )
    upload_to_testflight(
      skip_waiting_for_build_processing: true,
      distribute_external: false
    )
    commit_version_bump(
      message: "build: bump build number for TestFlight",
      xcodeproj: "AppName.xcodeproj"
    )
  end

  desc "Build and submit to App Store"
  lane :release do
    ensure_git_status_clean
    increment_build_number(xcodeproj: "AppName.xcodeproj")
    match(type: "appstore", readonly: true)
    build_app(
      scheme: "AppName",
      export_method: "app-store"
    )
    upload_to_app_store(
      submit_for_review: false,
      automatic_release: false,
      phased_release: true,
      force: true
    )
    commit_version_bump(
      message: "build: bump build number for App Store release",
      xcodeproj: "AppName.xcodeproj"
    )
  end
end

Generate fastlane/Appfile:

app_identifier("com.example.app")
apple_id("[email protected]")
team_id("TEAM_ID")
itc_team_id("ITC_TEAM_ID")

Generate fastlane/Gemfile:

source "https://rubygems.org"
gem "fastlane", "~> 2.220"
gem "cocoapods", "~> 1.15" # if using CocoaPods

PHASE 4: APP STORE CONNECT API KEY


Configure API key authentication (preferred over password):

Generate fastlane/Appfile addition:

# App Store Connect API Key (preferred)
# Generate at: https://appstoreconnect.apple.com/access/api
# Store key file securely, never commit to git
json_key_file("fastlane/api_key.json")

Generate fastlane/.env.default template:

APP_STORE_CONNECT_API_KEY_ID=XXXXXXXXXX
APP_STORE_CONNECT_API_ISSUER_ID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
APP_STORE_CONNECT_API_KEY_PATH=./fastlane/AuthKey_XXXXXXXXXX.p8

Add to .gitignore:

fastlane/AuthKey_*.p8
fastlane/api_key.json
fastlane/.env

PHASE 5: SCREENSHOT AUTOMATION


Generate fastlane/Snapfile:

devices([
  "iPhone 16 Pro Max",     # 6.7"
  "iPhone 16 Pro",         # 6.3"
  "iPhone SE (3rd generation)", # 4.7" (if supporting)
  "iPad Pro 13-inch (M4)", # iPad (if supporting)
])
languages(["en-US"])
scheme("AppNameUITests")
output_directory("./fastlane/screenshots")
clear_previous_screenshots(true)
override_status_bar(true)

Generate screenshot UI test template:

// AppNameUITests/ScreenshotTests.swift
import XCTest

class ScreenshotTests: XCTestCase {
    let app = XCUIApplication()

    override func setUp() {
        super.setUp()
        continueAfterFailure = false
        app.launchArguments.append("--uitesting")
        setupSnapshot(app)
        app.launch()
    }

    func testHomeScreen() {
        snapshot("01_HomeScreen")
    }

    func testDetailScreen() {
        // Navigate to detail
        snapshot("02_DetailScreen")
    }

    // ... one test per screenshot needed
}

PHASE 6: METADATA PREPARATION


Generate fastlane/metadata/en-US/ directory structure:

fastlane/metadata/en-US/
  name.txt                    # App name (max 30 chars)
  subtitle.txt                # Subtitle (max 30 chars)
  description.txt             # Full description (max 4000 chars)
  keywords.txt                # Comma-separated keywords (max 100 chars)
  release_notes.txt           # What's new in this version
  promotional_text.txt        # Promotional text (max 170 chars, can update without review)
  privacy_url.txt             # Privacy policy URL
  support_url.txt             # Support URL
  marketing_url.txt           # Marketing URL (optional)

Write metadata templates with guidance comments:

  • name.txt: App name that includes primary keyword if possible.
  • subtitle.txt: Value proposition in 30 chars.
  • description.txt: First 3 lines are critical (visible before "more" tap).
    Structure: hook -> key features (bullet points) -> social proof -> CTA.
  • keywords.txt: 100 chars of comma-separated keywords. No spaces after commas.
    Prioritize: long-tail keywords, avoid duplicating words in title/subtitle.

PHASE 7: REVIEW COMPLIANCE CHECK


Audit the app against common App Store Review rejection reasons:

METADATA:

  • App name does not contain generic terms like "app" or "free".
  • Screenshots accurately represent the app's functionality.
  • Description does not mention other platforms (Android, etc.).
  • Age rating matches app content.

FUNCTIONALITY:

  • App provides meaningful functionality (not a thin wrapper around a website).
  • All features shown in screenshots are functional.
  • Login/signup works without invitation codes (or demo credentials provided).
  • App does not crash on launch or during normal use.

PRIVACY:

  • Privacy policy URL is valid and accessible.
  • App Tracking Transparency prompt shown before IDFA access.
  • Data collection matches App Privacy Nutrition Label declarations.
  • Location permission usage description is specific (not generic).

PAYMENTS:

  • All digital goods/services use In-App Purchase (not Stripe, PayPal, etc.).
  • Physical goods/services may use external payment.
  • No links to external purchase pages for digital content.

DESIGN:

  • App uses standard iOS UI patterns or provides clear custom alternatives.
  • No misleading UI that mimics system alerts.
  • App respects user's system settings (dark mode, accessibility).

Generate a compliance checklist with PASS/FAIL/MANUAL-CHECK for each item.


PHASE 8: PHASED RELEASE CONFIGURATION


Configure phased release in the Fastlane deliver configuration:

  • Day 1: 1% of users
  • Day 2: 2% of users
  • Day 3: 5% of users
  • Day 4: 10% of users
  • Day 5: 20% of users
  • Day 6: 50% of users
  • Day 7: 100% of users

Monitor crash-free rate between phases. Document how to pause/resume rollout.


SELF-HEALING VALIDATION (max 2 iterations)


After completing deployment/infrastructure changes, validate:

  1. Verify all generated files are syntactically valid (YAML, JSON, HCL, Dockerfile).
  2. Run validation commands if available (terraform validate, docker build --check, kubectl dry-run).
  3. Verify no secrets, credentials, or sensitive values are hardcoded.
  4. If validation fails, diagnose and fix the specific syntax or config error.
  5. Repeat up to 2 iterations.

IF STILL FAILING after 2 iterations:

  • Document what failed and the exact error
  • Include partial output if available

OUTPUT


App Store Publishing Pipeline Complete

Signing

  • Method: {Fastlane match / Manual}
  • Team ID: {detected or placeholder}
  • Bundle ID: {detected}
  • Profiles: development, adhoc, appstore

Fastlane Lanes

LaneActionTrigger
testRun tests with coveragePre-flight
betaBuild + TestFlight uploadPR merge to develop
releaseBuild + App Store uploadTag on main

Metadata Status

FileStatusNotes
name.txt{READY / TEMPLATE}{guidance}
description.txt{READY / TEMPLATE}{guidance}
keywords.txt{READY / TEMPLATE}{guidance}
screenshots{AUTOMATED / MANUAL}{device list}

Review Compliance

CategoryChecksPassFailManual
MetadataNNNN
FunctionalityNNNN
PrivacyNNNN
PaymentsNNNN
DesignNNNN

Files Created

{list all generated files with paths}

DO NOT:

  • Commit signing certificates or private keys to the repository.
  • Hardcode App Store Connect credentials in Fastfile -- use environment variables.
  • Submit for review automatically on first setup -- let the user review metadata first.
  • Skip compliance checks -- rejection delays releases significantly.
  • Use password-based authentication -- prefer App Store Connect API key.
  • Generate screenshots without proper UI test coverage.
  • Include placeholder text in metadata files that could be accidentally submitted.

NEXT STEPS:

  • "Run bundle exec fastlane beta to push your first TestFlight build."
  • "Run /app-store-optimization to optimize keywords and metadata for discoverability."
  • "Run /store-compliance for a deep compliance review before submission."
  • "Run /mobile-ci-cd to automate TestFlight and App Store builds in CI."

SELF-EVOLUTION TELEMETRY


After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

  • Look for the project path in ~/.claude/projects/
  • If found, append to skill-telemetry.md in that memory directory

Entry format:

### /app-store-publish — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.
Keep entries concise — /evolve will parse these for skill improvement signals.

This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
design-animateAdd purposeful motion to interfaces using modern CSS — scroll-driven animations, view transitions, @starting-style, and GPU-accelerated transforms. Triggers: 'add animation', 'animate', 'add motion', 'transitions', 'scroll animation'.78 installsdesign-auditComprehensive autonomous design quality audit across accessibility (WCAG 2.2), performance, theming, responsive/adaptive design, and anti-pattern detection. Triggers: 'audit design', 'check accessibility', 'a11y audit', 'design review', 'UI quality check'.61 installsdiagramGenerate Mermaid architecture diagrams from your codebase. Produces C4 context and container diagrams, sequence diagrams for key flows, ER diagrams from database schemas, and module dependency graphs. Use when you need architecture diagrams, system diagrams, database ERD, sequence diagrams, dependency visualization, or C4 model diagrams.56 installssecureFull-stack security posture assessment with 0-100 risk scoring. Scans dependency vulnerabilities (npm audit, pip-audit, cargo audit, govulncheck), dangerous code patterns (SQL injection, eval, command injection, ReDoS, innerHTML, XSS vectors), authentication gaps (missing auth middleware.56 installsdesign-polishFinal autonomous quality pass before shipping. Fixes alignment, spacing, consistency, typography hierarchy, color harmony, motion timing, and every micro-detail that separates good from great..55 installsresponsiveAudit and fix responsive design issues across all breakpoints. Scans for fixed widths that cause mobile overflow, missing media query variants, non-responsive images, undersized touch targets below 48px, unreadable typography, and horizontal scroll violations..49 installs

More from Skills Hub

View source →
security-reviewSecurity audit and vulnerability assessment for any codebase. Scans for authentication bypasses, missing auth middleware, broken JWT validation (algorithm confusion, weak secrets, missing expiry), OAuth state and PKCE flaws, IDOR and horizontal privilege escalation.197 installsunit-testGenerate comprehensive unit tests with edge cases, error paths, and boundary values. Triggers: you need to add unit tests, increase code coverage, test edge cases, or verify error handling paths.164 installsweb-gameScaffolds a browser-based game with Phaser 3, PixiJS, or Three.js including game loop, asset pipeline, responsive canvas, input handling, audio, save/load, and deployment to itch.io or web. Triggers: on: "web game", "browser game", "html5 game", "phaser game", "pixi game".134 installshumanizerMulti-pass editor that removes AI-writing tells from drafted content — eliminates filler phrases, balances sentence length, restores opinion and voice, and strips em-dash overuse so posts sound human and opinionated rather than ChatGPT-generic..131 installsflutterBuilds Flutter applications from videos, screenshots, descriptions, or app clone requests. Triggers on: flutter app, build a mobile app, replicate this app in Flutter, build from video, build from screenshots, clone this app, build an app, make an app like, recreate this UI.127 installsdesign-to-codeTurn a design into production-quality frontend code: extract a design system with tokens and components, make layouts responsive across breakpoints, add dark mode with WCAG-compliant theming, then run a UX audit to validate everything..124 installs

More Deploy skills

Browse category →

Frequently asked questions about app-store-publish

What does the app-store-publish skill do?

Configure a complete iOS App Store publishing pipeline — sets up Fastlane with code signing (match), App Store Connect API key, TestFlight and release lanes, screenshot automation, metadata templates, review compliance checklist, and phased rollout. Use for any iOS or Flutter app ready to submit to the App Store. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the app-store-publish skill?

Run `npx @skills-hub-ai/cli install app-store-publish` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/app-store-publish/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does app-store-publish work with?

app-store-publish runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the app-store-publish skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use app-store-publish after installing it?

In Claude Code, type `/app-store-publish` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the app-store-publish skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.