·app-intents
</>

app-intents

实施、审查或改进 Siri、快捷方式、Spotlight、小部件和 Apple Intelligence 的 App Intent。在创建 AppIntent 操作、使用 EntityQuery 定义 AppEntity 模型、构建 AppShortcutsProvider 短语、使用 IndexedEntity 添加 Spotlight 索引、集成 Apple Intelligence 的辅助架构、从 SiriKit 迁移到 App Intents、使用 WidgetConfigurationIntent 构建交互式小部件、创建控制中心小部件、实现视觉智能的 SnippetIntent 或使用 SetFocusFilterIntent 连接焦点过滤器时使用。

81安装·17热度·@dpearson2699

安装

$npx skills add https://github.com/dpearson2699/swift-ios-skills --skill app-intents

如何安装 app-intents

通过命令行快速安装 app-intents AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill app-intents
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:dpearson2699/swift-ios-skills。

SKILL.md

查看原文

Implement, review, and extend App Intents to expose app functionality to Siri, Shortcuts, Spotlight, widgets, Control Center, and Apple Intelligence.

| 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 |

The system instantiates the struct via init(), sets parameters, then calls perform(). Declare a title and parameterSummary for Shortcuts UI.

实施、审查或改进 Siri、快捷方式、Spotlight、小部件和 Apple Intelligence 的 App Intent。在创建 AppIntent 操作、使用 EntityQuery 定义 AppEntity 模型、构建 AppShortcutsProvider 短语、使用 IndexedEntity 添加 Spotlight 索引、集成 Apple Intelligence 的辅助架构、从 SiriKit 迁移到 App Intents、使用 WidgetConfigurationIntent 构建交互式小部件、创建控制中心小部件、实现视觉智能的 SnippetIntent 或使用 SetFocusFilterIntent 连接焦点过滤器时使用。 来源:dpearson2699/swift-ios-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/dpearson2699/swift-ios-skills --skill app-intents
分类
</>开发工具
认证
收录时间
2026-03-08
更新时间
2026-03-10

Browse more skills from dpearson2699/swift-ios-skills

快速解答

什么是 app-intents?

实施、审查或改进 Siri、快捷方式、Spotlight、小部件和 Apple Intelligence 的 App Intent。在创建 AppIntent 操作、使用 EntityQuery 定义 AppEntity 模型、构建 AppShortcutsProvider 短语、使用 IndexedEntity 添加 Spotlight 索引、集成 Apple Intelligence 的辅助架构、从 SiriKit 迁移到 App Intents、使用 WidgetConfigurationIntent 构建交互式小部件、创建控制中心小部件、实现视觉智能的 SnippetIntent 或使用 SetFocusFilterIntent 连接焦点过滤器时使用。 来源:dpearson2699/swift-ios-skills。

如何安装 app-intents?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill app-intents 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/dpearson2699/swift-ios-skills