Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dpearson2699 avatar

App Clips

  • 2.6k installs
  • 944 repo stars
  • Updated July 15, 2026
  • dpearson2699/swift-ios-skills

app-clips guides iOS App Clip setup, invocation routing, size limits, handoff, notifications, and App Store experiences.

About

The app-clips skill guides iOS App Clip target setup, invocation routing, size budgets, data handoff, and App Store Connect experiences for iOS 26 and Swift 6.3. App Clips are separate targets with bundle IDs prefixed by the parent app and specific on-demand-install and parent-application entitlements on both targets. Invocation uses NSUserActivityTypeBrowsingWeb via SwiftUI onContinueUserActivity or UIKit scene connection and continue handlers, with shared routing into the full app after install. Size limits vary by deployment target and invocation type, measured via App Thinning Size Report, with Background Assets only for non-blocking content. Unsupported features include SKAdNetwork, ATT, custom URL schemes, IAP, and durable persistent state. App Groups hold non-secret handoff only; keychain handoff is one-way from App Clip to full app on iOS 15.4+. Ephemeral notifications need NSAppClipRequestEphemeralUserNotification and target-content-id routing on relaunch. Location confirmation uses APActivationPayload with up to five-hundred-meter CLCircularRegion radius.

  • Separate App Clip target with parent-prefixed bundle ID and entitlements.
  • NSUserActivityTypeBrowsingWeb routing shared with full app post-install.
  • Size tiers from App Thinning report; Background Assets non-blocking only.
  • App Group for non-secrets; one-way keychain handoff to full app.
  • SKOverlay and appStoreOverlay only after task completion, never as gate.

App Clips by the numbers

  • 2,569 all-time installs (skills.sh)
  • +112 installs in the week ending Jul 29, 2026 (Skillselion tracking)
  • Ranked #81 of 1,039 Mobile Development skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 31, 2026 (Skillselion catalog sync)
At a glance

app-clips capabilities & compatibility

Capabilities
app clip target entitlements and bundle id prefi · invocation routing via nsuseractivity shared wit · size budget selection and app thinning size repo · app group and one way keychain handoff patterns · ephemeral notifications and location confirmatio
Use cases
frontend · ui design
Platforms
macOS
From the docs

What app-clips says it does

App Clips should let people complete a focused task or full demo without installing the app.
SKILL.md
Use App Groups for non-secret handoff state only. Use keychain or server-side verification for credentials.
SKILL.md
npx skills add https://github.com/dpearson2699/swift-ios-skills --skill app-clips

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2.6k
repo stars944
Security audit2 / 3 scanners passed
Last updatedJuly 15, 2026
Repositorydpearson2699/swift-ios-skills

How do I build an App Clip with correct entitlements, routing, size budget, and full-app handoff?

Build iOS App Clips with invocation routing, size limits, handoff, ephemeral notifications, and App Store Connect experiences.

Who is it for?

iOS teams creating in-the-moment App Clips with NFC, QR, Safari, or Maps invocation.

Skip if: Skip for full-app-only features like IAP, ATT, or durable background processing.

When should I use this skill?

User creates App Clips, wires invocation URLs, App Clip Codes, or full-app migration handoff.

What you get

A compliant App Clip target with invocation routing, size validation, and documented handoff patterns.

  • entitlement review
  • invocation routing plan
  • associated domains checklist

Files

SKILL.mdMarkdownGitHub ↗

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

An App Clip is a separate target in the same Xcode project as your full app:

1. File → New → Target → App Clip — Xcode creates the App Clip target, adds the Embed App Clip build phase to the full app target, and wires the association entitlements. 2. The App Clip bundle ID must be prefixed by the full app's bundle ID: com.example.MyApp.Clip. 3. Verify raw entitlement keys when diagnosing archive, signing, or App Store Connect failures:

  • App Clip target: com.apple.developer.on-demand-install-capable
  • App Clip target parent app link: com.apple.developer.parent-application-identifiers
  • Full app target associated App Clip link: com.apple.developer.associated-appclip-app-identifiers

Use Swift packages or shared source files for code needed by both targets. Add App Clip-specific compile branches with the APPCLIP active compilation condition, and avoid linking full-app-only frameworks into the App Clip target.

Invocation and Experience Routing

Read `references/routing-and-experiences.md` when implementing invocation URL routing, App Store Connect experiences, Local Experiences, Safari Smart App Banners, QR/NFC/App Clip Codes, AASA, or associated domains.

App Clips receive NSUserActivityTypeBrowsingWeb activities. Keep the invocation router shared with the full app because, after installation, the full app replaces the App Clip and receives future invocations.

  • SwiftUI: use .onContinueUserActivity(NSUserActivityTypeBrowsingWeb).
  • UIKit cold launch: inspect connectionOptions.userActivities in scene(_:willConnectTo:options:).
  • UIKit continuation: handle the actual NSUserActivity in scene(_:continue:).
  • scene(_:willContinueUserActivityWithType:) is only advance notice and does not provide the URL.

