/corgi:purchasesfrom corgi
Manages in-app purchase metadata, RevenueCat configuration, and product ID synchronization for Expo/React Native apps. Handles App Store Connect IAP review notes and ASC API pushes.
Ships in corgi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Done when: the products and their metadata are live in each store and RevenueCat asked for, read back from the store, not assumed.
Two surfaces, often confused: the binary (ship skill) and the products (here).
Load-bearing fact: fastlane deliver does NOT manage IAP metadata - it pushes the app
listing + screenshots, not per-IAP fields. IAP review notes / names / prices → the App
Store Connect API (or by hand in the console). RevenueCat owns offerings + entitlements,
NOT the store-side review notes.
ONE app module owns the exact store product-id strings (<category>_<id>, e.g.
pack_<id> / deck_<id> / <feature>_unlock). These strings ARE the contract: App Store
Connect, Play Console, and RevenueCat must all mirror them, and ownership is checked
against customerInfo.allPurchasedProductIdentifiers. Renaming one = renaming it in three
places. Derive everything else (the store grid, the metadata below) FROM this module so
they can't drift.
The per-IAP "how a reviewer tests this purchase" steps used to live only in App Store Connect (and often only for ONE product), so they were easy to lose + drift. Make them a code artifact:
bun/node script can run it.review_notes.txt per product under a version-tracked
folder (e.g. fastlane/metadata/iap/<product_id>/review_notes.txt) + an INDEX. One
bun run iap:stage regenerates them ALL together - adding a pack = one edit, every note
stays in lockstep.A small script talks to the ASC API directly:
aud: appstoreconnect-v1,
alg: ES256, 10-min exp; sign with the EC P-256 key using a JOSE raw signature
(Node: crypto.sign('SHA256', input, { key, dsaEncoding: 'ieee-p1363' })). Get the key
from the repo's keychain helper (it injects *_KEY_ID / *_ISSUER_ID /
*_KEY_CONTENT (base64 .p8) for the wrapped command) - never read a .p8 off disk.GET /v1/apps?filter[bundleId]=<bundle> → app id; GET /v1/apps/<id>/inAppPurchasesV2?limit=200&fields[inAppPurchases]=productId,name,state,reviewNote
→ match each by productId.reviewNote IS an attribute on the InAppPurchaseV2 resource:
PATCH /v2/inAppPurchases/<iap-id> with
{ data: { type: "inAppPurchases", id, attributes: { reviewNote } } }.--apply sends the PATCHes. Make the apply loop
per-product try/catch so one bad IAP can't abort the batch.deliver ignores IAPs. precheck_include_in_app_purchases is a PRECHECK flag, not a
pusher. Don't expect fastlane deliver to touch a single IAP field.reviewNote works on READY_TO_SUBMIT AND
APPROVED IAPs (metadata edit). The dry-run shows each one's state so you know what you're
touching.../_shared/conventions.md first (attribution).fastlane deliver / supply to push IAP review notes → it can't; use the ASC
API.--apply on the first run → dry-run first (it mutates live store config), eyeball the
diff, THEN apply + round-trip verify.ship skill - submitting the binary (separate from the products here).mobile skill - driving the actual purchase sheet on a device to verify the flow.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub andriiklymiuk/corgi --plugin corgi33 skills in this plugin
/agentUse for corgi agent mode: Remote Control from a phone, the session board ("who is waiting on me"), watching trackers and PRs ("tell me when someone comments"), why a watch fired, and handoffs ("leave a handoff for ABC-7"). NOT compose authoring (corgi), starting a stack (run), debugging (debug)./alignUse when the user says "align", "let's agree first", or a request can be read two ways before any code. Reaches a shared understanding cheaply, then codes. NOT a plan gate or a long interview./autopilotUse for a SUPERVISED loop that drains the ticket queue into draft PRs: "autopilot", "keep shipping the queue", "drain the backlog overnight". One spec gate per batch, never merges. NOT a single batch (/corgi-queue)./before-afterUse to prove a visual change against what it replaced: "before and after", "screenshot comparison", "attach screenshots to the PR". Captures the same screen on the base branch and yours. NOT a design match (design-parity) or store shots (mobile-screenshots)./budgetUse for "how much budget do I have", "can I start another task", "when does the limit reset". Reads `corgi agent usage --json`, answers in numbers, suggests `corgi agent carry` near a limit./ciUse to put a corgi stack in CI or run e2e across repos: "set up CI for this workspace", "wire this to GitHub Actions/GitLab CI", "full-stack e2e on the PR". NOT compose authoring, local runs, broken stacks or PR review.Other plugins' skills for the same job