·storekit

使用 StoreKit 2 实施、审查或改进应用内购买和订阅。使用 SubscriptionStoreView 或 ProductView 构建付费墙、使用产品和交易 API 处理交易、验证权利、处理购买流程(消费品、非消费品、自动续订)、实施优惠代码或促销/赢回/介绍性优惠、管理订阅状态和续订状态、使用配置文件设置 StoreKit 测试,或集成家庭共享、询问购买、退款处理和计费时使用重试逻辑。

96安装·26热度·@dpearson2699

安装

$npx skills add https://github.com/dpearson2699/swift-ios-skills --skill storekit

如何安装 storekit

通过命令行快速安装 storekit AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill storekit
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:dpearson2699/swift-ios-skills。

SKILL.md

查看原文

Implement in-app purchases, subscriptions, and paywalls using StoreKit 2 on iOS 26+. Use only the modern Product, Transaction, StoreView, and SubscriptionStoreView APIs. Never use the deprecated original StoreKit (SKProduct, SKPaymentQueue, SKStoreReviewController).

| Consumable | .consumable | Used once, can be repurchased (gems, coins) | | Non-consumable | .nonConsumable | Purchased once permanently (premium unlock) | | Auto-renewable | .autoRenewable | Recurring billing with automatic renewal | | Non-renewing | .nonRenewing | Time-limited access without automatic renewal |

Define product IDs as constants. Fetch products with Product.products(for:).

使用 StoreKit 2 实施、审查或改进应用内购买和订阅。使用 SubscriptionStoreView 或 ProductView 构建付费墙、使用产品和交易 API 处理交易、验证权利、处理购买流程(消费品、非消费品、自动续订)、实施优惠代码或促销/赢回/介绍性优惠、管理订阅状态和续订状态、使用配置文件设置 StoreKit 测试,或集成家庭共享、询问购买、退款处理和计费时使用重试逻辑。 来源:dpearson2699/swift-ios-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/dpearson2699/swift-ios-skills --skill storekit
分类
</>开发工具
认证
收录时间
2026-03-08
更新时间
2026-03-11

Browse more skills from dpearson2699/swift-ios-skills

快速解答

什么是 storekit?

使用 StoreKit 2 实施、审查或改进应用内购买和订阅。使用 SubscriptionStoreView 或 ProductView 构建付费墙、使用产品和交易 API 处理交易、验证权利、处理购买流程(消费品、非消费品、自动续订)、实施优惠代码或促销/赢回/介绍性优惠、管理订阅状态和续订状态、使用配置文件设置 StoreKit 测试,或集成家庭共享、询问购买、退款处理和计费时使用重试逻辑。 来源:dpearson2699/swift-ios-skills。

如何安装 storekit?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill storekit 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/dpearson2699/swift-ios-skills