iap-finalizer
Skill777 starsChanged 5 months agoMITView on GitHub
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 record exists. NOT for subscriptions, and NOT the same as promoted-iap (which displays IAPs in-app).
In this repository183 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- app-intentsSkill
- foundation-modelsSkill
- apple-intelligenceSkill
- visual-intelligenceSkill
- ad-attributionSkill
- app-description-writerSkill
- apple-search-adsSkill
- keyword-optimizerSkill
- marketing-strategySkill
- originality-checkSkill
- ratings-mechanicsSkill
- rejection-handlerSkill
- review-response-writerSkill
- screenshot-plannerSkill
- app-storeSkill
- web-presenceSkill
- core-mlSkill
- animation-patternsSkill
- game-feelSkill
- liquid-glassSkill
- sf-symbolsSkill
- designSkill
- typographySkill
- ui-prototypingSkill
- ux-writingSkill
- attributed-stringSkill
- foundationSkill
- accessibility-generatorSkill
- account-deletionSkill
- analytics-setupSkill
- announcement-bannerSkill
- app-clipSkill
- app-extensionsSkill
- app-icon-generatorSkill
- app-store-assetsSkill
- auth-flowSkill
- background-processingSkill
- ci-cd-setupSkill
- cloudkit-syncSkill
- consent-flowSkill
- custom-product-pagesSkill
- data-exportSkill
- debug-menuSkill
- deep-linkingSkill
- error-monitoringSkill
- feature-flagsSkill
- featuring-nominationSkill
- feedback-formSkill
- force-updateSkill
- http-cacheSkill
- image-loadingSkill
- in-app-eventsSkill
- lapsed-userSkill
- live-activity-generatorSkill
- localization-setupSkill
- logging-setupSkill
- milestone-celebrationSkill
- networking-layerSkill
- offer-codes-setupSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Price = one source of truth: Do not re-ask the price. Read it from the monetization decision in .planning/ (e.g.
- Very specific: line 61
Every write is dry-run first — show the body, confirm, then --apply.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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_iapor the ASC UI). This skill sets the metadata on that existing record.
Where it fits (read the seams)
- Not Phase 4. Phase 4 builds the IAP into the app (StoreKit 2, paywall) and decides the price. This is Phase 6 store-metadata finalization.
- Price = one source of truth. Do not re-ask the price. Read it from the monetization decision in
.planning/(e.g.MONETIZATION.md/PLAN.md); only confirm it. Re-eliciting risks drift from the paywall/StoreKit price. - Not
promoted-iap. That generator displays promoted IAPs in-app; this sets ASC price/localization. Different jobs. - One-time IAPs only. Subscriptions are a separate ASC flow (groups/offers) — out of scope here.
Prerequisites
_shared/asc-api/set up (see its README — key +~/.appstoreconnect/).- Set
ASC="python3 <path to asc.py>".asc.pylives at_shared/asc-api/asc.pyunder the sameskills/root as this skill — resolve it relative to this SKILL.md file's location (../../_shared/asc-api/asc.pyfrom this skill's directory), never relative to the project cwd (skills run with cwd = the user's project). Known install locations:- SwiftShip symlink install:
~/.claude/swiftship-skills/_shared/asc-api/asc.py - Copied install:
.claude/skills/_shared/asc-api/asc.py(project) or~/.claude/skills/_shared/asc-api/asc.py(global) - Plugin install: resolve from this file's location — the
_shared/tree ships with the plugin.
- SwiftShip symlink install:
- The IAP already exists in ASC. Get its id with the MCP:
list_iap→ pick the product. - Price decided in Phase 4. Read it from
.planning/and confirm — don't invent it.
Flow — dry-run → confirm → apply
- Confirm state. MCP
get_iap→ current state +productId. Read the target price + Display Name (≤30) + Description (≤45) from.planning/; confirm with the user viaAskUserQuestionif anything is missing. - Find the price point.
Pick the$ASC GET "/v1/inAppPurchases/<IAP_ID>/pricePoints?filter[territory]=USA"inAppPurchasePricePointid whosecustomerPricematches the target tier (e.g. 6.99). - Set the price (one-time IAPs use price schedules):
Body:$ASC POST /v1/inAppPurchasePriceSchedules @price.json # dry-run: review the body $ASC POST /v1/inAppPurchasePriceSchedules @price.json --apply # after you confirmdatarelationshipsinAppPurchase→{IAP_ID},baseTerritory→USA,manualPrices→[newinAppPurchasePrices];includeda newinAppPurchasePricesreferencing the price point withstartDate: null(="now"). - Set the localization:
PATCH the existing localization id instead if one already exists.$ASC POST /v1/inAppPurchaseLocalizations '{"data":{"type":"inAppPurchaseLocalizations","attributes":{"locale":"en-US","name":"<=30","description":"<=45"},"relationships":{"inAppPurchase":{"data":{"type":"inAppPurchases","id":"<IAP_ID>"}}}}}' --apply - Review screenshot (optional):
POST /v1/inAppPurchaseAppStoreReviewScreenshots— the 3-step ASC upload (reserve → upload bytes → commit). - Verify: MCP
get_iap→ state no longerMISSING_METADATA.
Done
- IAP priced + localized in ASC; state advanced; ready to submit with the build.
Caveats
- Verify each endpoint/field against the current ASC API reference before
--apply(captured 2026-07). - Every write is dry-run first — show the body, confirm, then
--apply. Never--applya price the user hasn't seen. - One-time IAPs only. Subscriptions → the MCP
create_subscription*tools + a separate flow.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

