Agent SkillsKartikLabhshetwar/better-shot › macos-development

macos-development

GitHub

提供 macOS 开发综合指导,涵盖 Swift 6+、SwiftUI、SwiftData 及 macOS 26 Tahoe API。支持代码审查、最佳实践咨询、架构设计及 UI/UX 审核,帮助开发者解决平台特定问题与现代化开发挑战。

.claude/skills/macos-development/SKILL.md KartikLabhshetwar/better-shot

触发场景

macOS 应用开发最佳实践咨询 Swift/SwiftUI 代码审查 SwiftData 或 AppKit 集成问题 macOS 26 (Tahoe) 新功能实现 HIG 合规性 UI/UX 审核

安装

npx skills add KartikLabhshetwar/better-shot --skill macos-development -g -y
更多选项

非标准路径

npx skills add https://github.com/KartikLabhshetwar/better-shot/tree/main/.claude/skills/macos-development -g -y

不安装直接使用

npx skills use KartikLabhshetwar/better-shot@macos-development

指定 Agent (Claude Code)

npx skills add KartikLabhshetwar/better-shot --skill macos-development -a claude-code -g -y

安装 repo 全部 skill

npx skills add KartikLabhshetwar/better-shot --all -g -y

预览 repo 内 skill

npx skills add KartikLabhshetwar/better-shot --list

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 patterns
  • modern-concurrency.md - async/await, actors, Sendable
  • data-persistence.md - SwiftData, UserDefaults, Keychain
  • code-organization.md - Project structure and modularity
  • architecture-principles.md - Clean architecture patterns

architecture-patterns/

Software design and architecture.

  • solid-detailed.md - SOLID principles with Swift examples
  • design-patterns.md - Common design patterns
  • modular-design.md - Modular architecture approaches

swiftdata-architecture/

SwiftData deep dive.

  • schema-design.md - Model design and relationships
  • query-patterns.md - Efficient queries and predicates
  • performance.md - Optimization techniques

macos-tahoe-apis/

macOS 26 specific features.

  • tahoe-features.md - New macOS 26 capabilities
  • apple-intelligence.md - AI/ML integration
  • mlx-framework.md - On-device ML with MLX
  • continuity.md - Cross-device features
  • xcode16.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

  1. Identify user's need from their question
  2. Read relevant module files from subdirectories
  3. Apply the guidance to their specific context
  4. Reference Apple documentation when needed

Example Workflow

User asks about SwiftData performance:

  1. Read swiftdata-architecture/performance.md
  2. Read swiftdata-architecture/query-patterns.md if relevant
  3. Apply recommendations to their code

版本历史

  • 548ef5e 当前 2026-08-28 22:54

同 Skill 集合

.agents/skills/apple-design/SKILL.md
.agents/skills/ip-as-logo/SKILL.md
.agents/skills/macos-development/app-planner/SKILL.md
.agents/skills/macos-development/appkit-swiftui-bridge/SKILL.md
.agents/skills/macos-development/architecture-patterns/SKILL.md
.agents/skills/macos-development/coding-best-practices/SKILL.md
.agents/skills/macos-development/macos-capabilities/SKILL.md
.agents/skills/macos-development/macos-tahoe-apis/SKILL.md
.agents/skills/macos-development/SKILL.md
.agents/skills/macos-development/swiftdata-architecture/SKILL.md
.agents/skills/macos-development/ui-review-tahoe/SKILL.md
.agents/skills/write-swift/SKILL.md
.claude/skills/apple-design/SKILL.md
.claude/skills/ip-as-logo/SKILL.md
.claude/skills/macos-development/app-planner/SKILL.md
.claude/skills/macos-development/appkit-swiftui-bridge/SKILL.md
.claude/skills/macos-development/architecture-patterns/SKILL.md
.claude/skills/macos-development/coding-best-practices/SKILL.md
.claude/skills/macos-development/macos-capabilities/SKILL.md
.claude/skills/macos-development/macos-tahoe-apis/SKILL.md
.claude/skills/macos-development/swiftdata-architecture/SKILL.md
.claude/skills/macos-development/ui-review-tahoe/SKILL.md
.claude/skills/write-swift/SKILL.md
.agents/skills/design-anti-slop/SKILL.md
.agents/skills/landing-page-design/SKILL.md
.claude/skills/design-anti-slop/SKILL.md
.claude/skills/landing-page-design/SKILL.md

元信息

文件数
0
版本
548ef5e
Hash
9b460c77
收录时间
2026-08-28 22:54

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 14:54
浙ICP备14020137号-1 $访客地图$