skills/generators/review-prompt/SKILL.md
Generates smart App Store review prompt infrastructure with configurable conditions and platform detection. Use when user wants to add review prompts, request ratings, or implement StoreKit reviews.
npx skillsauth add rshankras/claude-code-apple-skills review-promptInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate smart App Store review prompting with configurable trigger conditions, platform detection, and proper timing logic.
Use this skill when the user:
This skill only applies to App Store distributed apps.
Detection steps:
com.apple.application-identifier entitlementSearch for existing implementations:
Grep: "requestReview" or "SKStoreReviewController" or "StoreKit"
Glob: **/*Review*.swift
If found, ask user:
Ask user via AskUserQuestion:
Trigger conditions? (multi-select)
Minimum thresholds?
Cool-down period?
Debug mode?
Generate these files:
ReviewPromptManager.swift - Core logic and timingReviewPromptCondition.swift - Configurable conditionsReviewPromptStorage.swift - Persistence for trackingCheck project structure:
Sources/ exists → Sources/Reviews/App/ exists → App/Reviews/Reviews/For macOS, include:
#if os(macOS)
// Check if running from App Store
guard Bundle.main.appStoreReceiptURL?.lastPathComponent != "sandboxReceipt" else {
// Running in sandbox but not App Store - skip
return
}
#endif
After generation, provide:
Sources/Reviews/
├── ReviewPromptManager.swift # Core logic
├── ReviewPromptCondition.swift # Conditions enum
└── ReviewPromptStorage.swift # UserDefaults persistence
Option 1: Automatic (Recommended)
@main
struct MyApp: App {
var body: some Scene {
WindowGroup {
ContentView()
.onAppear {
ReviewPromptManager.shared.incrementSession()
}
}
}
}
// In relevant places (after positive actions):
ReviewPromptManager.shared.recordPositiveAction()
ReviewPromptManager.shared.requestReviewIfAppropriate()
Option 2: Manual Trigger Points
// After user completes a significant action
func completeTask() {
// ... task completion logic ...
ReviewPromptManager.shared.recordPositiveAction()
ReviewPromptManager.shared.requestReviewIfAppropriate()
}
ReviewPromptManager.debugAlwaysShow = trueReviewPromptStorage.reset()For custom UI or macOS direct distribution:
// Deep link to App Store review page
let appID = "YOUR_APP_ID"
let url = URL(string: "https://apps.apple.com/app/id\(appID)?action=write-review")!
NSWorkspace.shared.open(url) // macOS
UIApplication.shared.open(url) // iOS
development
US web checkout via the StoreKit External Purchase Link entitlement — currently 0% Apple commission (litigation ongoing), how to ship it safely, and how to architect for a commission flip so a future ruling is a config change, not a rewrite. Use when adding external purchase links, weighing web checkout vs IAP, or planning US-storefront pricing strategy.
tools
Revenue beyond the single-app price tag — own-app bundles, Family Sharing as a conversion lever, cross-developer bundles & suites, and institutional licensing via Group Purchases / Apple School & Business Manager. Use when a developer has multiple apps, a subscription worth sharing, complementary indie partners, or school/clinic/business buyers.
testing
Run a structured accessibility audit on an iOS/macOS app — automated XCUITest audits, Accessibility Inspector, manual VoiceOver/Dynamic Type passes, and App Store Accessibility Nutrition Label evaluation. Use before release, when preparing Nutrition Label declarations, or for EU Accessibility Act compliance.
tools
Stage-by-stage audit of an app's App Store growth machinery against a 54-item P0–P9 playbook — every item scored from an App Store Connect MCP call, a codebase check, or an explicit question to the user, then routed to the skill or command that fixes it. Read-only on App Store Connect. Use for a growth audit or scorecard, a pre-launch growth plan, a quarterly re-audit, or "which growth levers am I missing."