Iap finalizer

From rshankras/claude-code-apple-skills · View interactive version

Iap finalizer is an AI agent skill from the GitHub repository rshankras/claude-code-apple-skills. Take a one-time in-app purchase from MISSING_METADATA to READY_TO_SUBMIT in App Store Connect — set its price schedule and localized display name/description (and optional review screenshot) via the ASC REST API. Use at Phase 6 (Pre-Release), after the IAP is built in-app (Phase 4) and its ASC recor

How to use this skill

Skill file

IAP Finalizer

Finish a one-time in-app purchase on the store side: price + localization, the two fields the asc-metadata MCP can't set (it exposes only reference name / review note / family-sharing). Moves an IAP from MISSING_METADATA → READY_TO_SUBMIT so it can ship with the build.

This finalizes; it does not define. The product id, tier, and price decision come from Phase 4 (Monetization / StoreKit). The ASC IAP record must already exist (created via the MCP create_iap or the ASC UI). This skill sets the metadata on that existing record.

Where it fits (read the seams)

Prerequisites

Flow — dry-run → confirm → apply

  1. Confirm state. MCP get_iap → current state + productId. Read the target price + Display Name (≤30) + Description (≤45) from .planning/; confirm with the user via AskUserQuestion if anything is missing.
  2. Find the price point.

```

$ASC GET "/v1/inAppPurchases/<IAP_ID>/pricePoints?filter[territory]=USA"

```

Pick the inAppPurchasePricePoint id whose customerPrice matches the target tier (e.g. 6.99).

  1. Set the price (one-time IAPs use price schedules):

```

$ASC POST /v1/inAppPurchasePriceSchedules @price.json # dry-run: review the body

$ASC POST /v1/inAppPurchasePriceSchedules @price.json --apply # after you confirm

```

Body: data relationships inAppPurchase→{IAP_ID}, baseTerritory→USA, manualPrices→[new inAppPurchasePrices]; included a new inAppPurchasePrices referencing the price point with startDate: null (="now").

  1. Set the localization:

```

$ASC POST /v1/inAppPurchaseLocalizations '{"data":{"type":"inAppPurchaseLocalizations","attributes":{"locale":"en-US","name":"<=30","description":"<=45"},"relationships":{"inAppPurchase":{"data":{"type":"inAppPurchases","id":"<IAP_ID>"}}}}}' --apply

```

PATCH the existing localization id instead if one already exists.

  1. Review screenshot (optional): POST /v1/inAppPurchaseAppStoreReviewScreenshots — the 3-step ASC upload (reserve → upload bytes → commit).
  2. Verify: MCP get_iap → state no longer MISSING_METADATA.

Done

Caveats

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.