swift-best-practices
✓This skill should be used when writing or reviewing Swift code for iOS or macOS projects. Apply modern Swift 6+ best practices, concurrency patterns, API design guidelines, and migration strategies. Covers async/await, actors, MainActor, Sendable, typed throws, and Swift 6 breaking changes.
Installation
SKILL.md
Apply modern Swift development best practices focusing on Swift 6+ features, concurrency safety, API design principles, and code quality guidelines for iOS and macOS projects targeting macOS 15.7+.
Swift 6 enables complete concurrency checking by default with region-based isolation (SE-0414). The compiler now proves code safety, eliminating many false positives whilst catching real concurrency issues at compile time.
Must Explicitly Mark Types with @MainActor (SE-0401) Property wrappers no longer infer actor isolation automatically.
This skill should be used when writing or reviewing Swift code for iOS or macOS projects. Apply modern Swift 6+ best practices, concurrency patterns, API design guidelines, and migration strategies. Covers async/await, actors, MainActor, Sendable, typed throws, and Swift 6 breaking changes. Source: sammcj/agentic-coding.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/sammcj/agentic-coding --skill swift-best-practices- Source
- sammcj/agentic-coding
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-09
- Updated
- 2026-02-18
Quick answers
What is swift-best-practices?
This skill should be used when writing or reviewing Swift code for iOS or macOS projects. Apply modern Swift 6+ best practices, concurrency patterns, API design guidelines, and migration strategies. Covers async/await, actors, MainActor, Sendable, typed throws, and Swift 6 breaking changes. Source: sammcj/agentic-coding.
How do I install swift-best-practices?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/sammcj/agentic-coding --skill swift-best-practices Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/sammcj/agentic-coding
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-09