No slash command · from fuse-swift-apple-expert
Integrates Apple Intelligence features into Apple-platform apps: Foundation Models framework (on-device and Private Cloud Compute language models, guided generation, tools), Writing Tools, Genmoji, Image Playground, and Visual Intelligence.
Ships in fuse-swift-apple-expert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A decision table routes each need to the right framework. App Intents, app schemas and Siri AI are already covered by swiftui-core/references/app-intents.md and hig-system-surfaces.md; this skill links to them instead of repeating them.
Apple Intelligence integration for iOS, iPadOS, macOS, visionOS, watchOS and tvOS apps.
Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:
https://developer.apple.com/tutorials/data/documentation/<path>.json); the apple-docs MCP search is unreliable, never conclude absence from itAfter implementation, run fuse-ai-pilot:sniper for validation.
@Generable) or letting it call app code (Tool)| Need | Use | Reference |
|---|---|---|
| Text generation or understanding inside your own feature, offline, private | SystemLanguageModel + LanguageModelSession | foundation-models.md |
| Typed output, tool calling, streaming, images in prompts | @Generable, Tool, streamResponse, Attachment | foundation-models-generation.md |
| Long documents or deeper reasoning (32K context, reasoning levels) | PrivateCloudComputeLanguageModel (iOS 27+, entitlement, daily quota) | foundation-models-pcc.md |
| Users rewrite, proofread, summarize their own text | Writing Tools (free in standard text views) | system-features.md |
| Custom emoji inside text | Genmoji (NSAdaptiveImageGlyph for custom text engines) | system-features.md |
| Users create images in your app | Image Playground sheet or view controller | system-features.md |
| Camera or screenshot search that shows your content | Visual Intelligence (IntentValueQuery) | system-features.md |
| Siri AI, Spotlight semantic index, Shortcuts, on-screen awareness | App Intents + schemas, not the model APIs | swiftui-core/references/app-intents.md, swiftui-core/references/hig-system-surfaces.md |
| Bring your own or open-source model behind the same API | LanguageModel protocol, Core AI | foundation-models-pcc.md |
| UX rules: transparency, refine/undo, feedback, safety | HIG generative AI | design-guidance.md |
Rule of thumb from Apple: start on-device, evaluate with the Evaluations framework, move to Private Cloud Compute only when the feature needs more reasoning or context.
SystemLanguageModel.default.availability (or isAvailable) before any UI that depends on it; always ship a non-AI fallback (HIG).availability with @unknown default. Reasons can be added later.isResponding.PrivateCloudComputeLanguageModel, Attachment, LanguageModelError, dynamic profiles start at 27.0. Use #available, newest first.com.apple.developer.private-cloud-compute entitlement. Without it the app crashes on the first prompt, even though availability says available.@Generable enums/ranges, handle guardrailViolation and refusal, keep instructions to trusted content.@Guide descriptions and UI text go through String Catalogs; check supportsLocale() before calling the model.| Path | Where data goes | Source |
|---|---|---|
SystemLanguageModel | Stays on device, works offline | Foundation Models overview |
PrivateCloudComputeLanguageModel | Apple's Private Cloud Compute; network required; Apple states it preserves privacy | PCC article |
| Image Playground (27) | Apple pages disagree: the 27-era overview and What's New say images are generated on Private Cloud Compute; the Get Started page still says on device. Treat as PCC and disclose it | see system-features.md |
Third-party LanguageModel providers | Provider's policy; HIG: get to know their privacy features before sending photos or personal data | Safety article |
HIG: ask permission before using personal information, minimize what is sent, tell people when data may leave the device (design-guidance.md).
| Need | Reference |
|---|---|
| Availability, model variants, sessions, prompting, context window, errors, safety, languages | foundation-models.md |
@Generable, @Guide, streaming, tools, tool-calling modes, images, Vision tools | foundation-models-generation.md |
| Private Cloud Compute, quota UI, reasoning levels, dynamic profiles, custom models | foundation-models-pcc.md |
| Writing Tools, Genmoji, Image Playground, Visual Intelligence | system-features.md |
| HIG generative-AI summary and links | design-guidance.md |
@Generable with short names and few @Guide descriptions (they cost context tokens)LanguageModelSession per unrelated task; reseed from a trimmed Transcript after contextSizeExceededprewarm(promptPrefix:) only with at least 1 second of lead timeWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fusengine/claude-plugins --plugin fuse-swift-apple-expert15 skills in this plugin
/apple-frameworksUse when adding an Apple system framework to an app - passkeys and credential exchange, MapKit geocoding, CloudKit, Core Data, TipKit, local notifications, continued background tasks, MetricKit state reporting, App Attest, HealthKit workout zones, CarPlay map panels, or Chart3D./build-distributionUse when preparing an Apple release — code signing, TestFlight upload, App Store submission, or app icons/CI across all platforms./graphics-gamesUse when building GPU rendering or games on Apple platforms — Metal 4 (command model, ML command encoder, tensors), MetalFX upscaling and frame interpolation, GameKit activities and challenges, Game Controller input, Game Porting Toolkit 4 — or when choosing between Metal, RealityKit, SpriteKit and SceneKit./iosUse when building iPhone apps — simulator/device testing, UI automation, or debugging — with XcodeBuildMCP tools./ipadosUse when building iPad apps — split views, external keyboard support, multitasking, or Stage Manager — adaptive layouts./macosUse when building Mac apps — menu bar extras, window management, AppKit integration, or notarized distribution outside the App Store.Other plugins' skills for the same job