develop-in-swift

📁 pproenca/dot-skills 📅 7 days ago
3
总安装量
3
周安装量
#61176
全站排名
安装命令
npx skills add https://github.com/pproenca/dot-skills --skill develop-in-swift

Agent 安装分布

opencode 3
gemini-cli 3
antigravity 3
claude-code 3
windsurf 3
codex 3

Skill 文档

Develop in Swift Best Practices

Comprehensive guide for Swift and SwiftUI app development, extracted from Apple’s official Develop in Swift Tutorials. Contains 41 rules across 13 categories, covering Swift fundamentals through app distribution.

When to Apply

Reference these guidelines when:

  • Learning Swift programming language
  • Building SwiftUI views and interfaces
  • Managing state and data flow
  • Working with SwiftData persistence
  • Implementing navigation patterns
  • Adding accessibility and localization
  • Debugging and testing your app
  • Preparing for App Store distribution

Rule Categories by Priority

Priority Category Impact Prefix
1 Swift Language Fundamentals CRITICAL swift-
2 SwiftUI View Basics CRITICAL view-
3 State & Data Flow CRITICAL state-
4 SwiftData & Persistence HIGH data-
5 Navigation & Presentation HIGH nav-
6 Lists & Dynamic Content HIGH list-
7 User Input & Forms MEDIUM-HIGH input-
8 Testing & Quality MEDIUM-HIGH test-
9 Accessibility & Localization MEDIUM-HIGH access-
10 Debugging & Refinement MEDIUM debug-
11 Machine Learning Integration MEDIUM ml-
12 visionOS & Spatial Computing MEDIUM spatial-
13 App Distribution LOW dist-

Quick Reference

1. Swift Language Fundamentals (CRITICAL)

2. SwiftUI View Basics (CRITICAL)

3. State & Data Flow (CRITICAL)

4. SwiftData & Persistence (HIGH)

5. Navigation & Presentation (HIGH)

6. Lists & Dynamic Content (HIGH)

7. User Input & Forms (MEDIUM-HIGH)

8. Testing & Quality (MEDIUM-HIGH)

9. Accessibility & Localization (MEDIUM-HIGH)

10. Debugging & Refinement (MEDIUM)

11. Machine Learning Integration (MEDIUM)

12. visionOS & Spatial Computing (MEDIUM)

13. App Distribution (LOW)

How to Use

Read individual reference files for detailed explanations and code examples:

Full Compiled Document

For a complete compiled guide with all rules in a single document, see AGENTS.md.

Reference Files

File Description
AGENTS.md Complete compiled guide with all rules
references/_sections.md Category definitions and ordering
assets/templates/_template.md Template for new rules
metadata.json Version and reference information