Name Boolean properties as questions or capabilities, usually with `is`, `has`, or `can`: ```swift struct Account { let isVerified: Bool let hasPremiumAccess: Bool let canDelete: Bool } ``` This makes call sites read naturally (`if account.isVerified`). Follow Swift API Design Guidelines and use camelCase for properties.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Swift Best Practices?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-swift-best-practices-fcf061c9)
Name Boolean properties as questions or capabilities, usually with `is`, `has`, or `can`:
```swift
struct Account {
let isVerified: Bool
let hasPremiumAccess: Bool
let canDelete: Bool
}
```
This makes call sites read naturally (`if account.isVerified`). Follow Swift API Design Guidelines and use camelCase for properties.