app-clips▌
dpearson2699/swift-ios-skills · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
Lightweight, instantly-available versions of your iOS app for in-the-moment experiences or demos. Targets iOS 26+ / Swift 6.3 unless noted.
App Clips
Lightweight, instantly-available versions of your iOS app for in-the-moment experiences or demos. Targets iOS 26+ / Swift 6.3 unless noted.
Contents
- App Clip Target Setup
- Invocation URL Handling
- App Clip Experience Configuration
- Size Limits
- Invocation Methods
- Data Migration to Full App
- SKOverlay for Full App Promotion
- Location Confirmation
- Lifecycle and Ephemeral Nature
- Capabilities and Limitations
- Common Mistakes
- Review Checklist
- References
App Clip Target Setup
An App Clip is a separate target in the same Xcode project as your full app:
- File → New → Target → App Clip — Xcode creates the target with the
com.apple.developer.on-demand-install-capableentitlement and aParent Application Identifiersentitlement linking back to the full app. - The App Clip bundle ID must be a suffix of the full app's:
com.example.MyApp.Clip. - Xcode adds an Embed App Clip build phase to the full app target automatically.
Share code between targets
Use Swift packages or shared source files. Add files to both targets, or use the APPCLIP active compilation condition:
// In App Clip target Build Settings → Active Compilation Conditions: APPCLIP
#if !APPCLIP
// Full-app-only code (e.g., background tasks, App Intents)
#else
// App Clip specific code
#endif
Prefer local Swift packages for shared modules — add the package as a dependency of both targets.
Shared asset catalogs
Create a shared asset catalog included in both targets to avoid duplicating images and colors.
Invocation URL Handling
App Clips receive an NSUserActivity of type NSUserActivityTypeBrowsingWeb on launch. Handle it with onContinueUserActivity:
@main
struct DonutShopClip: App {
var body: some Scene {
WindowGroup {
ContentView()
.onContinueUserActivity(
NSUserActivityTypeBrowsingWeb
) { activity in
handleInvocation(activity)
}
}
}
private func handleInvocation(_ activity: NSUserActivity) {
guard let url = activity.webpageURL,
let components = URLComponents(url: url, resolvingAgainstBaseURL: true)
else { return }
// Extract path/query to determine context
let locationID = components.queryItems?
.first(where: { $0.name == "location" })?.value
// Update UI for this location
}
}
For UIKit scene-based apps, implement scene(_:willConnectTo:options:) for cold launch and scene(_:continue:) for warm launch.
Key rule: The full app must handle all invocation URLs identically — when a user installs the full app, it replaces the App Clip and receives all future invocations.
App Clip Experience Configuration
Configure experiences in App Store Connect after uploading a build containing the App Clip.
Default App Clip experience (required)
- Provide: header image, subtitle (≤56 chars), call-to-action verb
- App Store Connect generates a default App Clip link:
https://appclip.apple.com/id?=<bundle_id>&key=value - Supports: QR codes, NFC tags, Messages, Spotlight, other apps
Demo App Clip link
- Auto-generated by App Store Connect for demo versions of your app
- Supports all invocations including physical (App Clip Codes, NFC, QR)
- Allows larger binary size (up to 100 MB uncompressed)
- Cannot contain URL parameters
Advanced App Clip experiences (optional)
- Required for: Maps integration, location association, App Clip Codes, per-location card imagery
- Each experience has its own invocation URL, header image, and metadata
- URL prefix matching lets one registered URL cover many sub-paths
- Use the App Store Connect API to manage large numbers of experiences programmatically
Associated domains
For custom URLs (not the default Apple-generated link), add entries to the Associated Domains entitlement and host an AASA file:
appclips:example.com
Size Limits
App Clip binaries must stay within strict uncompressed size limits (measured via App Thinning Size Report):
| iOS Version | Maximum Uncompressed Size |
|---|---|
| iOS 15 and earlier | 10 MB |
| iOS 16 | 15 MB |
| iOS 17+ (digital invocations only) | 100 MB |
| iOS 17+ (via demo link, all invocations) | 100 MB |
The 100 MB limit on iOS 17+ for non-demo links requires: digital-only invocations, no physical invocation support (no App Clip Codes / NFC / QR), and the App Clip must not support iOS 16 or earlier.
Measure size: Archive the app → Distribute → Export as Ad Hoc/Development with App Thinning → check App Thinning Size Report.txt.
Use Background Assets to download additional content post-launch (e.g., game levels) if needed. App Clip downloads cannot use isEssential.
Invocation Methods
| Method | Requirements |
|---|---|
| App Clip Codes | Advanced experience or demo link; NFC-integrated or scan-only |
| NFC tags | Encode invocation URL in NDEF payload |
| QR codes | Encode invocation URL; works with default or advanced experience |
| Safari Smart Banners | Associate App Clip with website; add <meta> tag |
| Maps | Advanced experience with place association |
| Messages | Share invocation URL as text; limited preview with demo links |
| Siri Suggestions | Location-based; requires advanced experience for location suggestions |
| Other apps | iOS 17+; use Link Presentation or UIApplication.open(_:) |
Safari Smart App Banner
Add this meta tag to your website to show the App Clip banner:
<meta name="apple-itunes-app"
content="app-id=YOUR_APP_ID, app-clip-bundle-id=com.example.MyApp.Clip,
app-clip-display=card">
Data Migration to Full App
When a user installs the full app, it replaces the App Clip. Use a shared App Group container to migrate data:
// In both targets: add App Groups capability with the same group ID
// App Clip — write data
func saveOrderHistory(_ orders: [Order]) throws {
guard let containerURL = FileManager.default.containerURL(
forSecurityApplicationGroupIdentifier: "group.com.example.myapp.shared"
) else { return }
let data = try JSONEncoder().encode(orders)
let fileURL = containerURL.appendingPathComponent("orders.json")
try data.write(to: fileURL)
}
// Full app — read migrated data
func loadMigratedOrders() throws -> [Order] {
guard let containerURL = FileManager.default.containerURL(
forSecurityApplicationGroupIdentifier: "group.com.example.myapp.shared"
) else { return [] }
let fileURL = containerURL.appendingPathComponent("orders.json")
guard FileManager.default.fileExists(atPath: fileURL.path) else { return [] }
let data = try Data(contentsOf: fileURL)
return try JSONDecoder().decode([Order].self, from: data)
}
Shared UserDefaults
// Write (App Clip)
let shared = UserDefaults(suiteName: "group.com.example.myapp.shared")
shared?.set(userToken, forKey: "authToken")
// Read (Full app)
let shared = UserDefaults(suiteName: "group.com.example.myapp.shared")
let token = shared?.string(forKey: "authToken")
Keychain sharing
Starting iOS 15.4, App Clip keychain items are accessible to the corresponding full app via the parent-application-identifiers and associated-appclip-app-identifiers entitlements. Use distinct kSecAttrLabel values to distinguish App Clip vs. full app entries.
Sign in with Apple
Store the ASAuthorizationAppleIDCredential.user in the shared container so the full app can silently verify without re-prompting login.
SKOverlay for Full App Promotion
Display an overlay recommending the full app from within the App Clip:
SwiftUI
struct OrderCompleteView: View {
@State private var showOverlay = false
var body: some How to use app-clips on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add app-clips
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches app-clips from GitHub repository dpearson2699/swift-ios-skills and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate app-clips. Access the skill through slash commands (e.g., /app-clips) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.8★★★★★49 reviews- ★★★★★Sofia Singh· Dec 28, 2024
app-clips has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Sakura Taylor· Dec 20, 2024
app-clips reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Mateo Sethi· Dec 12, 2024
app-clips is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Valentina Gonzalez· Nov 19, 2024
Keeps context tight: app-clips is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Sakura Martin· Nov 11, 2024
I recommend app-clips for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Sakura Bhatia· Nov 3, 2024
Solid pick for teams standardizing on skills: app-clips is focused, and the summary matches what you get after install.
- ★★★★★Sakura Harris· Oct 22, 2024
app-clips has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Luis Nasser· Oct 10, 2024
app-clips is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Sakura Chawla· Oct 2, 2024
Useful defaults in app-clips — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Sophia Huang· Sep 21, 2024
app-clips is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 49