Agent skill
managing-auth-pipeline
Handles the authentication flow including Login, Signup, OAuth, and Password Recovery. Use when building auth pages or logic.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/managing-auth-pipeline-itsmealee-tourly2
SKILL.md
Authentication Pipeline
When to use this skill
- Developing the
/authdirectory. - Implementing "Sign in with Google" or "GitHub".
- Handling session persistence in Next.js.
Workflow
- Create auth forms (Signup/Login).
- Implement
account.create()andaccount.createEmailPasswordSession(). - Set up OAuth redirection using
account.createOAuth2Session(). - Handle logout with
account.deleteSession('current').
Key Logic
- OAuth: Ensure redirect URLs are correctly whitespaced in Appwrite Console.
- Persistence: Appwrite handles cookies automatically in the browser; use Middleware for route protection.
Instructions
- Error Feedback: Use toast notifications for "Invalid credentials" or "Email already exists".
- Social Auth: Prioritize Google/GitHub for premium UX.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?