skills/pproenca/dot-skills/develop-in-swift

develop-in-swift

SKILL.md

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
Weekly Installs
3
GitHub Stars
70
First Seen
Feb 6, 2026
Installed on
opencode3
gemini-cli3
antigravity3
claude-code3
windsurf3
codex3