{"id":"a380df90-6e3d-4f04-a174-c9f257d97def","shortId":"7cuxM4","kind":"skill","title":"app-intents","tagline":"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 ","description":"# App Intents (iOS 26+)\n\nImplement, review, and extend App Intents to expose app functionality to Siri,\nShortcuts, Spotlight, widgets, Control Center, and Apple Intelligence.\n\n## Contents\n\n- [Triage Workflow](#triage-workflow)\n- [AppIntent Protocol](#appintent-protocol)\n- [@Parameter](#parameter)\n- [AppEntity](#appentity)\n- [EntityQuery (4 Variants)](#entityquery-4-variants)\n- [AppEnum](#appenum)\n- [AppShortcutsProvider](#appshortcutsprovider)\n- [Siri Integration](#siri-integration)\n- [Interactive Widget Intents](#interactive-widget-intents)\n- [Control Center Widgets (iOS 18+)](#control-center-widgets-ios-18)\n- [Spotlight and IndexedEntity (iOS 18+)](#spotlight-and-indexedentity-ios-18)\n- [iOS 26 Additions](#ios-26-additions)\n- [Common Mistakes](#common-mistakes)\n- [Review Checklist](#review-checklist)\n- [References](#references)\n\n## Triage Workflow\n\n### Step 1: Identify the integration surface\n\nDetermine which system feature the intent targets:\n\n| Surface | Protocol | Since |\n|---|---|---|\n| Siri / Shortcuts | `AppIntent` | iOS 16 |\n| Configurable widget | `WidgetConfigurationIntent` | iOS 17 |\n| Control Center | `ControlConfigurationIntent` | iOS 18 |\n| Spotlight search | `IndexedEntity` | iOS 18 |\n| Apple Intelligence | `@AppIntent(schema:)` | iOS 18 |\n| Interactive snippets | `SnippetIntent` | iOS 26 |\n| Visual Intelligence | `IntentValueQuery` | iOS 26 |\n\n### Step 2: Define the data model\n\n- Create `AppEntity` shadow models (do NOT conform core data models directly).\n- Create `AppEnum` types for fixed parameter choices.\n- Choose the right `EntityQuery` variant for resolution.\n- Mark searchable entities with `IndexedEntity` and `@Property(indexingKey:)`.\n\n### Step 3: Implement the intent\n\n- Conform to `AppIntent` (or a specialized sub-protocol).\n- Declare `@Parameter` properties for all user-facing inputs.\n- Implement `perform() async throws -> some IntentResult`.\n- Add `parameterSummary` for Shortcuts UI.\n- Register phrases via `AppShortcutsProvider`.\n\n### Step 4: Verify\n\n- Build and run in Shortcuts app to confirm parameter resolution.\n- Test Siri phrases with the intent preview in Xcode.\n- Confirm Spotlight results for `IndexedEntity` types.\n- Check widget configuration for `WidgetConfigurationIntent` intents.\n\n## AppIntent Protocol\n\nThe system instantiates the struct via `init()`, sets parameters, then calls\n`perform()`. Declare a `title` and `parameterSummary` for Shortcuts UI.\n\n```swift\nstruct OrderSoupIntent: AppIntent {\n    static var title: LocalizedStringResource = \"Order Soup\"\n    static var description = IntentDescription(\"Place a soup order.\")\n\n    @Parameter(title: \"Soup\") var soup: SoupEntity\n    @Parameter(title: \"Quantity\", default: 1) var quantity: Int\n\n    static var parameterSummary: some ParameterSummary {\n        Summary(\"Order \\(\\.$soup)\") { \\.$quantity }\n    }\n\n    func perform() async throws -> some IntentResult {\n        try await OrderService.shared.place(soup: soup.id, quantity: quantity)\n        return .result(dialog: \"Ordered \\(quantity) \\(soup.name).\")\n    }\n}\n```\n\nOptional members: `description` (`IntentDescription`), `openAppWhenRun` (`Bool`),\n`isDiscoverable` (`Bool`), `authenticationPolicy` (`IntentAuthenticationPolicy`).\n\n## @Parameter\n\nDeclare each user-facing input with `@Parameter`. Optional parameters are not\nrequired; non-optional parameters with a `default` are pre-filled.\n\n```swift\n// WRONG: Non-optional parameter without default -- system cannot preview\n@Parameter(title: \"Count\")\nvar count: Int\n\n// CORRECT: Provide a default or make optional\n@Parameter(title: \"Count\", default: 1)\nvar count: Int\n\n@Parameter(title: \"Count\")\nvar count: Int?\n```\n\n### Supported value types\n\nPrimitives: `Int`, `Double`, `Bool`, `String`, `URL`, `Date`, `DateComponents`.\nFramework: `Currency`, `Person`, `IntentFile`. Measurements: `Measurement<UnitLength>`,\n`Measurement<UnitTemperature>`, and others. Custom: any `AppEntity` or `AppEnum`.\n\n### Common initializer patterns\n\n```swift\n// Basic\n@Parameter(title: \"Name\")\nvar name: String\n\n// With default\n@Parameter(title: \"Count\", default: 5)\nvar count: Int\n\n// Numeric slider\n@Parameter(title: \"Volume\", controlStyle: .slider, inclusiveRange: (0, 100))\nvar volume: Int\n\n// Options provider (dynamic list)\n@Parameter(title: \"Category\", optionsProvider: CategoryOptionsProvider())\nvar category: Category\n\n// File with content types\n@Parameter(title: \"Document\", supportedContentTypes: [.pdf, .plainText])\nvar document: IntentFile\n\n// Measurement with unit\n@Parameter(title: \"Distance\", defaultUnit: .miles, supportsNegativeNumbers: false)\nvar distance: Measurement<UnitLength>\n```\n\nSee [references/appintents-advanced.md](references/appintents-advanced.md) for all initializer variants.\n\n## AppEntity\n\nCreate shadow models that mirror app data -- never conform core data model\ntypes directly.\n\n```swift\nstruct SoupEntity: AppEntity {\n    static let defaultQuery = SoupEntityQuery()\n    static var typeDisplayRepresentation: TypeDisplayRepresentation = \"Soup\"\n    var id: String\n\n    @Property(title: \"Name\") var name: String\n    @Property(title: \"Price\") var price: Double\n\n    var displayRepresentation: DisplayRepresentation {\n        DisplayRepresentation(title: \"\\(name)\", subtitle: \"$\\(String(format: \"%.2f\", price))\")\n    }\n\n    init(from soup: Soup) {\n        self.id = soup.id; self.name = soup.name; self.price = soup.price\n    }\n}\n```\n\nRequired: `id`, `defaultQuery` (static), `displayRepresentation`,\n`typeDisplayRepresentation` (static). Mark properties with `@Property(title:)`\nto expose for filtering/sorting. Properties without `@Property` remain internal.\n\n## EntityQuery (4 Variants)\n\n### 1. EntityQuery (base -- resolve by ID)\n\n```swift\nstruct SoupEntityQuery: EntityQuery {\n    func entities(for identifiers: [String]) async throws -> [SoupEntity] {\n        SoupStore.shared.soups.filter { identifiers.contains($0.id) }.map { SoupEntity(from: $0) }\n    }\n    func suggestedEntities() async throws -> [SoupEntity] {\n        SoupStore.shared.featured.map { SoupEntity(from: $0) }\n    }\n}\n```\n\n### 2. EntityStringQuery (free-text search)\n\n```swift\nstruct SoupStringQuery: EntityStringQuery {\n    func entities(matching string: String) async throws -> [SoupEntity] {\n        SoupStore.shared.search(string).map { SoupEntity(from: $0) }\n    }\n    func entities(for identifiers: [String]) async throws -> [SoupEntity] {\n        SoupStore.shared.soups.filter { identifiers.contains($0.id) }.map { SoupEntity(from: $0) }\n    }\n}\n```\n\n### 3. EnumerableEntityQuery (finite set)\n\n```swift\nstruct AllSoupsQuery: EnumerableEntityQuery {\n    func allEntities() async throws -> [SoupEntity] {\n        SoupStore.shared.allSoups.map { SoupEntity(from: $0) }\n    }\n    func entities(for identifiers: [String]) async throws -> [SoupEntity] {\n        SoupStore.shared.soups.filter { identifiers.contains($0.id) }.map { SoupEntity(from: $0) }\n    }\n}\n```\n\n### 4. UniqueAppEntityQuery (singleton, iOS 18+)\n\nUse for single-instance entities like app settings.\n\n```swift\nstruct AppSettingsEntity: UniqueAppEntity {\n    static let defaultQuery = AppSettingsQuery()\n    static var typeDisplayRepresentation: TypeDisplayRepresentation = \"Settings\"\n    var displayRepresentation: DisplayRepresentation { \"App Settings\" }\n\n    var id: String { \"app-settings\" }\n}\n\nstruct AppSettingsQuery: UniqueAppEntityQuery {\n    func entity() async throws -> AppSettingsEntity {\n        AppSettingsEntity()\n    }\n}\n```\n\nSee [references/appintents-advanced.md](references/appintents-advanced.md) for `EntityPropertyQuery` with\nfilter/sort support.\n\n## AppEnum\n\nDefine fixed sets of selectable values. Must be backed by a\n`LosslessStringConvertible` raw value (use `String`).\n\n```swift\nenum SoupSize: String, AppEnum {\n    case small, medium, large\n\n    static var typeDisplayRepresentation: TypeDisplayRepresentation = \"Size\"\n\n    static var caseDisplayRepresentations: [SoupSize: DisplayRepresentation] = [\n        .small: \"Small\",\n        .medium: \"Medium\",\n        .large: \"Large\"\n    ]\n}\n```\n\n```swift\n// WRONG: Using Int raw value\nenum Priority: Int, AppEnum { // Compiler error -- Int is not LosslessStringConvertible\n    case low = 1, medium = 2, high = 3\n}\n\n// CORRECT: Use String raw value\nenum Priority: String, AppEnum {\n    case low, medium, high\n    // ...\n}\n```\n\n## AppShortcutsProvider\n\nRegister pre-built shortcuts that appear in Siri and the Shortcuts app without\nuser configuration.\n\n```swift\nstruct MyAppShortcuts: AppShortcutsProvider {\n    static var appShortcuts: [AppShortcut] {\n        AppShortcut(\n            intent: OrderSoupIntent(),\n            phrases: [\n                \"Order \\(\\.$soup) in \\(.applicationName)\",\n                \"Get soup from \\(.applicationName)\"\n            ],\n            shortTitle: \"Order Soup\",\n            systemImageName: \"cup.and.saucer\"\n        )\n    }\n\n    static var shortcutTileColor: ShortcutTileColor = .navy\n}\n```\n\n### Phrase rules\n\n- Every phrase MUST include `\\(.applicationName)`.\n- Phrases can reference parameters: `\\(\\.$soup)`.\n- Call `updateAppShortcutParameters()` when dynamic option values change.\n- Use `negativePhrases` to prevent false Siri activations.\n\n## Siri Integration\n\n### Donating intents\n\nDonate intents so the system learns user patterns and suggests them in Spotlight:\n\n```swift\nlet intent = OrderSoupIntent()\nintent.soup = favoriteSoupEntity\ntry await intent.donate()\n```\n\n### Predictable intents\n\nConform to `PredictableIntent` for Siri prediction of upcoming actions.\n\n## Interactive Widget Intents\n\nUse `AppIntent` with `Button`/`Toggle` in widgets. Use\n`WidgetConfigurationIntent` for configurable widget parameters.\n\n```swift\nstruct ToggleFavoriteIntent: AppIntent {\n    static var title: LocalizedStringResource = \"Toggle Favorite\"\n    @Parameter(title: \"Item ID\") var itemID: String\n\n    func perform() async throws -> some IntentResult {\n        FavoriteStore.shared.toggle(itemID)\n        return .result()\n    }\n}\n\n// In widget view:\nButton(intent: ToggleFavoriteIntent(itemID: entry.id)) {\n    Image(systemName: entry.isFavorite ? \"heart.fill\" : \"heart\")\n}\n```\n\n### WidgetConfigurationIntent\n\n```swift\nstruct BookWidgetConfig: WidgetConfigurationIntent {\n    static var title: LocalizedStringResource = \"Favorite Book\"\n    @Parameter(title: \"Book\", default: \"The Swift Programming Language\") var bookTitle: String\n}\n\n// Connect to WidgetKit:\nstruct MyWidget: Widget {\n    var body: some WidgetConfiguration {\n        AppIntentConfiguration(kind: \"FavoriteBook\", intent: BookWidgetConfig.self, provider: MyTimelineProvider()) { entry in\n            BookWidgetView(entry: entry)\n        }\n    }\n}\n```\n\n## Control Center Widgets (iOS 18+)\n\nExpose controls in Control Center and Lock Screen with\n`ControlConfigurationIntent` and `ControlWidget`.\n\n```swift\nstruct LightControlConfig: ControlConfigurationIntent {\n    static var title: LocalizedStringResource = \"Light Control\"\n    @Parameter(title: \"Light\", default: .livingRoom) var light: LightEntity\n}\n\nstruct ToggleLightIntent: AppIntent {\n    static var title: LocalizedStringResource = \"Toggle Light\"\n    @Parameter(title: \"Light\") var light: LightEntity\n    func perform() async throws -> some IntentResult {\n        try await LightService.shared.toggle(light.id)\n        return .result()\n    }\n}\n\nstruct LightControl: ControlWidget {\n    var body: some ControlWidgetConfiguration {\n        AppIntentControlConfiguration(kind: \"LightControl\", intent: LightControlConfig.self) { config in\n            ControlWidgetToggle(config.light.name, isOn: config.light.isOn, action: ToggleLightIntent(light: config.light))\n        }\n    }\n}\n```\n\n## Spotlight and IndexedEntity (iOS 18+)\n\nConform to `IndexedEntity` for Spotlight search. On iOS 26+, use `indexingKey`\nfor structured metadata:\n\n```swift\nstruct RecipeEntity: IndexedEntity {\n    static let defaultQuery = RecipeQuery()\n    static var typeDisplayRepresentation: TypeDisplayRepresentation = \"Recipe\"\n    var id: String\n\n    @Property(title: \"Name\", indexingKey: .title) var name: String   // iOS 26+\n    @ComputedProperty(indexingKey: .description)                      // iOS 26+\n    var summary: String { \"\\(name) -- a delicious recipe\" }\n\n    var displayRepresentation: DisplayRepresentation {\n        DisplayRepresentation(title: \"\\(name)\")\n    }\n}\n```\n\n## iOS 26 Additions\n\n### SnippetIntent\n\nDisplay interactive snippets in system UI:\n\n```swift\nstruct OrderStatusSnippet: SnippetIntent {\n    static var title: LocalizedStringResource = \"Order Status\"\n    func perform() async throws -> some IntentResult & ShowsSnippetView {\n        let status = await OrderTracker.currentStatus()\n        return .result(view: OrderStatusSnippetView(status: status))\n    }\n    static func reload() { /* notify system to refresh */ }\n}\n\n// A calling intent can display this snippet via:\n// return .result(snippetIntent: OrderStatusSnippet())\n```\n\n### IntentValueQuery (Visual Intelligence)\n\n```swift\nstruct ProductValueQuery: IntentValueQuery {\n    typealias Input = String\n    typealias Result = ProductEntity\n    func values(for input: String) async throws -> [ProductEntity] {\n        ProductStore.shared.search(input).map { ProductEntity(from: $0) }\n    }\n}\n```\n\n## Common Mistakes\n\n1. **Conforming core data models to AppEntity.** Create dedicated shadow models\n   instead. Core models carry persistence logic that conflicts with intent\n   lifecycle.\n\n2. **Missing `\\(.applicationName)` in phrases.** Every `AppShortcut` phrase\n   MUST include the application name token. Siri uses it for disambiguation.\n\n3. **Non-optional @Parameter without default.** The system cannot preview or\n   pre-fill such parameters. Make non-optional parameters have a `default`, or\n   mark them optional.\n\n   ```swift\n   // WRONG\n   @Parameter(title: \"Count\")\n   var count: Int\n\n   // CORRECT\n   @Parameter(title: \"Count\", default: 1)\n   var count: Int\n   ```\n\n4. **Using Int raw value for AppEnum.** `AppEnum` requires `RawRepresentable`\n   where `RawValue: LosslessStringConvertible`. Use `String`.\n\n5. **Forgetting `suggestedEntities()`.** Without it, the Shortcuts picker shows no defaults.\n6. **Throwing for missing entities in `entities(for:)`.** Omit missing entities instead.\n7. **Stale Spotlight index.** Call `updateAppShortcutParameters()` when entity data changes.\n8. **Missing `typeDisplayRepresentation`.** Both `AppEntity` and `AppEnum` require it.\n9. **Using deprecated `@AssistantEntity(schema:)` / `@AssistantEnum(schema:)`.** Use `@AppEntity(schema:)` and `@AppEnum(schema:)` instead. Note: `@AssistantIntent(schema:)` is still active.\n10. **Blocking perform().** `perform()` is async -- use `await` for I/O.\n\n## Review Checklist\n\n- [ ] Every `AppIntent` has a descriptive `title` (verb + noun, title case)\n- [ ] `@Parameter` types are optional or have defaults for system preview\n- [ ] `AppEntity` types are shadow models, not core data model conformances\n- [ ] `AppEntity` has `displayRepresentation` and `typeDisplayRepresentation`\n- [ ] `EntityQuery.entities(for:)` omits missing IDs; `suggestedEntities()` implemented\n- [ ] `AppEnum` uses `String` raw value with `caseDisplayRepresentations`\n- [ ] `AppShortcutsProvider` phrases include `\\(.applicationName)`; `parameterSummary` defined\n- [ ] `IndexedEntity` properties use `@Property(indexingKey:)` on iOS 26+\n- [ ] Control Center intents conform to `ControlConfigurationIntent`; widget intents to `WidgetConfigurationIntent`\n- [ ] No deprecated `@AssistantEntity` / `@AssistantEnum` macros (note: `@AssistantIntent(schema:)` is still active)\n- [ ] `perform()` uses async/await (no blocking); runs in expected isolation context; intent types are `Sendable`\n\n## References\n\n- See [references/appintents-advanced.md](references/appintents-advanced.md) for @Parameter variants, EntityPropertyQuery, assistant schemas, focus filters, SiriKit migration, error handling, confirmation flows, authentication, URL-representable types, and Spotlight indexing details.","tags":["app","intents","swift","ios","skills","dpearson2699","accessibility","agent-skills","ai-coding","apple","claude-code","codex-skills"],"capabilities":["skill","source-dpearson2699","skill-app-intents","topic-accessibility","topic-agent-skills","topic-ai-coding","topic-apple","topic-claude-code","topic-codex-skills","topic-cursor-skills","topic-ios","topic-ios-development","topic-liquid-glass","topic-localization","topic-mapkit"],"categories":["swift-ios-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/dpearson2699/swift-ios-skills/app-intents","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add dpearson2699/swift-ios-skills","source_repo":"https://github.com/dpearson2699/swift-ios-skills","install_from":"skills.sh"}},"qualityScore":"0.684","qualityRationale":"deterministic score 0.68 from registry signals: · indexed on github topic:agent-skills · 468 github stars · SKILL.md body (15,924 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T06:53:41.382Z","embedding":null,"createdAt":"2026-04-18T20:33:52.743Z","updatedAt":"2026-04-22T06:53:41.382Z","lastSeenAt":"2026-04-22T06:53:41.382Z","tsv":"'-26':121 '-4':77 '0':509,671,680,704,719,736,751,1324 '0.id':667,715,747 '1':138,350,445,647,867,1327,1410 '10':1491 '100':510 '16':157 '17':162 '18':99,105,110,116,167,172,178,756,1099,1183 '2':190,681,869,1349 '26':37,118,183,188,1192,1223,1228,1243,1565 '2f':611 '3':229,720,871,1368 '4':74,267,645,752,1414 '5':497,1429 '6':1440 '7':1452 '8':1462 '9':1471 'action':21,994,1175 'activ':957,1490,1586 'add':257 'addit':119,122,1244 'allent':729 'allsoupsqueri':726 'app':2,5,34,42,46,274,565,764,782,788,898 'app-int':1 'app-set':787 'appear':892 'appent':22,71,72,196,477,559,577,1333,1466,1479,1523,1533 'appenum':79,80,207,479,807,828,858,880,1420,1421,1468,1482,1545 'appint':20,64,67,155,175,235,300,325,999,1014,1132,1504 'appintent-protocol':66 'appintentconfigur':1083 'appintentcontrolconfigur':1164 'appl':15,56,173 'applic':1360 'applicationnam':917,921,938,1351,1555 'appsettingsent':768,797,798 'appsettingsqueri':773,791 'appshortcut':908,909,910,1355 'appshortcutsprovid':26,81,82,265,885,905,1552 'assist':1609 'assistantent':1474,1578 'assistantenum':1476,1579 'assistantint':1486,1582 'async':253,365,662,674,696,710,730,742,795,1030,1147,1264,1316,1496 'async/await':1589 'authent':1619 'authenticationpolici':390 'await':370,982,1152,1271,1498 'back':816 'base':649 'basic':484 'block':1492,1591 'bodi':1080,1161 'book':1061,1064 'booktitl':1071 'bookwidgetconfig':1054 'bookwidgetconfig.self':1087 'bookwidgetview':1092 'bool':387,389,461 'build':269 'built':889 'button':1001,1041 'call':312,944,1287,1456 'cannot':426,1377 'carri':1341 'case':829,865,881,1512 'casedisplayrepresent':840,1551 'categori':520,524,525 'categoryoptionsprovid':522 'center':13,54,96,102,164,1096,1104,1567 'chang':950,1461 'check':294 'checklist':129,132,1502 'choic':212 'choos':213 'common':123,126,480,1325 'common-mistak':125 'compil':859 'computedproperti':1224 'config':1169 'config.light':1178 'config.light.ison':1174 'config.light.name':1172 'configur':158,296,901,1008 'confirm':276,288,1617 'conflict':1345 'conform':201,233,568,986,1184,1328,1532,1569 'connect':1073 'content':58,528 'context':1596 'control':12,53,95,101,163,1095,1101,1103,1121,1566 'control-center-widgets-io':100 'controlconfigurationint':165,1109,1115,1571 'controlstyl':506 'controlwidget':1111,1159 'controlwidgetconfigur':1163 'controlwidgettoggl':1171 'core':202,569,1329,1339,1529 'correct':434,872,1405 'count':430,432,443,447,451,453,495,499,1401,1403,1408,1412 'cover':19 'creat':195,206,560,1334 'cup.and.saucer':926 'currenc':467 'custom':475 'data':193,203,566,570,1330,1460,1530 'date':464 'datecompon':465 'declar':242,314,393 'dedic':1335 'default':349,412,424,437,444,492,496,1065,1125,1374,1392,1409,1439,1519 'defaultqueri':580,625,772,1204 'defaultunit':545 'defin':191,808,1557 'delici':1234 'deprec':1473,1577 'descript':334,384,1226,1507 'detail':1627 'determin':143 'dialog':378 'direct':205,573 'disambigu':1367 'display':1246,1290 'displayrepresent':603,604,605,627,780,781,842,1237,1238,1239,1535 'distanc':544,550 'document':532,537 'donat':960,962 'doubl':460,601 'dynam':516,947 'entiti':222,658,692,706,738,762,794,1444,1446,1450,1459 'entitypropertyqueri':803,1608 'entityqueri':24,73,76,216,644,648,656 'entityquery.entities':1538 'entitystringqueri':682,690 'entri':1090,1093,1094 'entry.id':1045 'entry.isfavorite':1048 'enum':825,855,877 'enumerableentityqueri':721,727 'error':860,1615 'everi':934,1354,1503 'expect':1594 'expos':45,636,1100 'extend':41 'face':249,397 'fals':548,955 'favorit':1020,1060 'favoritebook':1085 'favoritesoupent':980 'favoritestore.shared.toggle':1034 'featur':146 'file':526 'fill':416,1382 'filter':1612 'filter/sort':805 'filtering/sorting':638 'finit':722 'fix':210,809 'flow':1618 'focus':1611 'forget':1430 'format':610 'framework':466 'free':684 'free-text':683 'func':363,657,672,691,705,728,737,793,1028,1145,1262,1280,1311 'function':47 'get':918 'handl':1616 'heart':1050 'heart.fill':1049 'high':870,884 'i/o':1500 'id':588,624,652,785,1024,1212,1542 'identifi':139,660,708,740 'identifiers.contains':666,714,746 'imag':1046 'implement':4,38,230,251,1544 'includ':937,1358,1554 'inclusiverang':508 'index':30,1455,1626 'indexedent':28,108,114,170,224,292,1181,1186,1201,1558 'indexingkey':227,1194,1217,1225,1562 'init':308,613 'initi':481,557 'input':250,398,1306,1314,1320 'instanc':761 'instanti':304 'instead':1338,1451,1484 'int':353,433,448,454,459,500,513,852,857,861,1404,1413,1416 'integr':84,87,141,959 'intellig':16,57,174,185,1300 'intent':3,6,35,43,90,94,148,232,284,299,911,961,963,977,985,997,1042,1086,1167,1288,1347,1568,1573,1597 'intent.donate':983 'intent.soup':979 'intentauthenticationpolici':391 'intentdescript':335,385 'intentfil':469,538 'intentresult':256,368,1033,1150,1267 'intentvaluequeri':186,1298,1304 'interact':88,92,179,995,1247 'interactive-widget-int':91 'intern':643 'io':18,36,98,104,109,115,117,120,156,161,166,171,177,182,187,755,1098,1182,1191,1222,1227,1242,1564 'isdiscover':388 'isol':1595 'ison':1173 'item':1023 'itemid':1026,1035,1044 'kind':1084,1165 'languag':1069 'larg':832,847,848 'learn':967 'let':579,771,976,1203,1269 'lifecycl':1348 'light':1120,1124,1128,1138,1141,1143,1177 'light.id':1154 'lightcontrol':1158,1166 'lightcontrolconfig':1114 'lightcontrolconfig.self':1168 'lightent':1129,1144 'lightservice.shared.toggle':1153 'like':763 'list':517 'livingroom':1126 'localizedstringresourc':329,1018,1059,1119,1136,1259 'lock':1106 'logic':1343 'losslessstringconvert':819,864,1426 'low':866,882 'macro':1580 'make':439,1385 'map':668,701,716,748,1321 'mark':220,630,1394 'match':693 'measur':470,471,472,539,551 'medium':831,845,846,868,883 'member':383 'metadata':1197 'migrat':1614 'mile':546 'mirror':564 'miss':1350,1443,1449,1463,1541 'mistak':124,127,1326 'model':25,194,198,204,562,571,1331,1337,1340,1527,1531 'must':814,936,1357 'myappshortcut':904 'mytimelineprovid':1089 'mywidget':1077 'name':487,489,592,594,607,1216,1220,1232,1241,1361 'navi':931 'negativephras':952 'never':567 'non':407,420,1370,1387 'non-opt':406,419,1369,1386 'note':1485,1581 'notifi':1282 'noun':1510 'numer':501 'omit':1448,1540 'openappwhenrun':386 'option':382,401,408,421,440,514,948,1371,1388,1396,1516 'optionsprovid':521 'order':330,339,360,379,914,923,1260 'orderservice.shared.place':371 'ordersoupint':324,912,978 'orderstatussnippet':1254,1297 'orderstatussnippetview':1276 'ordertracker.currentstatus':1272 'other':474 'paramet':69,70,211,243,277,310,340,346,392,400,402,409,422,428,441,449,485,493,503,518,530,542,942,1010,1021,1062,1122,1139,1372,1384,1389,1399,1406,1513,1606 'parametersummari':258,318,356,358,1556 'pattern':482,969 'pdf':534 'perform':252,313,364,1029,1146,1263,1493,1494,1587 'persist':1342 'person':468 'phrase':27,263,281,913,932,935,939,1353,1356,1553 'picker':1436 'place':336 'plaintext':535 'pre':415,888,1381 'pre-built':887 'pre-fil':414,1380 'predict':984,991 'predictableint':988 'prevent':954 'preview':285,427,1378,1522 'price':598,600,612 'primit':458 'prioriti':856,878 'productent':1310,1318,1322 'productstore.shared.search':1319 'productvaluequeri':1303 'program':1068 'properti':226,244,590,596,631,633,639,641,1214,1559,1561 'protocol':65,68,151,241,301 'provid':435,515,1088 'quantiti':348,352,362,374,375,380 'raw':820,853,875,1417,1548 'rawrepresent':1423 'rawvalu':1425 'recip':1210,1235 'recipeent':1200 'recipequeri':1205 'refer':133,134,941,1601 'references/appintents-advanced.md':553,554,800,801,1603,1604 'refresh':1285 'regist':262,886 'reload':1281 'remain':642 'represent':1622 'requir':405,623,1422,1469 'resolut':219,278 'resolv':650 'result':290,377,1037,1156,1274,1295,1309 'return':376,1036,1155,1273,1294 'review':39,128,131,1501 'review-checklist':130 'right':215 'rule':933 'run':271,1592 'schema':176,1475,1477,1480,1483,1487,1583,1610 'screen':1107 'search':169,686,1189 'searchabl':221 'see':552,799,1602 'select':812 'self.id':617 'self.name':619 'self.price':621 'sendabl':1600 'set':309,723,765,778,783,789,810 'shadow':197,561,1336,1526 'shortcut':9,50,154,260,273,320,890,897,1435 'shortcuttilecolor':929,930 'shorttitl':922 'show':1437 'showssnippetview':1268 'sinc':152 'singl':760 'single-inst':759 'singleton':754 'siri':8,49,83,86,153,280,894,956,958,990,1363 'siri-integr':85 'sirikit':1613 'size':837 'skill' 'skill-app-intents' 'slider':502,507 'small':830,843,844 'snippet':180,1248,1292 'snippetint':32,181,1245,1255,1296 'soup':331,338,342,344,361,372,586,615,616,915,919,924,943 'soup.id':373,618 'soup.name':381,620 'soup.price':622 'soupent':345,576,664,669,676,678,698,702,712,717,732,734,744,749 'soupentityqueri':581,655 'soupsiz':826,841 'soupstore.shared.allsoups.map':733 'soupstore.shared.featured.map':677 'soupstore.shared.search':699 'soupstore.shared.soups.filter':665,713,745 'soupstringqueri':689 'source-dpearson2699' 'special':238 'spotlight':10,29,51,106,112,168,289,974,1179,1188,1454,1625 'spotlight-and-indexedentity-io':111 'stale':1453 'static':326,332,354,578,582,626,629,770,774,833,838,906,927,1015,1056,1116,1133,1202,1206,1256,1279 'status':1261,1270,1277,1278 'step':137,189,228,266 'still':1489,1585 'string':462,490,589,595,609,661,694,695,700,709,741,786,823,827,874,879,1027,1072,1213,1221,1231,1307,1315,1428,1547 'struct':306,323,575,654,688,725,767,790,903,1012,1053,1076,1113,1130,1157,1199,1253,1302 'structur':1196 'sub':240 'sub-protocol':239 'subtitl':608 'suggest':971 'suggestedent':673,1431,1543 'summari':359,1230 'support':455,806 'supportedcontenttyp':533 'supportsnegativenumb':547 'surfac':142,150 'swift':322,417,483,574,653,687,724,766,824,849,902,975,1011,1052,1067,1112,1198,1252,1301,1397 'system':145,303,425,966,1250,1283,1376,1521 'systemimagenam':925 'systemnam':1047 'target':149 'test':279 'text':685 'throw':254,366,663,675,697,711,731,743,796,1031,1148,1265,1317,1441 'titl':316,328,341,347,429,442,450,486,494,504,519,531,543,591,597,606,634,1017,1022,1058,1063,1118,1123,1135,1140,1215,1218,1240,1258,1400,1407,1508,1511 'toggl':1002,1019,1137 'togglefavoriteint':1013,1043 'togglelightint':1131,1176 'token':1362 'topic-accessibility' 'topic-agent-skills' 'topic-ai-coding' 'topic-apple' 'topic-claude-code' 'topic-codex-skills' 'topic-cursor-skills' 'topic-ios' 'topic-ios-development' 'topic-liquid-glass' 'topic-localization' 'topic-mapkit' 'tri':369,981,1151 'triag':59,62,135 'triage-workflow':61 'type':208,293,457,529,572,1514,1524,1598,1623 'typealia':1305,1308 'typedisplayrepresent':584,585,628,776,777,835,836,1208,1209,1464,1537 'ui':261,321,1251 'uniqueappent':769 'uniqueappentityqueri':753,792 'unit':541 'upcom':993 'updateappshortcutparamet':945,1457 'url':463,1621 'url-represent':1620 'use':757,822,851,873,951,998,1005,1193,1364,1415,1427,1472,1478,1497,1546,1560,1588 'user':248,396,900,968 'user-fac':247,395 'valu':456,813,821,854,876,949,1312,1418,1549 'var':327,333,343,351,355,431,446,452,488,498,511,523,536,549,583,587,593,599,602,775,779,784,834,839,907,928,1016,1025,1057,1070,1079,1117,1127,1134,1142,1160,1207,1211,1219,1229,1236,1257,1402,1411 'variant':75,78,217,558,646,1607 'verb':1509 'verifi':268 'via':264,307,1293 'view':1040,1275 'visual':184,1299 'volum':505,512 'widget':11,52,89,93,97,103,159,295,996,1004,1009,1039,1078,1097,1572 'widgetconfigur':1082 'widgetconfigurationint':31,160,298,1006,1051,1055,1575 'widgetkit':1075 'without':423,640,899,1373,1432 'workflow':60,63,136 'wrong':418,850,1398 'xcode':287","prices":[{"id":"bf72d07e-e4e4-4a98-9534-789f4ee88de3","listingId":"a380df90-6e3d-4f04-a174-c9f257d97def","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"dpearson2699","category":"swift-ios-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T20:33:52.743Z"}],"sources":[{"listingId":"a380df90-6e3d-4f04-a174-c9f257d97def","source":"github","sourceId":"dpearson2699/swift-ios-skills/app-intents","sourceUrl":"https://github.com/dpearson2699/swift-ios-skills/tree/main/skills/app-intents","isPrimary":false,"firstSeenAt":"2026-04-18T22:00:42.086Z","lastSeenAt":"2026-04-22T06:53:41.382Z"},{"listingId":"a380df90-6e3d-4f04-a174-c9f257d97def","source":"skills_sh","sourceId":"dpearson2699/swift-ios-skills/app-intents","sourceUrl":"https://skills.sh/dpearson2699/swift-ios-skills/app-intents","isPrimary":true,"firstSeenAt":"2026-04-18T20:33:52.743Z","lastSeenAt":"2026-04-22T06:40:33.527Z"}],"details":{"listingId":"a380df90-6e3d-4f04-a174-c9f257d97def","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"dpearson2699","slug":"app-intents","github":{"repo":"dpearson2699/swift-ios-skills","stars":468,"topics":["accessibility","agent-skills","ai-coding","apple","claude-code","codex-skills","cursor-skills","ios","ios-development","liquid-glass","localization","mapkit","networking","storekit","swift","swift-concurrency","swiftdata","swiftui","widgetkit","xcode"],"license":"other","html_url":"https://github.com/dpearson2699/swift-ios-skills","pushed_at":"2026-04-21T19:26:16Z","description":"Agent Skills for iOS 26+, Swift 6.3, SwiftUI, and modern Apple frameworks","skill_md_sha":"365fb86c2ad47b558a80110fbfd896cfc9005fac","skill_md_path":"skills/app-intents/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/dpearson2699/swift-ios-skills/tree/main/skills/app-intents"},"layout":"multi","source":"github","category":"swift-ios-skills","frontmatter":{"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."},"skills_sh_url":"https://skills.sh/dpearson2699/swift-ios-skills/app-intents"},"updatedAt":"2026-04-22T06:53:41.382Z"}}