auth-flow

Featured

Generates authentication infrastructure with Sign in with Apple, biometrics, and Keychain storage. Use when user wants to add authentication, login, or Sign in with Apple.

AI & Automation 719 stars 68 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
95
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Auth Flow Generator Generate a complete authentication flow with Sign in with Apple, biometric authentication (Face ID/Touch ID), and secure Keychain storage. ## When This Skill Activates Use this skill when the user: - Asks to "add authentication" or "add login" - Mentions "Sign in with Apple" or "SIWA" - Wants "Face ID login" or "biometric auth" - Asks about "Keychain" or "secure storage" - Mentions "user session" or "auth token" ## Pre-Generation Checks ### 1. Project Context Detection - [ ] Check for existing auth implementations - [ ] Check for AuthenticationServices framework usage - [ ] Verify entitlements file exists - [ ] Identify source file locations ### 2. Conflict Detection Search for existing auth: ``` Glob: **/*Auth*.swift, **/*Keychain*.swift Grep: "ASAuthorizationController" or "LAContext" ``` If found, ask user: - Replace existing implementation? - Extend with additional methods? ### 3. Required Capabilities **Sign in with Apple requires:** - Add "Sign in with Apple" capability in Xcode - Configure in App Store Connect - Add entitlement: `com.apple.developer.applesignin` ## Configuration Questions Ask user via AskUserQuestion: 1. **Authentication methods?** (multi-select) - Sign in with Apple - Biometrics (Face ID/Touch ID) - Both 2. **Session storage?** - Keychain (secure, persists reinstall) - UserDefaults (simple, cleared on reinstall) 3. **Session management?** - Auto-refresh tokens - Manual refresh - No token refr...

Details

Author
rshankras
Repository
rshankras/claude-code-apple-skills
Created
10 months ago
Last Updated
1 months ago
Language
Swift
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category