Implements privacy-preserving ad attribution for iOS 17.4+ using AdAttributionKit. Covers registering ad impressions, handling attribution postbacks, updating conversion values, re-engagement attribution, and configuring publisher/advertiser apps.
Ships in all-ios-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Privacy-preserving ad attribution for iOS 17.4+. AdAttributionKit enables ad networks and advertisers to measure app installs and re-engagements across the App Store and alternative marketplaces without disclosing user-level identity.
Three distinct roles participate in attribution:
UIEventAttributionView or StoreKit overlays.Declare supported ad networks in Info.plist with lowercase identifiers:
<key>AdNetworkIdentifiers</key>
<array>
<string>example123.adattributionkit</string>
<string>partner456.skadnetwork</string>
</array>
For custom click-through ads, overlay a UIEventAttributionView directly above the tappable surface:
import UIKit
let attributionView = UIEventAttributionView()
attributionView.frame = adContainer.bounds
attributionView.isUserInteractionEnabled = true
adContainer.addSubview(attributionView)
Opt in to receive copies of winning conversion and re-engagement postbacks at your HTTPS endpoint:
<key>AdAttributionKit</key>
<dict>
<key>AttributionCopyEndpoint</key>
<string>https://example.com</string>
<key>OptInForReengagementPostbackCopies</key>
<true/>
</dict>
The system sends postbacks to https://example.com/.well-known/appattribution/report-attribution/.
Register signed JWS impressions provided by the ad network:
import AdAttributionKit
import StoreKit
// Check device availability
guard AppImpression.isSupported else { return }
let impression = try await AppImpression(compactJWS: signedJWS)
// Option A: Custom view-through or click-through
try await impression.handleView()
try await impression.handleTap() // Must be called within 15 minutes of creation
// Option B: StoreKit overlay automatic tracking
let config = SKOverlay.AppConfiguration(appIdentifier: "123456789", position: .bottom)
config.appImpression = impression
Update conversion values on launch and key milestone completions:
// Initial window start
try await Postback.updateConversionValue(0, lockPostback: false)
// Milestone update with coarse tier and early lock
try await Postback.updateConversionValue(
42,
coarseConversionValue: .high,
lockPostback: true // Finalizes window early to accelerate postback receipt
)
UIEventAttributionView fail attribution registration.Postback.updateConversionValue on initial launch prevents the conversion window from starting.impression.handleTap() must be invoked within 15 minutes of AppImpression initialization.Info.plist are lowercaseUIEventAttributionView covers the interactive ad area without touch interceptionAttributionCopyEndpoint configured with valid HTTPS and .well-known routeWhat SKILL.md sets; muted values are Claude Code's defaults
/all-ios-skills:adattributionkitfrom all-ios-skills
npx claudepluginhub thienqo/ios-skills --plugin all-ios-skills95 skills in this plugin
/accessorysetupkitDiscover and configure Bluetooth and Wi-Fi accessories using AccessorySetupKit. Use when presenting a privacy-preserving accessory picker, defining discovery descriptors for BLE or Wi-Fi devices, handling accessory session events, migrating from CoreBluetooth permission-based scanning, or setting up accessories without requiring broad Bluetooth permissions./activitykitBuild or review Live Activities and Dynamic Island experiences with ActivityKit, including lifecycle, layouts, push updates, and scheduled delivery. Use for time-sensitive Lock Screen or Dynamic Island state; route ordinary widgets to widgetkit./alarmkitBuilds AlarmKit alarms and countdowns with system Lock Screen, Dynamic Island, StandBy, and Apple Watch presentation. Use for authorization, AlarmManager scheduling, stop/secondary actions, countdown extension handoff, state observation, or Live Activity-backed alarm experiences.Other plugins' skills for the same job