Mobile authentication
Skill ahtishamshahzad/agent_dev_flow/.ai/skills/mobile/mobile-authentication
Tool-neutral AI Engineering System: 174 reusable skills (installable as Claude Code plugins) for planning and building software with AI agents. Classify → plan → approve → build under quality gates. Works with Claude Code, Codex, Cursor, Windsurf, Copilot & Antigravity. Canonical in .ai/.
npx -y skills add ahtishamshahzad/agent_dev_flow --skill mobile-authenticationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 21 days oldThe repository was created 21 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use to plan mobile authentication — login/signup, token/session handling, secure token storage, refresh, and logout — coordinating with secure storage, API integration, and the auth provider. Client auth is UX; the server enforces.
SKILL.md
3.3 KB, 634 tokens by cl100k_base, as published. Nobody here has run it
Mobile Authentication
Purpose
Plan authentication: sign-in/up flows, token/session lifecycle (issue, store, refresh, revoke), and secure token storage — coordinated with the API layer and the chosen provider.
When to Use
- When the app has user accounts or protected content.
- Not for authorization/role checks (that's
mobile-authorization).
Inputs
- Auth provider/model (custom JWT, Supabase/Firebase, Clerk/Auth0).
- API integration and secure storage.
Discovery Questions
- Which auth provider/model is used?
- How are tokens issued, refreshed, and revoked?
- Where are tokens stored securely (
mobile-secure-storage)? - What are the session-expiry and logout behaviors?
Responsibilities
- Plan login/signup and session establishment.
- Handle token lifecycle: issue, secure storage, refresh, revoke on logout.
- Attach tokens via the API layer (
mobile-api-integration). - Coordinate protected routes (
mobile-authorization,mobile-navigation).
Required Workflow
- Confirm provider/model + token lifecycle.
- Plan login/signup + session establishment.
- Store tokens securely; wire refresh + logout.
- Attach tokens in the API interceptor.
- Record the auth plan.
Decision Rules
- Store tokens in secure storage (Keychain/Keystore), never in plain async storage or app state alone.
- Refresh centrally in the API layer; don't scatter refresh logic.
- Client auth gates UX; the server enforces access (
../../security-review).
Rules
- Secure token storage (
mobile-secure-storage); no tokens in logs. - No hard-coded credentials/secrets.
- Coordinate enforcement with the backend; client checks are not security.
Anti-Patterns
- Tokens in plain async storage or logs.
- Scattered refresh logic.
- Treating client-side auth as the security boundary.
- Hard-coded credentials.
Validation Checklist
- Provider/model confirmed.
- Login/signup + session planned.
- Tokens stored securely; refresh + logout wired.
- Tokens attached via API layer.
- Server enforcement noted as authoritative.
Definition of Done
A recorded authentication plan: login/signup, secure token lifecycle with refresh and logout, API-layer attachment, and protected-route coordination — with server-side enforcement authoritative.
Related Skills
mobile-authorization, mobile-secure-storage, mobile-api-integration, mobile-navigation, ../../security-review
Related Knowledge
../../../knowledge/ (auth model, trust boundaries).
Related References
../../../references/mobile/native/ when populated.
Context Loading Guidance
- Requires: auth provider/model, API layer, secure storage.
- Does not require: unrelated screens, the full mobile skill set, unrelated references.
- May load:
mobile-secure-storage,mobile-api-integration,mobile-authorization. - Stop when: the auth plan is recorded.
Token Efficiency Guidance
Plan the token lifecycle and provider; delegate storage/transport to their skills.