بنقرة واحدة
auth
Conventions when no auth provider is bundled. Use when adding authentication or guarding routes.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Conventions when no auth provider is bundled. Use when adding authentication or guarding routes.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Design-token and theming conventions for the Starter — semantic CSS variables in theme.css, Tailwind v4 @theme registration in globals.css, dark mode, and the Figma token-sync flow. Use when extracting repeated design values, adding/editing tokens, theming, or syncing tokens from Figma.
API service layer with ky/apiClient and Next.js API routes with Zod validation. Use when creating services, API endpoints, or HTTP calls.
Project file organization, naming conventions, and import patterns. Use when creating new files, organizing code, or deciding where to place modules.
React component patterns — server vs client components, styling with cn(), props interfaces. Use when creating UI or shared components.
Use before writing or referencing any stack library — fetches version-accurate docs via the context7 MCP server so call signatures, hooks, and APIs match what is installed. Invoke on first usage of any non-none slot library, on any non-trivial Next.js API, or when uncertain whether an API is current.
TanStack Query patterns for data fetching — useQuery, useMutation, query keys, cache invalidation. Use when fetching server data or creating data hooks.
| name | auth |
| description | Conventions when no auth provider is bundled. Use when adding authentication or guarding routes. |
| paths | ["src/lib/auth/**","src/proxy.ts"] |
This project was scaffolded without an auth provider. The proxy still ships, but it allows every route by default. Add an auth provider before exposing protected functionality.
clerk, next-auth, custom-jwtsrc/lib/auth/ and wires the layout providersrc/config/routes.ts to mark which routes are public vs protectedsrc/proxy.ts to enforce the auth check (see proxy skill)isAuthenticated — there is no source of truthsrc/lib/auth/ only — nowhere elseuseAuth() (client) or auth (server) — never import a provider package directlysrc/lib/auth/index.ts