Example Workflows
Implementing On-Device AI with Foundation Models
When adding Apple Intelligence features to your app:
- Use
axiom:foundation-modelsskill - Check device availability with
SystemLanguageModel.default.availability - Design
@Generableschema for structured output - Implement streaming with
PartiallyGeneratedfor better UX - Add tools for external data integration (MapKit, Contacts, etc.)
- Handle errors: context exceeded, guardrail violations, unsupported language
Implementing Liquid Glass
When adding Liquid Glass to your app:
- Use
axiom:liquid-glassskill - Review Regular vs Clear variant decision criteria
- Apply
.glassEffect()to navigation layer elements - Run the Expert Review Checklist (7 sections) to validate implementation
- Test across light/dark modes and accessibility settings
Optimizing SwiftUI Performance
When app feels sluggish or animations stutter:
- Use
axiom:swiftui-performanceskill - Profile with Instruments 26 using SwiftUI template
- Check Long View Body Updates lane for expensive operations
- Use Cause & Effect Graph to identify unnecessary updates
- Apply formatter caching or granular dependencies patterns
Recording UI Tests
When writing UI tests for new features:
- Use
axiom:ui-testingskill - Record interactions with Recording UI Automation (Xcode 26)
- Replay across devices, languages, and configurations
- Review video recordings to debug failures
- Apply condition-based waiting for reliable tests
Debugging Xcode Build Failures
When you encounter BUILD FAILED or mysterious Xcode issues:
- Use
axiom:xcode-debuggingskill - Run mandatory environment checks (Derived Data, processes, simulators)
- Follow the decision tree for your specific error
- Apply quick fixes before debugging code
Fixing Swift Concurrency Errors
When you see actor isolation or Sendable errors:
- Use
axiom:swift-concurrencyskill - Match your error to the decision tree
- Copy the relevant pattern template (delegate capture, weak self, etc.)
- Run the code review checklist
Creating Safe Database Migrations
When adding database columns or changing schema:
- Use
axiom:database-migrationskill - Follow safe patterns (additive, idempotent, transactional)
- Write tests for both fresh install and migration paths
- Test manually on device before shipping