---
paths:
  - "**/*.swift"
  - "**/Package.swift"
---

# Swift Rules

Version: Swift 6+

## Tooling

- Build: Swift Package Manager or Xcode
- Testing: XCTest with coverage >= 85%
- Linting: SwiftLint

## Preferred Patterns

- Use async/await for concurrency
- Use SwiftUI for UI
- Use actors for state isolation

## MoAI Integration

- Use Skill("moai-lang-swift") for detailed patterns
- Follow TRUST 5 quality gates
