accessorysetupkit
Discover and configure Bluetooth and Wi-Fi accessories using AccessorySetupKit. Use when presenting a privacy-preserving…
Implement App Intents for Siri, Shortcuts, Spotlight, widgets, Control Center, and Apple Intelligence on iOS. Covers AppIntent actions, AppEntity and EntityQuery models, AppShortcutsProvider phrases, IndexedEntity Spotlight indexing, WidgetConfigurationIntent, SnippetIntent, and
Claude Code
$ npx -y skills add dpearson2699/swift-ios-skills --skill app-intents --agent claude-code
Codex
$ npx skills add dpearson2699/swift-ios-skills --skill app-intents -a codex -y
Cursor
$ npx skills add dpearson2699/swift-ios-skills --skill app-intents -a cursor -y
Gemini CLI
$ npx skills add dpearson2699/swift-ios-skills --skill app-intents -a gemini-cli -y
GitHub Copilot
$ npx skills add dpearson2699/swift-ios-skills --skill app-intents -a github-copilot -y
OpenCode
$ npx skills add dpearson2699/swift-ios-skills --skill app-intents -a opencode -y
Windsurf
$ npx skills add dpearson2699/swift-ios-skills --skill app-intents -a windsurf -y
name: app-intents description: "Implement App Intents for Siri, Shortcuts, Spotlight, widgets, Control Center, and Apple Intelligence on iOS. Covers AppIntent actions, AppEntity and EntityQuery models, AppShortcutsProvider phrases, IndexedEntity Spotlight indexing, WidgetConfigurationIntent, SnippetIntent, and assistant schemas. Use when exposing app actions or entities to system surfaces."
Implement, review, and extend App Intents to expose app functionality to Siri, Shortcuts, Spotlight, widgets, Control Center, and Apple Intelligence.
Start from 1-3 valuable actions people want outside the app, not from its screen hierarchy. Record one design row per action: user goal; inline result or app destination; shared domain operation; parameters and entity query; confirmation/authentication; target surface and protocol. Use one explicit runtime route for app handoff instead of scattering navigation side effects through intents.
Then choose the system feature and protocol that fit that action:
| Surface | Protocol | Since | |---|---|---| | Siri / Shortcuts | `AppIntent` | iOS 16 | | Configurable widget | `WidgetConfigurationIntent` | iOS 17 | | Control Center | `ControlConfigurationIntent` | iOS 18 | | Spotlight search | `IndexedEntity` | iOS 18 | | Apple Intelligence | `@AppIntent(schema:)` | iOS 18 | | Interactive snippets | `SnippetIntent` | iOS 26 | | Visual Intelligence | `IntentValueQuery` | iOS 26 |
The system instantiates the struct via `init()`, sets parameters, then calls `perform()`. Declare a `title` and `parameterSummary` for Shortcuts UI.
struct OrderSoupIntent: AppIntent {
static var title: LocalizedStringResource = "Order Soup"
static var description = IntentDescription("Place a soup order.")
@Parameter(title: "Soup") var soup: SoupEntity
@Parameter(title: "Quantity", default: 1) var quantity: Int
static var parameterSummary: some ParameterSummary {
Summary("Order \(\.$soup)") { \.$quantity }
}
func perform() async throws -> some IntentResult {
try await OrderService.shared.place(soup: soup.id, quantity: quantity)
return .result(dialog: "Ordered \(quantity) \(soup.name).")
}
}Optional members: `description` (`IntentDescription`), `openAppWhenRun` (`Bool`), `isDiscoverable` (`Bool`), `authenticationPolicy` (`IntentAuthenticationPolicy`).
Declare each user-facing input with `@Parameter`. Non-optional parameters are required; the system requests values when needed. Defaults pre-fill a useful value. Optional parameters are not requested automatically, so ask for them in `perform()` when the intent cannot continue without a value.
// Required; the system asks for a value when needed @Parameter(title: "Count") var count: Int // Required and pre-filled @Parameter(title: "Count", default: 1) var count: Int // Optional; request it yourself if it becomes necessary @Parameter(title: "Count") var count: Int?
Primitives: `Bool`, `Int`, `Double`, `String`, `Duration`, `Date`, `Decimal`, `Measurement`, and `URL`. Collections: `Array` and `Set` of supported element types. Framework: `IntentPerson`, `IntentFile`. Custom: any `AppEntity` or `AppEnum`.
// Basic @Parameter(title: "Name") var name: String // With default @Parameter(title: "Count", default: 5) var count: Int // Numeric slider @Parameter(title: "Volume", controlStyle: .slider, inclusiveRange: (0, 100)) var volume: Int // Options provider (dynamic list) @Parameter(title: "Category", optionsProvider: CategoryOptionsProvider()) var category: Category // File with content types @Parameter(title: "Document", supportedContentTypes: [.pdf, .plainText]) var document: IntentFile // Measurement with unit @Parameter(title: "Distance", defaultUnit: .miles, supportsNegativeNumbers: false) var distance: Measurement<UnitLength>
See [references/appintents-advanced.md](references/appintents-advanced.md) for all initializer variants.
Prefer shadow models that mirror app data and expose only system-facing fields. Direct model conformance is allowed when the model is lightweight, stable, and appropriate for App Intents l
86 agent skills optimized for iOS 26+ development with Swift 6.3 and modern Apple frameworks.
Discover and configure Bluetooth and Wi-Fi accessories using AccessorySetupKit. Use when presenting a privacy-preserving…
Implement, review, or improve Live Activities and Dynamic Island experiences in iOS apps using ActivityKit. Use when building…
Measure ad effectiveness with privacy-preserving attribution using AdAttributionKit. Use when registering ad impressions,…
Implement AlarmKit alarms and countdown timers for iOS and iPadOS with Lock Screen, Dynamic Island, StandBy, and paired Apple…
Build iOS App Clips with invocation URLs, App Clip Codes, NFC, QR codes, Safari banners, Maps, Messages, target setup, App Store…
Optimize App Store product pages for search visibility and conversion. Use for App Store Optimization (ASO), keyword research,…
Decompile Android APK, XAPK, JAR, and AAR files using jadx or Fernflower/Vineflower. Reverse engineer Android apps, extract HTTP…