Configure the required default App Clip experience in App Store Connect. Use advanced experiences for Maps integration, location association, production App Clip Codes, per-location cards, and precise physical-place routing; demo App Clip Codes can use the short demo App Clip link.

For custom URLs, add appclips:example.com to Associated Domains on both the full app and App Clip targets, and host an AASA file with the App Clip app identifier. For Safari banners, use app-id, app-clip-bundle-id, and optional app-clip-display=card; do not rely on app-argument for App Clip launches.

Size and Capability Decisions

Read `references/size-capabilities-and-promotion.md` before feasibility reviews or capability audits, and when checking size budgets, measurement, Background Assets, SKOverlay, Live Activities App Clip extension constraints, CloudKit limits, or unsupported capabilities.

Always measure App Clip size with the App Thinning Size Report. In feasibility reviews, explicitly choose the size limit from deployment target, invocation support, and connectivity: the larger iOS 17+ limit applies to digital-only App Clips where reliable internet is likely; physical invocation or iOS 16 support uses a smaller budget; demo links can use the current 100 MB limit while supporting NFC/QR test invocations, and demo App Clip Codes require the short demo link. Apple has changed App Clip size policy over time, so re-check current App Store Connect and App Clip documentation before release-blocking size decisions.

Use Background Assets only for content that can arrive after launch without blocking the in-the-moment task, and do not mark App Clip background asset downloads as essential. Large bundled media, ML models, catalogs, or downloads that must finish before useful work are poor App Clip fits; state that required pre-task downloads are not acceptable for in-the-moment App Clips, and check download size plus whether any required download blocks useful work. Move those flows to streaming/server-backed content, post-task assets, or the full app. Show SKOverlay.AppClipConfiguration or SwiftUI appStoreOverlay only after task completion, never as a gate.

App Clips can use CloudKit public database reads on iOS 16+ with CloudKit-Anonymous, but cannot write the public database or use iCloud Documents, key-value storage, private containers, or shared containers. App Clips can offer Live Activities through an App Clip-only widget extension starting in iOS 16. That extension can include only Live Activities and needs the App Clip Extension capability; always include the raw entitlement key com.apple.developer.on-demand-install-capable when reviewing this boundary.

In feasibility reviews, explicitly name unsupported App Clip runtime features instead of summarizing them generically. Always list SKAdNetwork, App Tracking Transparency, and custom URL schemes when discussing excluded runtime features, alongside App Intents, Background Tasks, background URL sessions, in-app purchases, durable persistent local state, and background/persistent assumptions. Route detailed ActivityKit/WidgetKit Live Activity work, StoreKit purchase/full-app monetization, BackgroundTasks processing, CloudKit schema or sync beyond public reads, durable credentials, and long-term state to sibling or full-app domains without implementation detail. For product/PM feasibility reviews, stay at the App Clip boundary level: capability fit, size basis, invocation constraints, and handoff destinations. Describe location confirmation, install promotion, App Group/keychain handoff, and Live Activities conceptually. Do not add Swift package decomposition, API symbols such as APActivationPayload, CLCircularRegion, or SKOverlay.AppClipConfiguration, App Group/keychain implementation recipes, or other API-level implementation guidance unless the user asks for implementation.

Data, Notifications, and Location

Read `references/data-handoff-notifications-location.md` when implementing App Group/full-app migration, keychain or Sign in with Apple handoff, ephemeral notifications, notification relaunch routing, or physical location confirmation.

Use App Groups/shared containers for non-secret handoff data only. Any target provisioned with the App Group entitlement can read and write the shared container/defaults suite, so it is not a trust boundary. Do not put passwords, refresh tokens, payment credentials, or other secrets there.

Starting in iOS 15.4, the full app can access keychain items created by its corresponding App Clip only when the App Clip and full app have the correct association entitlements, including the full app's com.apple.developer.associated-appclip-app-identifiers. The App Clip cannot read keychain items created by the full app.

For Sign in with Apple handoff, store the ASAuthorizationAppleIDCredential.user identifier and have the full app verify ASAuthorizationAppleIDProvider.getCredentialState(forUserID:) == .authorized.

For ephemeral notifications, set NSAppClipRequestEphemeralUserNotification under the App Clip target's NSAppClip Info.plist dictionary. Authorization can last up to 8 hours after each launch, but users can disable it on the App Clip card, so check notification settings for .ephemeral before scheduling. Notification taps relaunch without the original invocation URL, so route multi-experience notifications with APNs target-content-id for remote notifications or UNNotificationContent.targetContentIdentifier for local notifications. Use a URL matching the relevant App Store Connect advanced App Clip experience, not an arbitrary opaque ID.

For physical-location confirmation, use NSUserActivity.appClipActivationPayload / APActivationPayload.confirmAcquired(in:) with a CLCircularRegion radius up to 500 meters, and set NSAppClipRequestLocationConfirmation under the App Clip target's NSAppClip Info.plist dictionary, not the full app's. This confirms eligible physical invocations without granting continuous location access.

Common Mistakes

Exceeding the applicable App Clip size limit

Choose the limit based on deployment target and invocation support. A physically invoked App Clip that supports iOS 16 has a much smaller budget than an iOS 17+ digital-only App Clip. Measure with the App Thinning Size Report after meaningful target changes.

