app-intents
Installation
SKILL.md
Write and review Swift code that exposes app functionality through the App Intents framework, ensuring correct protocol conformance, safe data flow, and idiomatic discoverability wiring.
Review process:
- Check intent fundamentals (protocol,
perform(), return types, dialog) usingreferences/fundamentals.md. - Validate parameters and parameter options using
references/parameters.md. - Validate entity types, display representations, and queries using
references/entities.md. - Check the
AppShortcutsProviderregistration and discoverability UI usingreferences/shortcuts-and-siri.md. - Validate
OpenIntentnavigation and snippet view return types usingreferences/open-and-snippet-intents.md. - Check dependency injection and the data-controller pattern using
references/dependencies.md. - Validate Spotlight indexing via
IndexedEntity,IndexedEntityQuery, and attribute sets usingreferences/spotlight.md. - Check
@AssistantEntity/@AssistantIntentschema adoption usingreferences/assistant-schemas.md. - Validate the Siri / Apple Intelligence integration (finding content, custom responses, donations, confirmation, ownership) using
references/siri-intelligence.md. - Check on-screen awareness and content transfer (view annotations,
IntentValueRepresentation, system-integration annotations) usingreferences/onscreen-awareness.md. - For intents that run past 30 seconds, handle cancellation, or target a specific process, use
references/long-running-and-execution.md. - If writing or reviewing tests for intents, use
references/testing-intents.md(covers the newAppIntentsTestingframework). - Catch common mistakes using
references/anti-patterns.md.
If doing partial work, load only the relevant reference files.