๐ท๐ข๐๐ฝ๐พ ๐ค๐ฉ ๐ ๐๐พ๐๐ ๐ฒ๐๐๐ ๐ ๐
Apple added new agent skills to Xcode 27. These are not community add-ons. Apple wrote them.
These skills help AI agents handle new APIs and security settings. Apple ships seven skills in the toolchain:
- swiftui-specialist: Guidance for SwiftUI.
- swiftui-whats-new-27: New SwiftUI APIs.
- uikit-app-modernization: Moving UIKit code to new patterns.
- test-modernizer: Updating test code.
- audit-xcode-security-settings: Reviewing project security.
- c-bounds-safety: C bounds safety.
- device-interaction: Working with devices.
Export these files to your computer. Run this command: xcrun agent skills export --output-dir ~/Downloads/xcode-skills
Command not working? Check your settings. Open Xcode Settings. Click the Locations tab. Set Command Line Tools to Xcode 27.
These files help in two ways.
First, agents use them. They load specific rules for specific tasks. This keeps context costs low.
Second, you read them. These are Markdown files. They show Apple's rules for modern Swift and SwiftUI.
Other Xcode 27 updates:
- Editable AI plans.
- Google Gemini integration.
- Better debugger tools via MCP server.
- New Device Hub for simulators.
You make your own skills too. Create a folder with a SKILL.md file. Add a name and description. The description tells the agent when to use the skill.
Example rule: Name: viewmodel-rules Description: Use when creating view models. Rule: Every view model must use @MainActor.
Export Apple's skills. See how they scope a job. Use it to write your own.
Optional learning community: https://t.me/GyaanSetuAi