Mixing up App Clip entitlement names

App Clip target:
com.apple.developer.on-demand-install-capable
com.apple.developer.parent-application-identifiers

Full app target:
com.apple.developer.associated-appclip-app-identifiers

Display names in Xcode differ from raw entitlement keys; use raw keys when debugging signing output or archived entitlements.

Treating UIKit continuation notification as URL handling

scene(_:willContinueUserActivityWithType:) does not include the NSUserActivity. Handle the URL in scene(_:willConnectTo:options:) for cold launch and scene(_:continue:) for activity continuation.

Not testing invocation URLs locally

A direct Xcode launch can skip the invocation path and hide routing bugs. Use the _XCAppClipURL scheme environment variable or register a Local Experience in Settings → Developer → Local Experiences.

Not handling the full app replacing the App Clip

Share invocation routing with the full app. After install, all future invocations go to the full app.

Storing secrets in App Group storage

Use App Groups for non-secret handoff state only. Use keychain or server-side verification for credentials.

Designing a marketing-only or web-view-heavy App Clip

App Clips should let people complete a focused task or full demo without installing the app. Avoid marketing-only clips, ad-heavy flows, splash screens, launch-blocking downloads, repeated install prompts, and web-view-heavy experiences that would work better as a website.

Missing associated domains configuration

Add appclips:example.com to Associated Domains on both the full app and App Clip targets, and host /.well-known/apple-app-site-association with the App Clip app identifier for custom URL invocations and advanced experiences.

Review Checklist

  • [ ] App Clip target bundle ID is prefixed by the full app's bundle ID.
  • [ ] App Clip target has com.apple.developer.on-demand-install-capable.
  • [ ] App Clip target has com.apple.developer.parent-application-identifiers.
  • [ ] Full app target has com.apple.developer.associated-appclip-app-identifiers.
  • [ ] Shared code uses Swift packages or compilation conditions (APPCLIP).
  • [ ] SwiftUI uses .onContinueUserActivity(NSUserActivityTypeBrowsingWeb) for invocation routing.
  • [ ] UIKit cold launch checks connectionOptions.userActivities and continuation handles scene(_:continue:).
  • [ ] Full app handles every invocation URL the App Clip supports.
  • [ ] App Thinning Size Report confirms the binary is within the limit for deployment target and invocation support; size reviews name the 10 MB, 15 MB, and current 100 MB tiers when size is at issue.
  • [ ] Associated Domains entitlement includes appclips:yourdomain.com on both full app and App Clip targets when using custom URLs.
  • [ ] AASA file is hosted at /.well-known/apple-app-site-association when using custom URLs.
  • [ ] Default App Clip experience is configured in App Store Connect.
  • [ ] Production App Clip Codes, Maps, or per-location cards use advanced experiences; demo App Clip Codes use the short demo link.
  • [ ] Live Activities, when mentioned, are limited to an App Clip-only widget extension with only Live Activities and the raw com.apple.developer.on-demand-install-capable entitlement.
  • [ ] Shared App Group storage contains only non-secret data the full app needs, never credentials or payment secrets.
  • [ ] Keychain handoff states the one-way rule: the full app can read App Clip-created items on iOS 15.4+ with correct association entitlements, but the App Clip cannot read full-app keychain items.
  • [ ] Sign in with Apple migration verifies credential state in the full app.
  • [ ] SKOverlay / appStoreOverlay appears after task completion, never as a gate.
  • [ ] NSAppClipRequestLocationConfirmation is set only in the App Clip target if using location confirmation.
  • [ ] Ephemeral notification code checks for .ephemeral authorization before scheduling because the card permission can be disabled.
  • [ ] Ephemeral notification routing handles relaunch without an invocation URL.
  • [ ] HIG review rejects marketing-only, ad-heavy, web-view-heavy, install-gated, or launch-blocking App Clip designs.
  • [ ] Unsupported runtime features are named explicitly, including durable persistent local state and background/persistent assumptions, not just unavailable frameworks.
  • [ ] No reliance on background processing, restricted frameworks, custom URL schemes, in-app purchases, or persistent local storage.
  • [ ] Sibling handoff is boundary-only, with no ActivityKit, StoreKit, BackgroundTasks, CloudKit, Swift package, App Group/keychain recipe, location-confirmation API symbol, SKOverlay, or framework-snippet implementation detail in App Clip feasibility answers.
  • [ ] Tested with Local Experiences and _XCAppClipURL.

References

Related skills

How it compares

Use app-clips for App Clip-specific entitlement and routing reviews rather than general SwiftUI or deep-linking skills that lack App Clip invocation detail.

FAQ

How should invocation URLs be tested locally?

Use _XCAppClipURL environment variable or Settings Developer Local Experiences, not direct Xcode launch alone.

Can secrets go in App Group storage?

No. App Groups are for non-secret handoff only; use keychain or server verification for credentials.

When can SKOverlay appear?

Only after the user completes the in-the-moment task, never as a gate before useful work.

Is App Clips safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.