Agent skill · Security

auth-flow

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.

rshankrasgithub.com/rshankrasGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add rshankras/claude-code-apple-skills --skill auth-flow --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 5 KB
Bundled scripts: none
Allowed tools: ReadWriteEditGlobGrepBashAskUserQuestion
Path: skills/generators/auth-flow/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 589
Language: Swift

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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?** (mul

What's inside
Steps it walks through
  1. When This Skill Activates
  2. Pre-Generation Checks
  3. 1. Project Context Detection
  4. 2. Conflict Detection
  5. 3. Required Capabilities
  6. Configuration Questions
  7. Generation Process
  8. Step 1: Create Core Files
  9. Step 2: Create SwiftUI Components
  10. Step 3: Determine File Location
  11. Entitlements Required
  12. Sign in with Apple
  13. Keychain Sharing (optional)
  14. Info.plist Required
Ships with 6 files
  • auth-patterns.md
  • templates/AuthenticationManager.swift
  • templates/BiometricAuthManager.swift
  • templates/KeychainManager.swift
  • templates/SignInWithAppleButton.swift
  • templates/SignInWithAppleManager.swift
More from claude-code-apple-skills
All skills →
About this skill
What does the auth-flow skill do?

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.

How do I install it?

Run `npx skills add rshankras/claude-code-apple-skills --skill auth-flow --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going