
Swift Security
If you're building iOS or macOS apps and need to handle keychain storage, biometric authentication, or CryptoKit properly, this skill keeps you from making the classic mistakes. It covers SecItem operations with proper OSStatus handling, biometric-gated secrets using SecAccessControl instead of standalone LAContext checks, CryptoKit symmetric and public-key operations including the new post-quantum APIs, Secure Enclave key management, and certificate pinning. The workflow is smart: it only loads the reference files you actually need for your specific task rather than dumping everything at once. It's opinionated about security invariants like never storing tokens in UserDefaults and always handling keychain errors, which honestly saves you from the bugs everyone hits once.
- skills.sh installs
- 3.2K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill swift-security --agent claude-codeInstalls into .claude/skills of the current project.
Files
Swift Security
Use this skill for client-side Apple platform security work: Keychain Services, access control, biometric-gated secrets, CryptoKit, Secure Enclave keys, credential storage, certificate trust, keychain sharing, legacy secret migration, security testing, and OWASP mobile compliance mapping.
Default to iOS 17+ and Swift concurrency examples when the deployment target is unknown. Keep iOS 13+ compatibility notes when the user asks for older targets. Treat iOS 26 CryptoKit post-quantum APIs as availability-gated.
Contents
- Workflow
- Reference Loading
- Security Invariants
- Sibling Boundaries
- Review Checklist
- Common Mistakes
- Output Rules
- References
Workflow
Classify the request before loading references.
Sponsors
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Backend & APIs, Security, Data Science & ML, Mobile Development
- First seen
- Jun 3, 2026
More from dpearson2699/swift-ios-skills
All 98- Tabletopkit3.1K
- App Store Optimization3.1K
- Swift Api Design Guidelines3K
- 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