macos-development

Review macOS SwiftUI code for Swift 6, SwiftData, and HIG compliance.

603|51|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/rshankras/claude-code-apple-skills --skill macos-development-rshankras
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: macos-development
Source: https://github.com/rshankras/claude-code-apple-skills/tree/main/skills/macos
Command: npx skills add https://github.com/rshankras/claude-code-apple-skills --skill macos-development-rshankras

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and best practices for developing robust, modern macOS applications, covering everything from Swift language features to platform-specific APIs and UI design.

Core Features & Use Cases

  • Code Review & Best Practices: Ensure your macOS code adheres to modern Swift idioms, SOLID principles, and architectural patterns.
  • Platform-Specific Features: Get guidance on using SwiftData, AppKit-SwiftUI bridging, macOS Tahoe APIs, and Continuity features.
  • UI/UX Guidance: Review your UI against HIG compliance and Liquid Glass design principles.
  • Use Case: You're building a new macOS app and want to ensure you're using SwiftData correctly for persistence, implementing modern concurrency patterns, and following the latest Human Interface Guidelines for a native look and feel.

Quick Start

Review my SwiftUI code for macOS for adherence to best practices.

Frequently Asked Questions about macos-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bridge AppKit and SwiftUI in a modern macOS app?

SwiftData persistence replaces Core Data by providing a declarative Swift macro-driven schema. You implement it by defining @Model classes and configuring the ModelContainer to ensure your macOS app data persists correctly.

What architecture pattern works best for SwiftUI macOS applications?

The MVVM pattern with a Repository layer works best for SwiftUI macOS applications, ensuring separation of concerns. This architecture pairs naturally with modern Swift concurrency to maintain testable and modular code organization.

How do I implement modern concurrency in Swift 6 for macOS?

Modern Swift 6 concurrency utilizes async/await, actors, and structured concurrency to prevent data races. Implementing these language features ensures your macOS application handles parallel tasks safely while adhering to strict compile-time checking.

Does macOS Tahoe support Liquid Glass design principles for UI development?

Yes, macOS Tahoe supports Liquid Glass design principles alongside standard Human Interface Guidelines. Reviewing your UI against these principles ensures your macOS app maintains a native look and feel while meeting necessary accessibility requirements.

What are the best practices for SwiftData persistence in macOS apps?

SwiftData best practices include defining declarative @Model schemas, managing migrations carefully, and isolating model contexts. Using SwiftData correctly for persistence ensures robust data management in modern macOS applications without Core Data complexity.