| auth |
|
https://authjs.dev/sitemap.xml |
| middleware.ts |
| middleware.js |
| src/middleware.ts |
| src/middleware.js |
| clerk.config.* |
| app/sign-in/** |
| app/sign-up/** |
| src/app/sign-in/** |
| src/app/sign-up/** |
| app/(auth)/** |
| src/app/(auth)/** |
| auth.config.* |
| auth.ts |
| auth.js |
|
| \bnpm\s+(install|i|add)\s+[^\n]*@clerk/nextjs\b |
| \bpnpm\s+(install|i|add)\s+[^\n]*@clerk/nextjs\b |
| \bbun\s+(install|i|add)\s+[^\n]*@clerk/nextjs\b |
| \byarn\s+add\s+[^\n]*@clerk/nextjs\b |
| \bnpm\s+(install|i|add)\s+[^\n]*@descope/nextjs-sdk\b |
| \bpnpm\s+(install|i|add)\s+[^\n]*@descope/nextjs-sdk\b |
| \bbun\s+(install|i|add)\s+[^\n]*@descope/nextjs-sdk\b |
| \byarn\s+add\s+[^\n]*@descope/nextjs-sdk\b |
| \bnpm\s+(install|i|add)\s+[^\n]*@auth0/nextjs-auth0\b |
| \bpnpm\s+(install|i|add)\s+[^\n]*@auth0/nextjs-auth0\b |
| \bbun\s+(install|i|add)\s+[^\n]*@auth0/nextjs-auth0\b |
| \byarn\s+add\s+[^\n]*@auth0/nextjs-auth0\b |
|
| pattern |
message |
severity |
skipIfFileContains |
upgradeToSkill |
upgradeWhy |
| VERCEL_CLIENT_(ID|SECRET)|vercel.com/oauth/(authorize|access_token|token) |
Hand-rolled Vercel OAuth detected. Use the dedicated Sign in with Vercel skill for OIDC-based Vercel identity. |
recommended |
signInWithVercel|@vercel/auth |
sign-in-with-vercel |
Replace manual Vercel OAuth token exchange with the Sign in with Vercel OIDC provider. |
|
| pattern |
targetSkill |
message |
| VERCEL_CLIENT_(ID|SECRET)|vercel.com/oauth/(authorize|access_token|token) |
sign-in-with-vercel |
Hand-rolled Vercel OAuth detected — loading Sign in with Vercel OIDC guidance. |
|
| pattern |
targetSkill |
message |
| export\s+(default\s+)?function\s+middleware |
routing-middleware |
Auth logic in middleware.ts — loading Routing Middleware guidance for proxy.ts migration in Next.js 16. |
|
| pattern |
targetSkill |
message |
| from\s+[''"](jsonwebtoken)[''"]|require\s*(\s*[''"](jsonwebtoken)[''"]|jwt.sign\s*( |
auth |
Manual JWT handling with jsonwebtoken detected — use Clerk or Auth.js for managed auth with built-in JWT session handling, CSRF protection, and token rotation. |
|
| pattern |
targetSkill |
message |
| from\s+[''"](next-auth)[''"]|NextAuthOptions|authOptions\s*: |
auth |
Legacy next-auth (v4) pattern detected — loading auth guidance for Auth.js v5 migration with the new universal auth() helper. |
|
| pattern |
targetSkill |
message |
| from\s+['"]@clerk/nextjs['"] |
auth |
Clerk import detected — loading Auth guidance for Clerk v7 patterns, middleware setup, organization handling, and Vercel Marketplace integration. |
|
| pattern |
targetSkill |
message |
| bcrypt|argon2 |
auth |
Manual password hashing detected (bcrypt/argon2) — use Clerk or Auth0 for managed authentication with built-in password hashing, rate limiting, and breach detection. |
|
|
| aliases |
intents |
entities |
| authentication |
| login system |
| sign in |
| auth flow |
|
| add auth |
| protect routes |
| manage sessions |
| implement login |
| secure api endpoints |
|
| NextAuth |
| Auth.js |
| JWT |
| OAuth |
| session |
| middleware |
| getServerSession |
|
|
| pattern |
targetSkill |
message |
| VERCEL_CLIENT_(ID|SECRET)|vercel.com/oauth/(authorize|access_token|token) |
sign-in-with-vercel |
Hand-rolled Vercel OAuth detected — loading Sign in with Vercel OIDC guidance. |
|
| pattern |
targetSkill |
message |
| export\s+(default\s+)?function\s+middleware |
routing-middleware |
Auth logic in middleware.ts — loading Routing Middleware guidance for proxy.ts migration in Next.js 16. |
|
| pattern |
targetSkill |
message |
| from\s+[''"](jsonwebtoken)[''"]|require\s*(\s*[''"](jsonwebtoken)[''"]|jwt.sign\s*( |
auth |
Manual JWT handling with jsonwebtoken detected — use Clerk or Auth.js for managed auth with built-in JWT session handling, CSRF protection, and token rotation. |
|
| pattern |
targetSkill |
message |
| from\s+[''"](next-auth)[''"]|NextAuthOptions|authOptions\s*: |
auth |
Legacy next-auth (v4) pattern detected — loading auth guidance for Auth.js v5 migration with the new universal auth() helper. |
|
| pattern |
targetSkill |
message |
skipIfFileContains |
| from\s+['"]@clerk/nextjs['"] |
auth |
Clerk import detected — loading Auth guidance for Clerk v7 patterns, middleware setup, organization handling, and Vercel Marketplace integration. |
clerkMiddleware|ClerkProvider |
|
| pattern |
targetSkill |
message |
skipIfFileContains |
| bcrypt|argon2 |
auth |
Manual password hashing detected (bcrypt/argon2) — use Clerk or Auth0 for managed authentication with built-in password hashing, rate limiting, and breach detection. |
@clerk|@auth0 |
|
|