
Swift Api Design Guidelines
Enforces the official Swift API Design Guidelines with decision tables and concrete rules for argument labels, mutating/nonmutating pairs, and side-effect naming. You'll want this when you're stuck on whether to use `sorted()` or `sorting()`, when to omit the first argument label, or how to name a Boolean property so it reads like an assertion. The prepositional phrase rule and grammatical phrase rule are spelled out with examples, and there's a clear -ed/-ing suffix guide that explains why it's `sorted()` but `strippingNewlines()`. Targets Swift 6.3 and stays focused on naming conventions, routing type-system questions to other skills. Most useful during API design reviews or when refactoring for call-site clarity.
- skills.sh installs
- 3K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill swift-api-design-guidelines --agent claude-codeInstalls into .claude/skills of the current project.
Files
Swift API Design Guidelines
Apply the Swift API Design Guidelines to naming, labels, documentation, and
call-site clarity. For mixed requests, handle the API-design portion here and
route language/type-system work to swift-language, concurrency to
swift-concurrency, and lint configuration to swiftlint.
Contents
- Argument Label Rules
- Side-Effect Naming
- Mutating and Nonmutating Pairs
- Documentation Comments
- Clarity and Naming
- Fluent Usage and Protocols
- General Conventions
- Common Mistakes
- Review Checklist
- References
Argument Label Rules
Argument labels determine how a call site reads. Apply the first matching row:
Sponsors
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Backend & APIs, Documentation, Code Review & Quality, Mobile Development, Design & UI/UX
- First seen
- Jun 3, 2026
More from dpearson2699/swift-ios-skills
All 98- Swiftlint2.9K
- Swift Formatstyle2.8K
- Core Data2.8K
- Focus Engine2.8K
- Ios Security1.1K
- Live Activities465
- Mapkit Location461
- Photos Camera Media456
- Eventkit Calendar415
- Cloudkit Sync413
- Metrickit Diagnostics409
- Musickit Audio409
- Realitykit Ar407
- Callkit Voip403
- Pencilkit Drawing403
- Homekit Matter402
- Passkit Wallet401
- Codable Patterns252
- Swiftui Animation5.7K
- Ios Accessibility5.2K
- Swiftui Performance4.8K
- App Store Review4.8K
- Swiftui Patterns4.7K
- Ios Networking4.6K