Help us improve
Share bugs, ideas, or general feedback.
From claude-code-starter
Adds complete user authentication system with login/registration, OAuth, JWT tokens, permission controls, and protected routes. Detects stacks like React/Vue frontend and FastAPI/Express/Next.js backend.
npx claudepluginhub lightpointventures/claude-code-starterHow this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-starter:authThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
帮用户为项目添加完整的用户认证系统。
Scaffold signin and signup authentication endpoints for a project. Use when the user wants to add authentication, create login/register flows, or set up auth from scratch.
Use when adding authentication or login to any app - detects your stack (React, Next.js, Vue, Nuxt, Angular, Express, Fastify, FastAPI, ASP.NET Core, React Native, Expo, Android, Swift), sets up an Auth0 account if needed, and routes to the correct SDK setup workflow.
Sets up Neon Auth in Next.js, React SPA, or Node.js apps. Configures auth routes, session management, social providers, and generates UI components.
Share bugs, ideas, or general feedback.
帮用户为项目添加完整的用户认证系统。
问题 1:认证方式
你想用哪种登录方式?
- 邮箱 + 密码(最常见)
- OAuth 社交登录(Google、GitHub 等)
- 两者都要 不确定的话,先用邮箱+密码,后续再加社交登录。
问题 2:是否需要注册页面
需要用户注册页面吗?还是只需要后端认证逻辑?
查看项目结构,确定:
后端:
前端:
安全措施:
测试完整流程:注册 → 登录 → 访问受保护页面 → 登出。
登录功能已添加。测试流程正常。 需要加社交登录或忘记密码功能吗?