swift-api-design-guidelines
Installation
SKILL.md
Swift API Design Guidelines
Apply the Swift API Design Guidelines when naming types, methods, properties, parameters, and argument labels. Targets Swift 6.3. For language features and syntax, see swift-language. For concurrency patterns, see swift-concurrency. For mixed requests, answer the API naming portion briefly, then route Swift type-system details to swift-language and lint configuration to swiftlint instead of implementing those sibling domains here.
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