什麼是 storekit?
使用 StoreKit 2 實施、審查或改善應用程式內購買和訂閱。使用 SubscriptionStoreView 或 ProductView 建立付費牆、使用產品和交易 API 處理交易、驗證權利、處理購買流程(消費品、非消費品、自動續訂)、實作優惠碼或促銷/贏回/介紹性優惠、管理訂閱狀態和續訂狀態、使用設定檔設定 StoreKit 測試,或整合家庭共享、詢問時購買、退款時使用退款時使用重試使用。 來源:dpearson2699/swift-ios-skills。
使用 StoreKit 2 實施、審查或改善應用程式內購買和訂閱。使用 SubscriptionStoreView 或 ProductView 建立付費牆、使用產品和交易 API 處理交易、驗證權利、處理購買流程(消費品、非消費品、自動續訂)、實作優惠碼或促銷/贏回/介紹性優惠、管理訂閱狀態和續訂狀態、使用設定檔設定 StoreKit 測試,或整合家庭共享、詢問時購買、退款時使用退款時使用重試使用。
透過命令列快速安裝 storekit AI 技能到你的開發環境
來源:dpearson2699/swift-ios-skills。
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使用 StoreKit 2 實施、審查或改善應用程式內購買和訂閱。使用 SubscriptionStoreView 或 ProductView 建立付費牆、使用產品和交易 API 處理交易、驗證權利、處理購買流程(消費品、非消費品、自動續訂)、實作優惠碼或促銷/贏回/介紹性優惠、管理訂閱狀態和續訂狀態、使用設定檔設定 StoreKit 測試,或整合家庭共享、詢問時購買、退款時使用退款時使用重試使用。 來源:dpearson2699/swift-ios-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill storekit 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dpearson2699/swift-ios-skills