rshankras

apple-intelligence

27
3
# Install this skill:
npx skills add rshankras/claude-code-apple-skills --skill "apple-intelligence"

Install specific skill from multi-skill repository

# Description

Apple Intelligence skills for on-device AI features including Foundation Models, Visual Intelligence, and intelligent assistants. Use when implementing AI-powered features.

# SKILL.md


name: apple-intelligence
description: Apple Intelligence skills for on-device AI features including Foundation Models, Visual Intelligence, and intelligent assistants. Use when implementing AI-powered features.
allowed-tools: [Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion]


Apple Intelligence Skills

Skills for implementing Apple Intelligence features including on-device LLMs, visual recognition, and intelligent assistants.

When This Skill Activates

Use this skill when the user:
- Wants to add AI/LLM features to their app
- Needs on-device text generation or understanding
- Asks about Foundation Models or Apple Intelligence
- Wants to implement structured AI output
- Needs prompt engineering guidance
- Wants camera-based visual intelligence features

Available Skills

foundation-models/

On-device LLM integration with prompt engineering best practices.
- Model availability checking
- Session management
- @Generable structured output
- Tool calling patterns
- Snapshot streaming
- Prompt engineering techniques

visual-intelligence/

Integrate with iOS Visual Intelligence for camera-based search.
- IntentValueQuery implementation
- SemanticContentDescriptor handling
- AppEntity for searchable content
- Display representations
- Deep linking from results

Key Principles

1. Privacy First

  • All processing happens on-device
  • No cloud connectivity required
  • User data never leaves the device

2. Graceful Degradation

  • Always check model availability
  • Provide fallback UI for unsupported devices
  • Handle errors gracefully

3. Efficient Prompting

  • Keep prompts focused and specific
  • Use structured output when possible
  • Respect context window limits (4,096 tokens)

Reference Documentation

  • /Users/ravishankar/Downloads/docs/FoundationModels-Using-on-device-LLM-in-your-app.md
  • /Users/ravishankar/Downloads/docs/Implementing-Visual-Intelligence-in-iOS.md

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.