Install
$ agentstack add skill-edfenton-claude-skills-ios-add-auth ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Purpose
Add secure authentication to an existing iOS project using Apple-native approaches.
Arguments
--providers— 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 auth
What gets created
Services/
├── 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
Capabilities required
Add to Xcode project:
- Sign in with Apple capability (for
appleprovider)
Add to Info.plist:
NSFaceIDUsageDescription— "Use Face ID to unlock the app"
Keychain storage
- Access tokens stored in Keychain (not UserDefaults)
- Uses
kSecAttrAccessibleWhenUnlockedThisDeviceOnly - Biometric-protected option available
Auth flow
- Check for existing session (Keychain)
- If biometrics enabled, prompt for Face ID/Touch ID
- If no session, show sign-in screen
- On successful auth, store tokens in Keychain
- Handle token refresh (if backend)
Workflow
- Add Sign in with Apple capability in Xcode
- Create auth services and managers
- Create sign-in UI
- Create authenticated container wrapper
- Integrate with DependencyContainer
- Add Info.plist entries
- Test on device (biometrics require device)
Security requirements
- Never store tokens in UserDefaults
- Use Keychain with appropriate accessibility
- Validate Sign in with Apple tokens server-side
- Handle biometric fallback gracefully
- Clear Keychain on sign-out
Output
Summarize: providers configured, capabilities needed, UI components, security setup.
Reference
For implementation details and security patterns, see reference/ios-add-auth-reference.md
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: edfenton
- Source: edfenton/claude-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.