app-store
App Store optimization and marketing skills for descriptions, screenshots, keywords, review responses, and comprehensive promotional strategy. Use when user…
Generates GDPR/CCPA/DPDP privacy consent flows with granular category preferences, consent state persistence, audit logging, and ATT (App Tracking Transparency) integration. Use when user needs privacy consent UI, cookie/tracking consent, or compliance management.
$ npx -y skills add rshankras/claude-code-apple-skills --skill consent-flow --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/consent-flowContext preview
The summary Claude sees to decide when to auto-load this skill.
Generates GDPR/CCPA/DPDP privacy consent flows with granular category preferences, consent state persistence, audit logging, and ATT (App Tracking Transparency) integration. Use when user needs privacy consent UI, cookie/tracking consent, or compliance management.
name: consent-flow description: Generates GDPR/CCPA/DPDP privacy consent flows with granular category preferences, consent state persistence, audit logging, and ATT (App Tracking Transparency) integration. Use when user needs privacy consent UI, cookie/tracking consent, or compliance management. allowed-tools: [Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion] last_verified: 2026-07-16 review_by: 2027-06-22 os_version: iOS 27 / macOS 27
Generate a production privacy consent system with granular category-based consent, persistent state management, a consent banner and preferences UI, audit logging for compliance, and App Tracking Transparency integration.
Use this skill when the user:
Search for existing consent or privacy code:
Glob: **/*Consent*.swift, **/*Privacy*.swift, **/*Tracking*.swift, **/*GDPR*.swift Grep: "ATTrackingManager" or "ConsentManager" or "trackingAuthorizationStatus"
If third-party library found (OneTrust, Usercentrics, CookieBot):
Check for App Tracking Transparency framework:
Grep: "AppTrackingTransparency" in project files Grep: "NSUserTrackingUsageDescription" in Info.plist
If `NSUserTrackingUsageDescription` is missing from Info.plist, warn the user that ATT requires this key and offer to add it.
Determine if generating for iOS (primary ATT target) or macOS (ATT not applicable) or both.
Ask user via AskUserQuestion:
1. **Target regulations?**
2. **Consent categories?** (multi-select)
3. **Include ATT integration?**
4. **Consent UI style?**
Read `templates.md` for production Swift code. Read `patterns.md` for compliance rules, regulation differences, and UX guidance.
Generate these files: 1. `ConsentCategory.swift` — Enum of consent categories with metadata 2. `ConsentDecision.swift` — Per-category consent state with timestamp 3. `ConsentManager.swift` — @Observable manager with persistence and ATT integration 4. `ConsentAuditLog.swift` — Compliance audit trail with JSON export
5. `ConsentBannerView.swift` — Animated slide-up consent banner 6. `ConsentPreferencesView.swift` — Detailed toggle list for each category
Based on configuration:
Check project structure:
After generation, provide:
Consent/ ├── ConsentCategory.swift # Consent category enum with metadata ├── ConsentDecision.swift # Per-category decision with timestamp ├── ConsentManager.swift # @Observable manager with persistence ├── ConsentAuditLog.swift # Compliance audit trail ├── ConsentBannerView.swift # Animated consent banner ├── ConsentPreferencesView.swift # Granular preferences UI ├── ConsentRegulationConfig.swift # Multi-regulation rules (optional) └── ConsentATTBridge.swift # ATT integration bridge (optional)
**Show consent on first launch:**
@main
struct MyApp: App {
@State private var consentManager = ConsentManager()
var body: some Scene {
WindowGroup {
ContentView()
.environment(consentManager)
.overlay(alignment: .bottom) {
if consentManager.needsConsent {
ConsentBannerView()
.environment(consentManager)
.transition(.move(edge: .bottom).combined(with: .opacity))
}
}
.animation(.easeInOut(duration: 0.3), value: consentManager.needsConsent)
}
}
}**Check consent before tracking:**
func trackEvent(_ event: AnalyticsEvent) {
guard consentManager.hasConsent(for: .analytics) else { return }
analyticsService.track(event)
}
func showPersonalizedAd() {
guard consentManager.hasConsent(for: .marketing) else {
showA collection of Claude Code skills for iOS, macOS, watchOS, visionOS, and Apple platform development. These skills help you plan and build apps, maintain code quality, ensure HIG compliance, and guide you from idea to App Store.
Repo: rshankras/claude-code-apple-skills
App Store optimization and marketing skills for descriptions, screenshots, keywords, review responses, and comprehensive promotional strategy. Use when user…
Privacy-preserving ad measurement with AdAttributionKit (SKAdNetwork's successor) — install and re-engagement attribution, conversion-value strategy under…
Generate compelling App Store descriptions that convert browsers into users. Use when writing initial descriptions, improving existing copy, or drafting…
Apple Search Ads campaign strategy for indie developers — paid acquisition, keyword bidding, budget planning, and ROAS optimization. Use when user asks about…
Take a one-time in-app purchase from MISSING_METADATA to READY_TO_SUBMIT in App Store Connect — set its price schedule and localized display name/description…
Optimize app title, subtitle, and keywords for maximum App Store discoverability. Use when launching a new app, improving search rankings, entering new…