appstore-compliance

appstore-compliance is a skill for Claude Code, Codex from wangjianqi/AppStore. It costs 39 tokens per session (2,931 once invoked), scanned A, original, MIT.

An iOS App Store compliance guide covering subscriptions, in-app purchases, permissions, privacy data, user guidance, and review preparation. It includes StoreKit 2, Apple’s modern purchase framework, and App Tracking Transparency.

In plain words
What is it for?
Use it when implementing subscriptions, restoring purchases, requesting tracking permission, preparing privacy manifests and policies, or checking an app before review.
Why use it?
It turns common App Store requirements into implementation checks, reducing the risk of rejected purchases, permission flows, or privacy disclosures.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when implementing subscriptions, restoring purchases, requesting tracking permission, preparing privacy manifests and policies, or checking an app before review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wangjianqi/appstore/04-appstore-compliance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wangjianqi/AppStore --skill 04-appstore-compliance
Clone the repo
git clone --depth 1 https://github.com/wangjianqi/AppStore

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for appstore-compliance

README.md
[![agentmods](https://agentmods.dev/badge/skills/wangjianqi/appstore/04-appstore-compliance/github.svg)](https://agentmods.dev/skills/wangjianqi/appstore/04-appstore-compliance)
Your own site
<a href="https://agentmods.dev/skills/wangjianqi/appstore/04-appstore-compliance"><img src="https://agentmods.dev/badge/skills/wangjianqi/appstore/04-appstore-compliance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for appstore-compliance

Your own site · 80×15
<a href="https://agentmods.dev/skills/wangjianqi/appstore/04-appstore-compliance"><img src="https://agentmods.dev/badge/skills/wangjianqi/appstore/04-appstore-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,931 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.02931
Opus 5 $0.00019 $0.01465
Sonnet 5 $0.00008 $0.00586
Haiku 4.5 $0.00004 $0.00293

Measured 11d ago against content hash f7232f32df18, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

appstore-compliance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ios-claude-skills/04-appstore-compliance/SKILL.md · 350 lines

How it starts

The opening of the file, as written. The whole thing — 350 lines — stays where its author put it; the contents beside it link to each section on GitHub.

App Store 审核合规

内购 & 订阅(IAP)

  • 数字内容 / 会员订阅必须走 StoreKit 2(iOS 15+),禁止第三方支付
  • 禁止在 App 内出现外部支付链接、二维码、价格暗示
  • 订阅购买前必须展示:价格 + 周期 + 免费试用时长(如有)
  • 恢复购买按钮必须可见(审核员会点)
  • Receipt 验证推荐服务端验证,禁止纯客户端验证
  • 退订引导:只能引导到系统订阅管理页,禁止自定义取消流程
// StoreKit 2 标准购买流程
let result = try await product.purchase()
switch result {
case .success(let verification):
    // 验证 transaction
case .userCancelled: break
case .pending: break
}

ATT(App Tracking Transparency)

完整请求流程

import AppTrackingTransparency
import AdSupport

final class TrackingManager {
    static let shared = TrackingManager()

    var isAuthorized: Bool {
        ATTrackingManager.trackingAuthorizationStatus == .authorized
    }

    func requestPermission(completion: @escaping (Bool) -> Void) {
        ATTrackingManager.requestTrackingAuthorization { status in
            DispatchQueue.main.async {
                switch status {
                case .authorized:
                    completion(true)
                case .denied, .restricted, .notDetermined:
                    completion(false)
                @unknown default:
                    completion(false)
                }
            }
        }
    }

    func checkStatus() -> ATTrackingManager.AuthorizationStatus {
        ATTrackingManager.trackingAuthorizationStatus
    }
}

ATT 规范

  • 禁止在 App 启动时立即请求 ATT,必须在用户理解追踪目的后再请求
  • 推荐时机:用户点击"个性化推荐"开关 / 进入含广告的页面 / 首次使用相关功能时
  • Info.plistNSUserTrackingUsageDescription 必须具体说明用途:
    • ❌ "需要追踪您的活动"
    • ✅ "用于向您推荐更感兴趣的内容,您可随时在设置中关闭"
  • ATT 被拒绝后,禁止反复弹窗,提供设置页引导

前置说明页(Pre-ATT Screen)

final class TrackingPermissionVC: UIViewController {
    private let titleLabel = UILabel()
    private let descriptionLabel = UILabel()
    private let allowButton = UIButton()
    private let skipButton = UIButton()

    private func setupUI() {
        titleLabel.text = "个性化推荐"
        descriptionLabel.text = "允许追踪可以帮助我们为您推荐更感兴趣的内容,您可随时在系统设置中关闭此权限。"
        allowButton.setTitle("允许追踪", for: .normal)
        skipButton.setTitle("暂不开启", for: .normal)
    }

    @objc private func allowTapped() {
        TrackingManager.shared.requestPermission { [weak self] authorized in
            self?.dismiss(animated: true)
        }
    }

    @objc private func skipTapped() {
        dismiss(animated: true)
    }
}

Read the full file on GitHub · 350 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 350 lines · 39 tokens per session scan A f7232f32df18

Subscribe to this mod's changes

appstore-compliance is a skill published in the GitHub repository wangjianqi/AppStore (11 stars, last pushed 3mo ago), licensed MIT. It adds 39 tokens to every session and 2,931 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ipaship-audit

Use when auditing iOS/Android app submissions for compliance with Apple App Store Review Guidelines or Google Play Developer Policies. Scan .ipa, .apk, or .zip files against official store policies, generate structured compliance reports, and identify violations with remediation steps.

atharvnaik1/ipaship-audit · 57 tokens

app-store-review

Audit an iOS app's App Store submission readiness and rejection risk for a fintech app — App Review Guidelines domains (Safety/Performance/Business/Design/Legal), PrivacyInfo.xcprivacy (NSPrivacyAccessedAPITypes required-reason APIs, NSPrivacyTrackingDomains, NSPrivacyCollectedDataTypes), App Privacy nutrition labels…

TalissonVitorino/kmp-ios-skills · 219 tokens

app-store-approval

Audit an iOS/iPadOS codebase for App Store rejection risks before submission. Use this skill whenever the user mentions App Store submission, App Review, TestFlight release, app rejection, ITMS errors, privacy manifests, PrivacyInfo.xcprivacy, App Store guidelines, paywall compliance, "is my app ready to ship", or…

artbyjazi/app-store-approval · 111 tokens

app-store-compliance

Run an enterprise pre submission compliance audit on a mobile app project before uploading to the Apple App Store or Google Play. Use when the user is about to submit, ship, or release an iOS or Android app, when an app was rejected and needs a fix plan, when reviewing App Store Review Guidelines or Google Play policy…

mjmirza/app-store-compliance · 108 tokens

app-review-max

Pass Apple App Review the first time and recover fast when rejected. USE THIS SKILL whenever the user is submitting to the App Store, preparing a submission, asks 'will this get rejected', mentions App Review, a rejection, Resolution Center, an appeal, or any guideline number (2.1, 2.3, 3.1.1, 4.3, 5.1.x, etc.)…

Dev869/swift-tothemax · 218 tokens

apple-legal-max

Legal and privacy compliance for Apple-platform apps (iOS/iPadOS/macOS/watchOS/tvOS/visionOS). Use this skill WHENEVER a task touches - privacy policy, terms of service, ToS, EULA, license agreement, privacy manifest, PrivacyInfo.xcprivacy, required reason APIs, App Tracking Transparency, ATT, IDFA, tracking domains…

Dev869/swift-tothemax · 235 tokens