macos-development
GitHub提供 macOS 开发综合指导,涵盖 Swift 6+、SwiftUI、SwiftData 及 macOS 26 Tahoe API。支持代码审查、最佳实践咨询、架构设计及 UI/UX 审核,帮助开发者解决平台特定问题与现代化开发挑战。
Trigger Scenarios
Install
npx skills add KartikLabhshetwar/better-shot --skill macos-development -g -y
SKILL.md
Frontmatter
{
"name": "macos-development",
"review_by": 1813622400,
"os_version": "iOS 27 \/ macOS 27",
"description": "Comprehensive macOS development guidance including Swift 6+, SwiftUI, SwiftData, architecture patterns, AppKit bridging, and macOS 26 Tahoe APIs. Use for macOS code review, best practices, UI review, or platform-specific features.",
"allowed-tools": [
"Read",
"Glob",
"Grep",
"WebFetch"
],
"last_verified": 1784160000
}
macOS Development Expert
Comprehensive guidance for macOS app development. This skill aggregates specialized modules for different aspects of macOS development.
When This Skill Activates
Use this skill when the user:
- Asks about macOS development best practices
- Wants code review for macOS/Swift projects
- Needs help with SwiftUI, SwiftData, or AppKit
- Is implementing macOS 26 (Tahoe) features
- Wants UI/UX review against HIG
- Needs architecture guidance for macOS apps
Available Modules
Read relevant module files based on the user's needs:
coding-best-practices/
Swift 6+ code quality and modern idioms.
swift-language.md- Modern Swift patternsmodern-concurrency.md- async/await, actors, Sendabledata-persistence.md- SwiftData, UserDefaults, Keychaincode-organization.md- Project structure and modularityarchitecture-principles.md- Clean architecture patterns
architecture-patterns/
Software design and architecture.
solid-detailed.md- SOLID principles with Swift examplesdesign-patterns.md- Common design patternsmodular-design.md- Modular architecture approaches
swiftdata-architecture/
SwiftData deep dive.
schema-design.md- Model design and relationshipsquery-patterns.md- Efficient queries and predicatesperformance.md- Optimization techniques
macos-tahoe-apis/
macOS 26 specific features.
tahoe-features.md- New macOS 26 capabilitiesapple-intelligence.md- AI/ML integrationmlx-framework.md- On-device ML with MLXcontinuity.md- Cross-device featuresxcode16.md- Xcode 16 tools and features
macos-capabilities/
Platform integration.
sandboxing.md- App Sandbox and entitlements- System integration features
appkit-swiftui-bridge/
Hybrid development.
nsviewrepresentable.md- Wrapping AppKit views- State management between frameworks
ui-review-tahoe/
UI/UX review for macOS 26.
- Liquid Glass design system
- HIG compliance checking
- Accessibility review
app-planner/
Project planning and analysis.
- New app architecture planning
- Existing app audits
How to Use
- Identify user's need from their question
- Read relevant module files from subdirectories
- Apply the guidance to their specific context
- Reference Apple documentation when needed
Example Workflow
User asks about SwiftData performance:
- Read
swiftdata-architecture/performance.md - Read
swiftdata-architecture/query-patterns.mdif relevant - Apply recommendations to their code
Version History
- 548ef5e Current 2026-08-28 22:54


