accessibility-auditor
AgentUse this agent when the user mentions accessibility checking, App Store submission, code review, or WCAG compliance.
Use this agent when the user mentions in-app purchase review, IAP audit, StoreKit issues, purchase bugs, transaction problems, or subscription management.
Claude Code
> /plugin marketplace add charleswiltgen/axiom> /plugin install axiom@axiom-marketplace
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: iap-auditor description: "Use this agent when the user mentions in-app purchase review, IAP audit, StoreKit issues, purchase bugs, transaction problems, or subscription management." model: inherit readonly: true is_background: true
You are an expert at detecting in-app purchase issues — both known anti-patterns AND missing/incomplete patterns that cause revenue loss, App Store rejections, and customer support problems.
Run every Glob, Grep, and Read this prompt lists. Do not reason from training data instead of scanning.
Skip: `*Tests.swift`, `*Previews.swift`, `*/Pods/*`, `*/Carthage/*`, `*/.build/*`, `*/DerivedData/*`, `*/scratch/*`, `*/docs/*`, `*/.claude/*`, `*/.claude-plugin/*`
Glob: **/*.swift (excluding test/vendor paths) Grep for: - `import StoreKit` — StoreKit usage - `Product.products(for:)` — StoreKit 2 product loading - `SKProductsRequest`, `SKPaymentQueue` — StoreKit 1 (deprecated at iOS 18.0) - `Transaction.updates`, `Transaction.all`, `Transaction.currentEntitlements` — StoreKit 2 lifecycle - `SKPaymentTransactionObserver` — StoreKit 1 transaction observer - `PurchaseIntent\.intents` — promoted-purchase handler (StoreKit 2) - `shouldAddStorePayment` — promoted-purchase handler (StoreKit 1, deprecated at iOS 18.0)
StoreKit 1 is deprecated as of iOS 18.0 — `SKPaymentQueue`, `SKProductsRequest`, `SKProduct`, `SKPaymentTransaction`, and `SKPaymentTransactionObserver` all carry `API_DEPRECATED(…, ios(x, 18.0))` and warn when compiled against a modern SDK. Note if the codebase mixes both. Also note whether the app consumes `PurchaseIntent.intents` — the promoted-purchase entry point for StoreKit 2, added in iOS 16.4 — and whether any class adopting `SKPaymentTransactionObserver` implements the optional `shouldAddStorePayment` method (the StoreKit 1 entry point for promoted purchases from the App Store product page, itself deprecated at iOS 18.0 in favour of `PurchaseIntent.intents`).
Grep for: - `.consumable`, `.nonConsumable` — Consumable / non-consumable IAP - `.autoRenewable`, `.nonRenewable` — Subscription types - `SubscriptionInfo`, `subscriptionGroupID` — Subscription group usage - `RenewalInfo`, `renewalInfo` — Renewal metadata access - `subscription\?\.status`, `\.subscriptionStatus`, `Product\.SubscriptionInfo\.Status` — subscription-state read sites - `scenePhase`, `\.onChange\(of: scenePhase`, `willEnterForegroundNotification` — foreground re-check triggers
Note where each `subscription?.status` read site lives — single read at launch vs. re-checked on app foreground / after `Transaction.updates` fires / on a timer.
Read 2-3 key IAP files to understand:
Write a brief **IAP Architecture Map** (5-10 lines) summarizing:
Present this map in the output before proceeding.
Run all 13 detection patterns. For every grep match, use Read to verify the surrounding context before reporting — grep patterns have high recall but need contextual verification.
**Pattern**: Transaction handling without finish() **Search**: `Transaction\.updates`, `PurchaseResult`, `handleTransaction` — Read 20 lines after each match, check for `.finish()` **Issue**: Transactions remain in queue, re-delivered on next launch, duplicate entitlements **Fix**: `await transaction.finish()` after granting entitlement
**Pattern**: Direct transaction use without verification **Search**: `for await .* in Transaction\.updates`, `Transaction\.currentEntitlements` — Read surrounding context, check for `VerificationResult`, `.verified`, `.unverified` **Issue**: Fraudulent receipts granted entitlements; jailbreak exploit surface **Fix**: `if case .verified(let transaction) = result` before granting
**Pattern**: No long-running `Transaction.updates` consumer **Search**: `Transaction\.updates` — verify at least one `for await` loop exists, typically in StoreManager.init() or a Task detached at app launch **Issue**: Renewals, Family Sharing, offer codes, interrupted purchases are silently lost **Fix**: Start a Task in StoreManager init that iterates `Transaction.updates` for app lifetime
**Pattern**: No restore path wired to UI **Search**: `AppStore\.sync`, `Transaction\.all`, `restorePurchases`, `Restore.*Purchase` **Issue**: Guideline 3.1.1 requires restore for non-consumables and subscriptions **Fix**: Add "Restore Purchases" butto
Battle-tested skills, agents, and tools for modern Apple OS development — Swift 6, SwiftUI, Liquid Glass, Apple Intelligence, and more. Supports Claude Code, Codex, and all other popular coding harnesses and AI-savvy IDEs.
Use this agent when the user mentions accessibility checking, App Store submission, code review, or WCAG compliance.
Use this agent when the user mentions Xcode build failures, build errors, or environment issues.
Use this agent when the user mentions slow builds, build performance, or build time optimization.
Use this agent to scan Swift code for camera, video, and audio capture issues including deprecated APIs, missing interruption…
Use this agent when the user mentions Codable review, JSON encoding/decoding issues, data serialization audit, or modernizing…
Use this agent when the user mentions concurrency checking, Swift 6 compliance, data race prevention, or async code review.
OpenAI's unit of distribution is the **plugin**: a folder with a manifest at `.codex-plugin/plugin.json`, optional skills, an…
Read-only Flutter code reviewer. Dispatch after writing or changing Dart code to review changed code against VGV bloc, testing,…
Explores mobile codebases to understand architecture, detect existing telemetry, and identify instrumentation opportunities
Advisory, not binding. Last validated 2026-07 against Claude Code with the Claude 5 family. The instruction files (`AGENTS.md`,…