# app-intents

A skill for App Intents on iOS: turn app actions and data into Siri commands, Shortcuts, Spotlight results, widgets and Control Center controls.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 3900 installs · ★ 1237
- Author: dpearson2699
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dpearson2699/swift-ios-skills/tree/HEAD/skills/app-intents/SKILL.md
- Updated: 2026-07-31
- HTML: https://affpapa.org/en/nevibecode/skills/app-intents

## What it does

The skill runs App Intents through four steps: pick an action and its system surface, model the data, implement `perform()`, then check the result in that same surface. A table ties each protocol to an iOS version, from `AppIntent` on iOS 16 through `ControlConfigurationIntent` and `IndexedEntity` on iOS 18.

Sections cover `@Parameter` value types and initializer variants, `AppEntity` shadow models marked with `@Property`, the four `EntityQuery` variants, `AppEnum`, and the `AppShortcutsProvider` phrases that put an action in front of Siri. A common-mistakes list and a review checklist close it out, and `references/appintents-advanced.md` holds the remaining initializer forms.

Siri phrases get checked in the Xcode intent preview, so with no Xcode you end up with code and a checklist rather than a run against the live surface. `SnippetIntent` and `IntentValueQuery` arrive in iOS 26 and will not compile on an older deployment target.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill app-intents -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/app-intents/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/app-intents/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill app-intents -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/app-intents/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill app-intents -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/app-intents/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dpearson2699/swift-ios-skills app-intents
```

2. **Manually: put the files in place**
- File: `.github/skills/app-intents/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill app-intents -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dpearson2699/swift-ios-skills --path skills/app-intents
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/app-intents/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill app-intents -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/dpearson2699/swift-ios-skills/tree/HEAD/skills/app-intents/SKILL.md

## When to use it
- expose an app action to Siri and Shortcuts
- model an `AppEntity` shadow type with `@Property` fields
- pick the right `EntityQuery` variant for ID lookup or search
- index entities in Spotlight with `IndexedEntity` and `indexingKey`
- wire a configurable widget through `WidgetConfigurationIntent`

## Example prompts
- Add an order intent with `soup` and `quantity` parameters and a `parameterSummary` for Shortcuts
- Review my `AppEntity` and `EntityQuery`: too much internal data is reaching the system
- Give this action a Siri phrase through `AppShortcutsProvider` and index the entities for Spotlight

## Similar
- [vercel-react-native-skills](https://affpapa.org/en/nevibecode/skills/vercel-react-native-skills.md) — skill · 255200 installs
- [animate-expo](https://affpapa.org/en/nevibecode/skills/animate-expo.md) — skill · 137900 installs
- [mobile-native](https://affpapa.org/en/nevibecode/skills/mobile-native.md) — skill · 86600 installs
- [aso](https://affpapa.org/en/nevibecode/skills/aso.md) — skill · 75400 installs
- [swiftui-pro](https://affpapa.org/en/nevibecode/skills/swiftui-pro.md) — skill · 35200 installs
- [orca-emulator](https://affpapa.org/en/nevibecode/skills/orca-emulator.md) — skill · 5800 installs

## Other versions with the same name
- [app-intents · n0an](https://affpapa.org/en/nevibecode/skills/anton-novoselov-app-intents.md) — 509 installs

From the same set: [dpearson2699/swift-ios-skills](https://affpapa.org/en/nevibecode/by/dpearson2699/swift-ios-skills.md) — 86 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
