app-intent-driven-development
БесплатноБез исполняемых скриптовНе проверенWHEN designing or debugging App Intent-first iOS features for Siri, Shortcuts, widgets, Live Activities, or reuse of an existing intent in SwiftUI; NOT for…
от mintuz★ 38 звёзд на GitHubОб этом скилле
App Intent-First Driven Development
Design features with a system surface as App Intents first, then reuse those intents across Siri, Shortcuts, widgets, Controls, and SwiftUI views so automation and UI share one action path.
This skill covers evergreen App Intents architecture and best practices. For iOS 26 / iOS 27 additions (SnippetIntent, Visual Intelligence IntentValueQuery, IndexedEntityQuery, RelevantEntities, SyncableEntity/EntityOwnership, LongRunningIntent, SystemShortcut, AppIntentsTesting, @ComputedProperty/@DeferredProperty), use app-intents-whats-new-27. For iOS 27.3 Siri model integration (@AppIntent(.tool), @AppEntity(.generable), Skills.skillsbundle), use siri-app-integration and siri-evaluations.
Guardrails
- Public API only: Never recommend or emit non-public or underscore-prefixed symbols. State plainly if a capability is only reachable via non-public API.
- Ground every symbol: Emit only types, initialisers, and parameters that exist in current public App Intents API.
- Treat identifiers, raw values, URLs, and phrases as public contracts: Saved shortcuts and donations replay an intent by its type name, carrying
AppEntity.idvalues andAppEnumstring raw values. Renaming, removing, or renumbering any of those (or changing aURLRepresentable*path) breaks saved shortcuts and donations.AppShortcutphrases are a separate contract for spoken Siri invocation and Spotlight display: renaming or removing a phrase breaks voice triggers. Adding is safe; breaking edits must be flagged explicitly and never performed silently. - Large-codebase review: Scan the project to identify discrete areas (intents, entities, queries,
AppShortcutsProvider), propose reviewing one area at a time with choices, or break a whole-codebase review into sections with a checklist.
References
Read a reference when its topic is in play:
references/queries-and-entities.md:EntityIdentifierConvertible(<= 4096chars),@Propertyvisibility,EntityStringQuery,EnumerableEntityQuery, andEntityPropertyQuery(QueryProperties,SortingOptions, comparators, manual filter/sort/limit execution).references/enums-parameters-and-summaries.md:AppEnumstring-persisted raw values andcaseDisplayRepresentationsfatalError,@IntentParameterDependency,ParameterSummaryDSL (When, operator enums,Switch/Case/DefaultCase,%auto-escaping), and factoring (AppEnumvsAppEntityvs plain@Parameter).references/execution-dependencies-and-errors.md: Nonisolatedperform(), retry/idempotency aroundneedsValueError/AppIntentError.restartPerform,requestConfirmation,@Dependency(AppDependencyManager.sharedinApp.init(), placement restrictions,Sendable), and thrownCustomLocalizedStringResourceConvertible/AppIntentErrorerrors.references/shortcuts-donation-and-localization.md:AppShortcutphrases (INAlternativeAppNames,Bool.IntentDisplayName, 10-shortcut / ~1,000-phrase caps,AppShortcuts.xcstrings),IntentDonationManager,PredictableIntent, and source-literal localization (TypeDisplayRepresentation.numericFormat).references/url-representation-and-opening.md:OpenIntent,OpenURLIntent(.result(opensIntent:)/OpensIntent), andURLRepresentableIntent/URLRepresentableEntity/URLRepresentableEnum(applinks:universal links).references/configuration-intents.md: Parameter-onlyWidgetConfigurationIntentandControlConfigurationIntent(noperform()), andSetValueIntentfor Control toggles.
Scope Check
An action earns an App Intent when it needs a system surface, e.g. Siri, Shortcuts, App Shortcuts, Spotlight, widgets, Controls, the Action button, Focus filters, or Live Activities (an open set).
- The UI framework does not decide: a UIKit app can adopt App Intents, and a SwiftUI app can hold actions that stay inside one screen. A refusal is a product/security decision about surfaces, not a limit of the UI framework.
- Keep an action with no system surface in the shared domain service the screen already calls; do not add an intent for consistency alone (
principle-foundational-thinking). - An unused intent still costs: wider discoverability in system surfaces, App Intents metadata and Shortcuts cache upkeep, and system-facing verification with no user benefit.
- When a system surface becomes a requirement, extract the intent around the same unchanged service.
- A scope decision is a deliverable: record the missing surface, the cost the refusal avoids, and the condition that reverses the decision.
Core Ideas
- Entities first: Model runtime domain records users select or inspect as flat
AppEntitysnapshots; useAppEnumonly for compile-time fixed sets and plain@Parameter(String,Int,Bool,Date,Measurement) for free-form values. - Intent-first feature: Build the App Intent + entity/query path before UI; SwiftU
Установить app-intent-driven-development в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл app-intent-driven-development?
WHEN designing or debugging App Intent-first iOS features for Siri, Shortcuts, widgets, Live Activities, or reuse of an existing intent in SwiftUI; NOT for actions with no system surface; provides AppEntity, metadata, prompting, and view-reuse patterns.
Как установить скилл app-intent-driven-development?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл app-intent-driven-development запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic