AGENT SKILL

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.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 5
Forks
0

01 前言 Front Matter

name
asc-app-create-ui
description
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.

02 资源文件 2

03 SKILL.md 正文

asc app create (UI automation)

Use this skill to create a new App Store Connect app by driving the web UI. This is opt-in, local-only automation that requires the user to be signed in.

Preconditions

  • A browser automation tool is available (Playwright, Cursor browser MCP, or equivalent).
  • User is signed in to App Store Connect (or can complete login + 2FA).
  • The bundle ID must already be registered in the Apple Developer portal.
  • Required inputs are known:
    • app name (max 30 characters)
    • bundle ID (must exist and be unused by another app)
    • SKU
    • platform (iOS, macOS, tvOS, visionOS)
    • primary language
    • user access (Full Access or Limited Access)

Safety Guardrails

  • Never export or store cookies.
  • Use a visible browser session only.
  • Pause for a final confirmation before clicking "Create" (for standalone scripts).
  • Do not retry the Create action automatically on failure.

Workflow

1. Preflight: register bundle ID and verify no existing app

# Register the bundle ID via public API (if not already registered)
asc bundle-ids create --identifier "com.example.app" --name "My App" --platform IOS

# Confirm no app record exists yet
asc apps list --bundle-id "com.example.app" --output json

2. Open App Store Connect

Navigate to https://appstoreconnect.apple.com/apps and ensure the user is signed in.

3. Open the New App form

The "New App" button (blue "+" icon) opens a dropdown menu, not a dialog directly.

  • Click the "New App" button to open the dropdown.
  • Click the "New App" menu item inside the dropdown.
  • The creation dialog/modal appears.

4. Fill required fields (in order)

Platform (checkboxes)

The platforms are checkboxes (not radio buttons). Click the checkbox for the desired platform(s):

  • iOS, macOS, tvOS, visionOS
  • Multiple can be selected.

Name (text input)

  • Label: Name
  • Max 30 characters.

Primary Language (select/combobox)

  • Label: Primary Language
  • Use select_option or equivalent with the language label (e.g., "English (U.S.)").

Bundle ID (select/combobox)

  • Label: Bundle ID
  • This is a <select> dropdown. The options load asynchronously after platform selection.
  • Wait for the dropdown to finish loading (it shows "Loading..." initially).
  • Select by matching the label text which includes both the name and identifier: "My App - com.example.app"

SKU (text input)

  • Label: SKU

User Access (radio buttons) -- REQUIRED

  • This field is required. The Create button stays disabled until one option is selected.
  • Options: Limited Access or Full Access.
  • These are custom radio buttons with <span> overlays.
  • Known issue: Accessibility-based clicks may be intercepted by the overlay <span>.
  • Workaround: Use scrollIntoView on the radio element first, then click the radio ref directly. This bypasses the overlay interception.

5. Click Create

  • The "Create" button is disabled until all required fields are filled and User Access is selected.
  • After clicking, the button text changes to "Creating" while processing.
  • Wait for navigation to the new app's page (URL pattern: /apps/<APP_ID>/...).

6. Verify creation via API

asc apps view --id "APP_ID" --output json --pretty
# or
asc apps list --bundle-id "com.example.app" --output json

7. Hand off to post-create setup

asc app-setup info set --app "APP_ID" --primary-locale "en-US"
asc app-setup categories set --app "APP_ID" --primary GAMES
asc pricing availability create \
  --app "APP_ID" \
  --territory "USA,GBR" \
  --available true \
  --available-in-new-territories true

Use asc pricing availability create only for the first availability bootstrap. If Apple rejects that public-API bootstrap, authenticate a web session with asc web auth login --apple-id "EMAIL" and retry with asc web apps availability create --app "APP_ID" --territory "USA,GBR" --available-in-new-territories true, or configure Pricing and Availability in App Store Connect. If app availability already exists, switch to asc pricing availability edit --app "APP_ID" ... for later territory changes.

Known UI Automation Issues

"New App" is a dropdown menu, not a direct action

The first click opens a menu with "New App" and "New App Bundle". You must click the menu item, not just the button.

User Access radio buttons have span overlays

Apple's custom radio buttons wrap the <input type="radio"> in styled <span> elements. Direct ref-based clicks may fail with "click target intercepted". The fix is:

  1. Scroll the radio element into view (scrollIntoView).
  2. Click the radio ref directly (not via offset or label click).

Bundle ID dropdown loads asynchronously

