app-intents-code-review

App Intents Code Review

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "app-intents-code-review" with this command: npx skills add existential-birds/beagle/existential-birds-beagle-app-intents-code-review

App Intents Code Review

Quick Reference

Issue Type Reference

AppIntent protocol, perform(), return types references/intent-structure.md

AppEntity, EntityQuery, identifiers references/entities.md

AppShortcutsProvider, phrases, discovery references/shortcuts.md

@Parameter, validation, dynamic options references/parameters.md

Review Checklist

  • perform() marked with @MainActor if accessing UI/main thread resources

  • perform() completes within 30-second timeout (no heavy downloads/processing)

  • Custom errors conform to CustomLocalizedStringResourceConvertible

  • EntityQuery.entities(for:) handles missing identifiers gracefully

  • EntityStringQuery used if Siri voice input needed (not plain EntityQuery )

  • suggestedEntities() returns reasonable defaults for disambiguation

  • AppShortcut phrases include .applicationName parameter

  • Non-optional @Parameter has sensible defaults or uses requestValue()

  • @IntentParameterDependency not used on iOS 16 targets (crashes)

  • Phrases localized in AppShortcuts.strings , not Localizable.strings

  • App Intents defined in app bundle, not Swift Package (pre-iOS 17)

  • isDiscoverable = false for internal/widget-only intents

When to Load References

  • AppIntent protocol implementation -> intent-structure.md

  • Entity queries, identifiers, Spotlight -> entities.md

  • App Shortcuts, phrases, discovery -> shortcuts.md

  • Parameter validation, dynamic options -> parameters.md

Review Questions

  • Does perform() handle timeout limits for long-running operations?

  • Are entity queries self-contained (no @Dependency injection in Siri context)?

  • Do phrases read naturally and include the app name?

  • Are SwiftData models passed by persistentModelID , not directly?

  • Would migrating from SiriKit break existing user shortcuts?

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

langgraph-code-review

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

docling

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

python-code-review

No summary provided by upstream source.

Repository SourceNeeds Review