用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/edfenton/claude-skills --skill ios-add-auth命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | ios-add-auth |
| description | Add authentication to an iOS app with Sign in with Apple, biometrics, and Keychain storage. |
| argument-hint | [--providers apple,biometric] [--with-backend] |
| allowed-tools | Bash, Write, Read, Glob, Grep |
Add secure authentication to an existing iOS project using Apple-native approaches.
--providers <list> — Comma-separated providers (default: apple,biometric)
apple — Sign in with Applebiometric — Face ID / Touch IDcredentials — Email/password (requires backend)--with-backend — Include API client for backend authServices/
├── Auth/
│ ├── AuthService.swift # Main auth service
│ ├── AuthState.swift # Auth state enum
│ ├── KeychainManager.swift # Secure token storage
│ ├── BiometricAuthManager.swift # Face ID / Touch ID
│ └── SignInWithAppleManager.swift
Features/
├── Auth/
│ ├── SignInView.swift # Sign-in screen
│ ├── SignInViewModel.swift
│ └── AuthenticatedContainer.swift # Wraps authenticated content
Models/
└── User.swift # User model
Add to Xcode project:
apple provider)Add to Info.plist:
NSFaceIDUsageDescription — "Use Face ID to unlock the app"kSecAttrAccessibleWhenUnlockedThisDeviceOnlySummarize: providers configured, capabilities needed, UI components, security setup.
For implementation details and security patterns, see reference/ios-add-auth-reference.md