app-store
App Store optimization and marketing skills for descriptions, screenshots, keywords, review responses, and comprehensive promotional strategy. Use when user…
Generates an in-app announcement banner system with remote configuration, scheduling, deep link actions, and dismiss tracking. Use when user wants in-app banners, promotional notices, maintenance alerts, or contextual announcements.
$ npx -y skills add rshankras/claude-code-apple-skills --skill announcement-banner --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/announcement-bannerContext preview
The summary Claude sees to decide when to auto-load this skill.
Generates an in-app announcement banner system with remote configuration, scheduling, deep link actions, and dismiss tracking. Use when user wants in-app banners, promotional notices, maintenance alerts, or contextual announcements.
name: announcement-banner description: Generates an in-app announcement banner system with remote configuration, scheduling, deep link actions, and dismiss tracking. Use when user wants in-app banners, promotional notices, maintenance alerts, or contextual announcements. 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 configurable in-app announcement/banner system that displays contextual messages (maintenance alerts, new feature highlights, promotions) from remote config or local definitions. Supports dismissal, deep link actions, and scheduling.
Use this skill when the user:
Search for existing banner/toast code:
Glob: **/*Banner*.swift, **/*Announcement*.swift, **/*Toast*.swift, **/*InAppMessage*.swift Grep: "AnnouncementBanner" or "InAppBanner" or "ToastView" or "BannerView"
If third-party library found (Firebase In-App Messaging, Braze, Intercom):
Check for existing deep linking setup:
Grep: "deepLink" or "DeepLink" or "universalLink" or "openURL" or "onOpenURL"
If deep linking exists, integrate with it. If not, generate standalone action handling.
Ask user via AskUserQuestion:
1. **Banner position?**
2. **Content source?**
3. **Action type?**
4. **Include scheduling (start/end dates)?**
Read `templates.md` for production Swift code.
Generate these files: 1. `Announcement.swift` — Model with style, action, priority, scheduling 2. `AnnouncementManager.swift` — @Observable manager: loads, filters, tracks dismissals 3. `AnnouncementProvider.swift` — Protocol + local/remote implementations with caching
4. `AnnouncementBannerView.swift` — SwiftUI banner with style-aware colors and animations 5. `AnnouncementBannerModifier.swift` — ViewModifier for overlay placement and action routing
Based on configuration:
Check project structure:
After generation, provide:
AnnouncementBanner/ ├── Announcement.swift # Model with style, action, priority ├── AnnouncementManager.swift # Observable manager with dismiss tracking ├── AnnouncementProvider.swift # Protocol + local/remote providers ├── AnnouncementBannerView.swift # SwiftUI banner view ├── AnnouncementBannerModifier.swift# ViewModifier for overlay + actions └── AnnouncementScheduler.swift # Date range filtering (optional)
**Add banner overlay to root view:**
// In your root ContentView or NavigationStack
ContentView()
.announcementBanner()**With custom position:**
ContentView()
.announcementBanner(position: .bottom)**With deep link action handler:**
ContentView()
.announcementBanner { action in
switch action {
case .deepLink(let destination):
router.navigate(to: destination)
case .url(let url):
openURL(url)
case .dismiss:
break
}
}**Define local announcements:**
let provider = LocalAnnouncementProvider(announcements: [
Announcement(
id: "maintenance-2024",
title: "Scheduled Maintenance",
message: "We'll be performing maintenance on Saturday 9-11 AM EST.",
style: .warning,
action: .dismiss,
priority: 10,
startDate: maintenanceStart,
endDate: maintenanceEnd
),
Announcement(
id: "new-feature-photos",
title: "New: Photo Library",
message: "Check out our new photo library with AI-powered search!",
style: .promotion,
action: .deepLink("app://features/photos"),
priority: 5,
isDismissible: true
)
])**Fetch from remote config:**
let provider = RemoteAnnouncementProvider(
url: URL(string: "https://api.example.com/announcements")!,
cacheDuration: 3600 // 1 hour
)@Test
func dismissedAnnouncementsAreHidden() async throws {
let manager = AnnouncementManager(
provider: MockAnnouncementProvider(announcementsA 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…