app-store
App Store optimization and marketing skills for descriptions, screenshots, keywords, review responses, and comprehensive promotional strategy. Use when user…
Generates lapsed user detection and re-engagement screens with personalized return experiences, win-back offers, and inactivity tracking. Use when user wants to re-engage inactive users, detect lapsed users, or build return flows.
$ npx -y skills add rshankras/claude-code-apple-skills --skill lapsed-user --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/lapsed-userContext preview
The summary Claude sees to decide when to auto-load this skill.
Generates lapsed user detection and re-engagement screens with personalized return experiences, win-back offers, and inactivity tracking. Use when user wants to re-engage inactive users, detect lapsed users, or build return flows.
name: lapsed-user description: Generates lapsed user detection and re-engagement screens with personalized return experiences, win-back offers, and inactivity tracking. Use when user wants to re-engage inactive users, detect lapsed users, or build return flows. 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 production infrastructure for detecting users who haven't opened the app in X days, showing personalized return screens that highlight what they missed, and optionally presenting win-back incentives to recover churned or lapsing users.
Use this skill when the user:
Search for existing engagement or analytics infrastructure:
Glob: **/*Analytics*.swift, **/*Engagement*.swift, **/*Tracker*.swift, **/*Activity*.swift Grep: "lastActiveDate" or "UserDefaults" or "scenePhase" or "applicationDidBecomeActive"
If existing tracking found:
Search for existing push notification configuration:
Glob: **/*Notification*.swift, **/*Push*.swift Grep: "UNUserNotificationCenter" or "UNNotification" or "registerForRemoteNotifications"
If push notifications are configured, offer push-based re-engagement as an option.
Search for existing lapsed user handling:
Glob: **/*LapsedUser*.swift, **/*WinBack*.swift, **/*ReturnExperience*.swift, **/*Reengag*.swift Grep: "lapsedUser" or "winBack" or "returnExperience" or "daysInactive"
If existing implementation found:
Ask user via AskUserQuestion:
1. **Inactivity threshold?**
2. **Re-engagement strategy?**
3. **Trigger mechanism?**
4. **Include analytics events?**
Read `templates.md` for production Swift code.
Generate these files: 1. `InactivityTracker.swift` — Tracks last active date, calculates days since last use 2. `LapsedUserDetector.swift` — Evaluates inactivity against thresholds, returns lapse category 3. `LapsedUserManager.swift` — Orchestrator combining detection + experience selection + analytics
4. `ReturnExperienceView.swift` — Personalized "Welcome back" screen with what-you-missed 5. `WinBackOfferView.swift` — Special offer screen for lapsed subscribers
6. `LapsedUserModifier.swift` — SwiftUI ViewModifier for root view auto-detection and presentation
Check project structure:
After generation, provide:
LapsedUser/ ├── InactivityTracker.swift # Tracks last active date in UserDefaults ├── LapsedUserDetector.swift # Evaluates inactivity thresholds ├── LapsedUserManager.swift # Orchestrator for detection + experience ├── ReturnExperienceView.swift # Welcome back screen with highlights ├── WinBackOfferView.swift # Special offer for lapsed subscribers └── LapsedUserModifier.swift # ViewModifier for auto-detection
**Attach to root view:**
@main
struct MyApp: App {
var body: some Scene {
WindowGroup {
ContentView()
.lapsedUserDetection()
}
}
}**Manual detection (if you need control over presentation):**
struct ContentView: View {
@State private var manager = LapsedUserManager()
var body: some View {
NavigationStack {
MainView()
}
.task {
await manager.checkOnReturn()
}
.sheet(item: $manager.returnExperience) { experience in
ReturnExperienceView(experience: experience)
}
.sheet(item: $manager.winBackOffer) { offer in
WinBackOfferView(offer: offer)
}
}
}**With custom thresholds:**
let detector = LapsedUserDetector(
recentThreshold: 7, // 1-7 days: recently inactive
moderateThreshold: 21, // 8-21 days: moderately lapsed
longTermThreshold: 60 // 22-60 days: long-term lapsed
)**Win-back offer for lapsed subscribers:**
WinBackOffer
A 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…