After selecting a platform, the Bundle ID dropdown shows "Loading..." and is disabled. Wait for it to become enabled and populated before selecting.

browser_fill may not trigger form validation

Apple's Ember.js forms use custom change handlers. browser_fill (atomic set) may not trigger validation. If the Create button stays disabled after filling all fields:

  • Retype the value slowly (character-by-character) in at least one text field.
  • Or click the field, clear it, and type slowly.

Failure Handling

  • If any field or button cannot be located, stop and request user help.
  • Capture a screenshot and report the last known step.
  • Do not retry the Create click automatically.
  • On failure, the user should check the browser for validation errors (red outlines, inline messages).

Notes

  • This skill is a workaround for a missing public API. Apple's docs explicitly state: "Don't use this API to create new apps; instead, create new apps on the App Store Connect website."
  • UI selectors can change without notice. Prefer role/label/text selectors over CSS.
  • The only manual step should be signing in. Everything else is agent-drivable.

04 同仓库更多 Skills

buidangminh23
buidangminh23/design-pro-max

icons-pro-max

A portable icon catalog and rendering guide for the current project: payment methods, QR codes, social/app brand marks, download badges, the lucide-react UI icon set, 145 tech-stack logos, 86 full-color AI provider marks, 516 Claude connector icons, and 25 Microsoft app logos. Gives the exact asset path, React component, canonical size, brand color, render recipe, and accessibility rule for each icon — plus an anti-slop checklist so an agent never redraws a logo, recolors a brand mark, distorts an aspect ratio, or re-inlines a duplicated icon. Use whenever adding, rendering, swapping, or auditing an icon anywhere in a website, app, or document.

★ 5
buidangminh23
buidangminh23/design-pro-max

design-spacing-rhythm

The most complete spacing & alignment skill for AI-generated UI and written documents. Reads the layout, sets three dials (SPACING_STEP / DENSITY / ALIGNMENT_RIGOR), derives ONE scale, and lets proximity carry meaning — establishing a spacing scale, vertical rhythm, optical alignment, whitespace hierarchy, responsive/fluid density, accessibility floors, component recipes, document & long-form (Word / Docs / PDF / Markdown) spacing, and an anti-slop checklist. Every rule is CONTEXTUAL: read the situation, then pull only what fits. Not a blanket "add more padding" pass.

★ 5
buidangminh23
buidangminh23/design-pro-max

apple

For Apple app UI and code (SwiftUI, Xcode, HIG) and scroll scenes. Use when a question or task needs HIG reviews, App Store Connect (app records, TestFlight, signing, notarizing, ad hoc, What's New, ASO, Apple Ads, Wall of Apps, screenshots), SwiftData, Swift 6, Swift Testing, Core Data, Xcode builds, disk space, Tuist apps or pinned or scrubbed web sections. Not for launch/preview videos, captioned screenshots, Play Store art, GSAP, web springs (apple-design) or Swift questions (write-swift).

★ 5
buidangminh23
buidangminh23/design-pro-max

xcode-disk-cleanup

Audit and safely clean Xcode-related developer storage on macOS. Use whenever a developer mentions low disk space, Xcode storage, DerivedData, simulator devices or runtimes, stale beta platforms in Xcode Settings, DeviceSupport, archives, dSYMs, CocoaPods caches, simulator dyld caches, project .build folders, downloaded Xcode DMGs/XIPs, duplicate Xcode installers, or old Xcode applications. Also use this skill proactively when you hit low storage during other work, such as a build, download, or install failing with an out-of-disk-space error. Always measure first, report recoverable GiB with evidence, and obtain explicit itemized approval before any mutation.

★ 5
buidangminh23
buidangminh23/design-pro-max

xcode-project-analyzer

Audit Xcode project configuration, build settings, scheme behavior, and script phases to find build-time improvements with explicit approval gates. Use when a developer wants project-level build analysis, slow incremental builds, guidance on target dependencies, build settings review, run script phase analysis, parallelization improvements, or module-map and DEFINES_MODULE configuration.

★ 5
buidangminh23
buidangminh23/design-pro-max

xcode-compilation-analyzer

Analyze Swift and mixed-language compile hotspots using build timing summaries and Swift frontend diagnostics, then produce a recommend-first source-level optimization plan. Use when a developer reports slow compilation, type-checking warnings, expensive clean-build compile phases, long CompileSwiftSources tasks, warn-long-function-bodies output, or wants to speed up Swift type checking.

★ 5