[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-vercel-nextjs":3,"mdc-uchz7q-key":37,"related-repo-vercel-nextjs":1288,"related-org-vercel-nextjs":1399},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":32,"sourceUrl":35,"mdContent":36},"nextjs","build applications with Next.js App Router","Next.js App Router expert guidance. Use when building, debugging, or architecting Next.js applications — routing, Server Components, Server Actions, Cache Components, layouts, middleware\u002Fproxy, data fetching, rendering strategies, and deployment on Vercel.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"vercel","Vercel","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvercel.png",[12,16,17,20,23],{"name":13,"slug":14,"type":15},"Performance","performance","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Backend","backend",{"name":21,"slug":22,"type":15},"Next.js","next-js",{"name":24,"slug":25,"type":15},"Frontend","frontend",226,"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fvercel-plugin","2026-04-06T18:56:05.293891",null,36,[],{"repoUrl":27,"stars":26,"forks":30,"topics":33,"description":34},[],"Comprehensive Vercel ecosystem plugin — relational knowledge graph, skills for every major product, specialized agents, and Vercel conventions. Turns any AI agent into a Vercel expert.","https:\u002F\u002Fgithub.com\u002Fvercel\u002Fvercel-plugin\u002Ftree\u002FHEAD\u002Fskills\u002Fnextjs","---\nname: nextjs\ndescription: Next.js App Router expert guidance. Use when building, debugging, or architecting Next.js applications — routing, Server Components, Server Actions, Cache Components, layouts, middleware\u002Fproxy, data fetching, rendering strategies, and deployment on Vercel.\nmetadata:\n  priority: 5\n  docs:\n    - \"https:\u002F\u002Fnextjs.org\u002Fdocs\"\n    - \"https:\u002F\u002Fnextjs.org\u002Fdocs\u002Fapp\"\n  sitemap: \"https:\u002F\u002Fnextjs.org\u002Fsitemap.xml\"\n  pathPatterns:\n    - 'next.config.*'\n    - 'next-env.d.ts'\n    - 'app\u002F**'\n    - 'pages\u002F**'\n    - 'src\u002Fapp\u002F**'\n    - 'src\u002Fpages\u002F**'\n    - 'tailwind.config.*'\n    - 'postcss.config.*'\n    - 'tsconfig.json'\n    - 'tsconfig.*.json'\n    - 'apps\u002F*\u002Fapp\u002F**'\n    - 'apps\u002F*\u002Fpages\u002F**'\n    - 'apps\u002F*\u002Fsrc\u002Fapp\u002F**'\n    - 'apps\u002F*\u002Fsrc\u002Fpages\u002F**'\n    - 'apps\u002F*\u002Fnext.config.*'\n  bashPatterns:\n    - '\\bnext\\s+(dev|build|start|lint)\\b'\n    - '\\bnext\\s+experimental-analyze\\b'\n    - '\\bnpx\\s+create-next-app\\b'\n    - '\\bbunx\\s+create-next-app\\b'\n    - '\\bnpm\\s+run\\s+(dev|build|start)\\b'\n    - '\\bpnpm\\s+(dev|build)\\b'\n    - '\\bbun\\s+run\\s+(dev|build)\\b'\n  promptSignals:\n    phrases:\n      - \"next.js\"\n      - \"nextjs\"\n      - \"app router\"\n      - \"server component\"\n      - \"server action\"\n    allOf:\n      - [middleware, next]\n      - [layout, route]\n    anyOf:\n      - \"pages router\"\n      - \"getserversideprops\"\n      - \"use server\"\n    noneOf: []\n    minScore: 6\nvalidate:\n  -\n    pattern: export.*getServerSideProps\n    message: 'getServerSideProps is removed in App Router — use server components or route handlers'\n    severity: error\n    upgradeToSkill: nextjs\n    upgradeWhy: 'Guides migration from Pages Router getServerSideProps to App Router server components with async data fetching.'\n  -\n    pattern: getServerSideProps\n    message: 'getServerSideProps is a Pages Router pattern — migrate to App Router server components'\n    severity: warn\n  -\n    pattern: export.*getStaticProps\n    message: 'getStaticProps is removed in App Router — use generateStaticParams + server components instead'\n    severity: error\n    upgradeToSkill: nextjs\n    upgradeWhy: 'Guides migration from Pages Router getStaticProps to App Router generateStaticParams with server components.'\n  -\n    pattern: getStaticProps\n    message: 'getStaticProps is a Pages Router pattern — migrate to App Router generateStaticParams + server components'\n    severity: warn\n  -\n    pattern: from\\s+['\"]next\u002Frouter['\"]\n    message: 'next\u002Frouter is Pages Router only — use next\u002Fnavigation for App Router'\n    severity: error\n    upgradeToSkill: nextjs\n    upgradeWhy: 'Guides migration from next\u002Frouter to next\u002Fnavigation with useRouter, usePathname, useSearchParams hooks.'\n  -\n    pattern: (useState|useEffect)\n    message: 'React hooks require \"use client\" directive — add it at the top of client components'\n    severity: warn\n    skipIfFileContains: \"^['\\\"]use client['\\\"]\"\n  -\n    pattern: from\\s+['\"]next\u002Fhead['\"]\n    message: 'next\u002Fhead is Pages Router — use export const metadata or generateMetadata() in App Router. Run Skill(nextjs) for metadata API guidance.'\n    severity: error\n    upgradeToSkill: nextjs\n    upgradeWhy: 'Guides migration from next\u002Fhead to the App Router metadata API (export const metadata \u002F generateMetadata()).'\n    skipIfFileContains: export\\s+(const\\s+)?metadata|generateMetadata\n  -\n    pattern: export\\s+(default\\s+)?function\\s+middleware\n    message: 'middleware() is renamed to proxy() in Next.js 16 — rename the function and the file to proxy.ts. Run Skill(routing-middleware) for proxy.ts migration guidance.'\n    severity: recommended\n    upgradeToSkill: routing-middleware\n    upgradeWhy: 'Guides migration from middleware.ts to proxy.ts with correct file placement, runtime config, and request interception patterns.'\n  -\n    pattern: revalidateTag\\(\\s*['\"][^'\"]+['\"]\\s*\\)\n    message: 'Single-arg revalidateTag(tag) is deprecated in Next.js 16 — pass a cacheLife profile: revalidateTag(tag, \"max\")'\n    severity: recommended\n    upgradeToSkill: nextjs\n    upgradeWhy: 'Guides migration from single-arg revalidateTag to the Next.js 16 two-arg API with cacheLife profiles.'\n  -\n    pattern: '\\bcacheHandler\\s*:'\n    message: 'Singular cacheHandler is deprecated in Next.js 16 — use cacheHandlers (plural) with per-type handlers'\n    severity: recommended\n    upgradeToSkill: nextjs\n    upgradeWhy: 'Guides migration from singular cacheHandler to Next.js 16 cacheHandlers (plural) with per-type handler config.'\n  -\n    pattern: useRef\\(\\s*\\)\n    message: 'useRef() requires an initial value in React 19 — use useRef(null) or useRef(0)'\n    severity: error\n  -\n    pattern: next\\s+export\n    message: 'next export was removed — use output: \"export\" in next.config.js for static export'\n    severity: error\n    upgradeToSkill: nextjs\n    upgradeWhy: 'Guides migration from next export CLI command to output: \"export\" in next.config for static site generation.'\n  -\n    pattern: (?\u003C!await )\\bcookies\\(\\s*\\)\n    message: 'cookies() is async in Next.js 16 — add await: const cookieStore = await cookies()'\n    severity: error\n    skipIfFileContains: \"^['\\\"]use client['\\\"]\"\n  -\n    pattern: (?\u003C!await )\\bheaders\\(\\s*\\)\n    message: 'headers() is async in Next.js 16 — add await: const headersList = await headers()'\n    severity: error\n    skipIfFileContains: \"^['\\\"]use client['\\\"]\"\n  -\n    pattern: =\\s*(?!await\\b)params\\b\n    message: 'params is async in Next.js 16 — add await: const { slug } = await params'\n    severity: recommended\n    skipIfFileContains: \"^['\\\"]use client['\\\"]\"\n  -\n    pattern: =\\s*(?!await\\b)searchParams\\b\n    message: 'searchParams is async in Next.js 16 — add await: const { query } = await searchParams'\n    severity: recommended\n    skipIfFileContains: \"^['\\\"]use client['\\\"]\"\n  -\n    pattern: 'from\\s+[''\"\"](next-auth|@auth\u002Fcore)[''\"\"]|NextAuth\\(|getServerSession\\('\n    message: 'Legacy auth pattern detected. Modern Vercel apps should use Clerk, Descope, or Auth0 for managed authentication.'\n    severity: recommended\n    upgradeToSkill: auth\n    upgradeWhy: 'Migrate from next-auth\u002Fmanual JWT to a managed auth provider (Clerk, Descope, Auth0) for better Vercel integration.'\n    skipIfFileContains: '@clerk\u002F|@descope\u002F|@auth0\u002F'\n  -\n    pattern: 'NextApiRequest|NextApiResponse|export\\s+default\\s+function\\s+handler'\n    message: 'Pages Router API handler detected. Use App Router route handlers with named HTTP exports instead.'\n    severity: recommended\n    upgradeToSkill: vercel-functions\n    upgradeWhy: 'Migrate from Pages Router API routes to App Router route handlers with Web Request\u002FResponse API.'\n    skipIfFileContains: 'export\\s+(async\\s+)?function\\s+(GET|POST|PUT|PATCH|DELETE)'\n  -\n    pattern: 'from\\s+[''\"\"](lru-cache|node-cache|memory-cache)[''\"\"]|new\\s+(LRUCache|NodeCache)\\('\n    message: 'In-process cache detected. Serverless deployments lose process memory between invocations.'\n    severity: recommended\n    upgradeToSkill: runtime-cache\n    upgradeWhy: 'Replace process-memory caches with Vercel Runtime Cache for shared, region-aware caching.'\n  -\n    pattern: 'from\\s+[''\"\"](express|fastify|koa|hapi)[''\"\"]|require\\s*\\(\\s*[''\"\"](express|fastify|koa|hapi)[''\"\"]'\n    message: 'Express\u002FFastify\u002FKoa\u002FHapi server framework detected in a Next.js project. Use Next.js route handlers or proxy.ts for request handling instead.'\n    severity: recommended\n    upgradeToSkill: routing-middleware\n    upgradeWhy: 'Replace custom server frameworks with Next.js proxy.ts for request interception and route handlers for API endpoints.'\n    skipIfFileContains: 'proxy\\.ts|from\\s+[''\"\"](next\u002Fserver)[''\"\"]|@vercel\u002Ffunctions'\n  -\n    pattern: 'from\\s+[''\"\"](typeorm|sequelize|mikro-orm|objection|bookshelf|knex)[''\"\"]|require\\s*\\(\\s*[''\"\"](typeorm|sequelize|mikro-orm|objection|bookshelf|knex)[''\"\"]'\n    message: 'Heavy ORM detected. Consider using lightweight serverless-native alternatives like Drizzle, Prisma, or direct Neon for better cold start performance.'\n    severity: recommended\n    upgradeToSkill: vercel-storage\n    upgradeWhy: 'Migrate from heavy ORMs to serverless-native database clients (Drizzle + Neon, Prisma, or @neondatabase\u002Fserverless) for faster cold starts.'\n    skipIfFileContains: 'from\\s+[''\"\"](drizzle-orm|@neondatabase|@prisma\u002Fclient|prisma)[''\"\"]'\n  -\n    pattern: 'fonts\\.googleapis\\.com|from\\s+[''\"\"](fontsource|@fontsource)[''\"\"]|\u003Clink[^>]*fonts\\.googleapis'\n    message: 'External font loader detected. Use next\u002Ffont for zero-CLS, self-hosted font loading with automatic optimization.'\n    severity: recommended\n    upgradeToSkill: nextjs\n    upgradeWhy: 'Guides migration from external font loaders to next\u002Ffont with Geist Sans\u002FMono for zero-CLS font optimization.'\n    skipIfFileContains: 'next\u002Ffont'\nchainTo:\n  -\n    pattern: 'export\\s+(default\\s+)?function\\s+middleware'\n    targetSkill: routing-middleware\n    message: 'middleware() is renamed to proxy() in Next.js 16 — loading Routing Middleware guidance for proxy.ts migration.'\n  -\n    pattern: \"from\\\\s+['\\\"]@vercel\u002F(postgres|kv)['\\\"]\"\n    targetSkill: vercel-storage\n    message: 'Sunset storage package detected — loading Vercel Storage guidance for Neon\u002FUpstash migration.'\n  -\n    pattern: \"from\\\\s+['\\\"]@ai-sdk\u002F(anthropic|openai)['\\\"]\"\n    targetSkill: ai-gateway\n    message: 'Direct AI provider SDK import — loading AI Gateway guidance for unified model routing with failover and cost tracking.'\n  -\n    pattern: 'from\\s+[''\"\"](next-auth|@auth\u002Fcore)[''\"\"]|NextAuth\\(|getServerSession\\('\n    targetSkill: auth\n    message: 'Legacy auth pattern detected — loading managed authentication guidance (Clerk, Descope, Auth0).'\n  -\n    pattern: 'NextApiRequest|NextApiResponse|export\\s+default\\s+function\\s+handler'\n    targetSkill: vercel-functions\n    message: 'Pages Router API handler detected — loading Vercel Functions guidance for App Router migration.'\n  -\n    pattern: 'from\\s+[''\"\"](lru-cache|node-cache|memory-cache)[''\"\"]|new\\s+(LRUCache|NodeCache)\\('\n    targetSkill: runtime-cache\n    message: 'In-process cache detected — loading Runtime Cache guidance for serverless-compatible caching.'\n  -\n    pattern: 'fetch\\s*\\(\\s*[''\"\"](https?:\u002F\u002F)?(api\\.openai\\.com|api\\.anthropic\\.com|api\\.cohere\\.ai)'\n    targetSkill: ai-gateway\n    message: 'Raw AI provider fetch URL detected — loading AI Gateway guidance for unified routing, failover, and OIDC auth.'\n    skipIfFileContains: '@ai-sdk\u002F|from\\s+[''\"\"](ai)[''\"\"]|ai-gateway|gateway\\('\n  -\n    pattern: 'jwt\\.(sign|verify|decode)\\(|from\\s+[''\"\"](jsonwebtoken)[''\"\"]|new\\s+SignJWT\\(|jwtVerify\\('\n    targetSkill: auth\n    message: 'Manual JWT token handling detected — loading Auth guidance for managed authentication (Clerk, Descope, Auth0).'\n    skipIfFileContains: 'clerkMiddleware|@clerk\u002F|@auth0\u002F|@descope\u002F|from\\s+[''\"\"](next-auth)[''\"\"]'\n  -\n    pattern: 'from\\s+[''\"]@\u002Fcomponents\u002Fui\u002F|from\\s+[''\"]@\u002Fcomponents\u002Fui[''\"\"]'\n    targetSkill: shadcn\n    message: 'shadcn\u002Fui component imports detected — loading shadcn guidance for component composition, theming, and registry patterns.'\n    skipIfFileContains: 'shadcn|components\\.json'\n  -\n    pattern: 'from\\s+[''\"\"](styled-components|@emotion\u002F(react|styled)|@mui\u002Fmaterial)[''\"\"]'\n    targetSkill: shadcn\n    message: 'CSS-in-JS library detected — loading shadcn\u002Fui guidance for Tailwind CSS + Radix UI component patterns (Vercel recommended).'\n    skipIfFileContains: '@\u002Fcomponents\u002Fui|shadcn'\n  -\n    pattern: 'getInitialProps'\n    targetSkill: nextjs\n    message: 'getInitialProps is a legacy Pages Router pattern — loading Next.js guidance for App Router migration with server components and async data fetching.'\n    skipIfFileContains: 'app\u002F.*page\\.|generateStaticParams|use cache'\n  -\n    pattern: 'export.*getServerSideProps|getServerSideProps\\s*\\('\n    targetSkill: nextjs\n    message: 'getServerSideProps is a Pages Router pattern — loading Next.js guidance for App Router migration with server components and async data fetching.'\n    skipIfFileContains: 'generateStaticParams|use cache|app\u002F.*page\\.'\n  -\n    pattern: 'export.*getStaticProps|getStaticProps\\s*\\('\n    targetSkill: nextjs\n    message: 'getStaticProps is a Pages Router pattern — loading Next.js guidance for App Router migration with generateStaticParams and server components.'\n    skipIfFileContains: 'generateStaticParams|use cache|app\u002F.*page\\.'\n  -\n    pattern: '_app\\.(tsx?|jsx?)'\n    targetSkill: nextjs\n    message: '_app.tsx is a Pages Router pattern — loading Next.js guidance for App Router layout.tsx migration.'\n    skipIfFileContains: 'app\u002Flayout\\.|app\u002F.*layout\\.'\n  -\n    pattern: '_document\\.(tsx?|jsx?)'\n    targetSkill: nextjs\n    message: '_document.tsx is a Pages Router pattern — loading Next.js guidance for App Router layout.tsx with metadata API migration.'\n    skipIfFileContains: 'app\u002Flayout\\.|app\u002F.*layout\\.'\n  -\n    pattern: \"from\\\\s+['\\\"]next\u002Fdocument['\\\"]\"\n    targetSkill: nextjs\n    message: 'next\u002Fdocument is Pages Router only — loading Next.js guidance for App Router layout.tsx with html\u002Fbody structure.'\n    skipIfFileContains: 'app\u002Flayout\\.|app\u002F.*layout\\.'\n  -\n    pattern: 'pages\u002Fapi\u002F'\n    targetSkill: vercel-functions\n    message: 'Pages Router API route (pages\u002Fapi\u002F) detected — loading Vercel Functions guidance for App Router route handlers with named HTTP exports.'\n    skipIfFileContains: 'export\\s+(async\\s+)?function\\s+(GET|POST|PUT|PATCH|DELETE)'\nretrieval:\n  aliases:\n    - next.js\n    - nextjs app\n    - react framework\n    - app router\n  intents:\n    - set up routing and layouts in a Next.js app\n    - choose between server and client components for a feature\n    - configure data fetching or caching in App Router\n    - add middleware or proxy logic to handle requests\n    - set up server rendering for React pages\n    - add a new page with dynamic route segments\n  entities:\n    - App Router\n    - Server Components\n    - Server Actions\n    - generateMetadata\n    - layout\n    - proxy\n    - next.config\n  examples:\n    - add a new page with dynamic routing\n    - should this be a server or client component\n    - set up middleware for auth redirects\n    - configure caching for this data fetch\n    - set up server rendering for my pages\n\n---\n\n# Next.js Best Practices\n\nApply these rules when writing or reviewing Next.js code.\n\n## File Conventions\n\nSee [file-conventions.md](.\u002Ffile-conventions.md) for:\n- Project structure and special files\n- Route segments (dynamic, catch-all, groups)\n- Parallel and intercepting routes\n- Middleware rename in v16 (middleware → proxy)\n\n## RSC Boundaries\n\nDetect invalid React Server Component patterns.\n\nSee [rsc-boundaries.md](.\u002Frsc-boundaries.md) for:\n- Async client component detection (invalid)\n- Non-serializable props detection\n- Server Action exceptions\n\n## Async Patterns\n\nNext.js 15+ async API changes.\n\nSee [async-patterns.md](.\u002Fasync-patterns.md) for:\n- Async `params` and `searchParams`\n- Async `cookies()` and `headers()`\n- Migration codemod\n\n## Runtime Selection\n\nSee [runtime-selection.md](.\u002Fruntime-selection.md) for:\n- Default to Node.js runtime\n- When Edge runtime is appropriate\n\n## Directives\n\nSee [directives.md](.\u002Fdirectives.md) for:\n- `'use client'`, `'use server'` (React)\n- `'use cache'` (Next.js)\n\n## Functions\n\nSee [functions.md](.\u002Ffunctions.md) for:\n- Navigation hooks: `useRouter`, `usePathname`, `useSearchParams`, `useParams`\n- Server functions: `cookies`, `headers`, `draftMode`, `after`\n- Generate functions: `generateStaticParams`, `generateMetadata`\n\n## Error Handling\n\nSee [error-handling.md](.\u002Ferror-handling.md) for:\n- `error.tsx`, `global-error.tsx`, `not-found.tsx`\n- `redirect`, `permanentRedirect`, `notFound`\n- `forbidden`, `unauthorized` (auth errors)\n- `unstable_rethrow` for catch blocks\n\n## Data Patterns\n\nSee [data-patterns.md](.\u002Fdata-patterns.md) for:\n- Server Components vs Server Actions vs Route Handlers\n- Avoiding data waterfalls (`Promise.all`, Suspense, preload)\n- Client component data fetching\n\n## Route Handlers\n\nSee [route-handlers.md](.\u002Froute-handlers.md) for:\n- `route.ts` basics\n- GET handler conflicts with `page.tsx`\n- Environment behavior (no React DOM)\n- When to use vs Server Actions\n\n## Metadata & OG Images\n\nSee [metadata.md](.\u002Fmetadata.md) for:\n- Static and dynamic metadata\n- `generateMetadata` function\n- OG image generation with `next\u002Fog`\n- File-based metadata conventions\n\n## Image Optimization\n\nSee [image.md](.\u002Fimage.md) for:\n- Always use `next\u002Fimage` over `\u003Cimg>`\n- Remote images configuration\n- Responsive `sizes` attribute\n- Blur placeholders\n- Priority loading for LCP\n\n## Font Optimization\n\nSee [font.md](.\u002Ffont.md) for:\n- `next\u002Ffont` setup\n- Google Fonts, local fonts\n- Tailwind CSS integration\n- Preloading subsets\n\n## Bundling\n\nSee [bundling.md](.\u002Fbundling.md) for:\n- Server-incompatible packages\n- CSS imports (not link tags)\n- Polyfills (already included)\n- ESM\u002FCommonJS issues\n- Bundle analysis\n\n## Scripts\n\nSee [scripts.md](.\u002Fscripts.md) for:\n- `next\u002Fscript` vs native script tags\n- Inline scripts need `id`\n- Loading strategies\n- Google Analytics with `@next\u002Fthird-parties`\n\n## Hydration Errors\n\nSee [hydration-error.md](.\u002Fhydration-error.md) for:\n- Common causes (browser APIs, dates, invalid HTML)\n- Debugging with error overlay\n- Fixes for each cause\n\n## Suspense Boundaries\n\nSee [suspense-boundaries.md](.\u002Fsuspense-boundaries.md) for:\n- CSR bailout with `useSearchParams` and `usePathname`\n- Which hooks require Suspense boundaries\n\n## Parallel & Intercepting Routes\n\nSee [parallel-routes.md](.\u002Fparallel-routes.md) for:\n- Modal patterns with `@slot` and `(.)` interceptors\n- `default.tsx` for fallbacks\n- Closing modals correctly with `router.back()`\n\n## Self-Hosting\n\nSee [self-hosting.md](.\u002Fself-hosting.md) for:\n- `output: 'standalone'` for Docker\n- Cache handlers for multi-instance ISR\n- What works vs needs extra setup\n\n## Debug Tricks\n\nSee [debug-tricks.md](.\u002Fdebug-tricks.md) for:\n- MCP endpoint for AI-assisted debugging\n- Rebuild specific routes with `--debug-build-paths`\n\n",{"data":38,"body":265},{"name":4,"description":6,"metadata":39,"validate":88,"chainTo":184,"retrieval":241},{"priority":40,"docs":41,"sitemap":44,"pathPatterns":45,"bashPatterns":61,"promptSignals":69},5,[42,43],"https:\u002F\u002Fnextjs.org\u002Fdocs","https:\u002F\u002Fnextjs.org\u002Fdocs\u002Fapp","https:\u002F\u002Fnextjs.org\u002Fsitemap.xml",[46,47,48,49,50,51,52,53,54,55,56,57,58,59,60],"next.config.*","next-env.d.ts","app\u002F**","pages\u002F**","src\u002Fapp\u002F**","src\u002Fpages\u002F**","tailwind.config.*","postcss.config.*","tsconfig.json","tsconfig.*.json","apps\u002F*\u002Fapp\u002F**","apps\u002F*\u002Fpages\u002F**","apps\u002F*\u002Fsrc\u002Fapp\u002F**","apps\u002F*\u002Fsrc\u002Fpages\u002F**","apps\u002F*\u002Fnext.config.*",[62,63,64,65,66,67,68],"\\bnext\\s+(dev|build|start|lint)\\b","\\bnext\\s+experimental-analyze\\b","\\bnpx\\s+create-next-app\\b","\\bbunx\\s+create-next-app\\b","\\bnpm\\s+run\\s+(dev|build|start)\\b","\\bpnpm\\s+(dev|build)\\b","\\bbun\\s+run\\s+(dev|build)\\b",{"phrases":70,"allOf":75,"anyOf":82,"noneOf":86,"minScore":87},[71,4,72,73,74],"next.js","app router","server component","server action",[76,79],[77,78],"middleware","next",[80,81],"layout","route",[83,84,85],"pages router","getserversideprops","use server",[],6,[89,94,98,102,105,109,113,118,124,128,132,135,139,142,145,148,151,157,163,168,173,179],{"pattern":90,"message":91,"severity":92,"upgradeToSkill":4,"upgradeWhy":93},"export.*getServerSideProps","getServerSideProps is removed in App Router — use server components or route handlers","error","Guides migration from Pages Router getServerSideProps to App Router server components with async data fetching.",{"pattern":95,"message":96,"severity":97},"getServerSideProps","getServerSideProps is a Pages Router pattern — migrate to App Router server components","warn",{"pattern":99,"message":100,"severity":92,"upgradeToSkill":4,"upgradeWhy":101},"export.*getStaticProps","getStaticProps is removed in App Router — use generateStaticParams + server components instead","Guides migration from Pages Router getStaticProps to App Router generateStaticParams with server components.",{"pattern":103,"message":104,"severity":97},"getStaticProps","getStaticProps is a Pages Router pattern — migrate to App Router generateStaticParams + server components",{"pattern":106,"message":107,"severity":92,"upgradeToSkill":4,"upgradeWhy":108},"from\\s+['\"]next\u002Frouter['\"]","next\u002Frouter is Pages Router only — use next\u002Fnavigation for App Router","Guides migration from next\u002Frouter to next\u002Fnavigation with useRouter, usePathname, useSearchParams hooks.",{"pattern":110,"message":111,"severity":97,"skipIfFileContains":112},"(useState|useEffect)","React hooks require \"use client\" directive — add it at the top of client components","^['\"]use client['\"]",{"pattern":114,"message":115,"severity":92,"upgradeToSkill":4,"upgradeWhy":116,"skipIfFileContains":117},"from\\s+['\"]next\u002Fhead['\"]","next\u002Fhead is Pages Router — use export const metadata or generateMetadata() in App Router. Run Skill(nextjs) for metadata API guidance.","Guides migration from next\u002Fhead to the App Router metadata API (export const metadata \u002F generateMetadata()).","export\\s+(const\\s+)?metadata|generateMetadata",{"pattern":119,"message":120,"severity":121,"upgradeToSkill":122,"upgradeWhy":123},"export\\s+(default\\s+)?function\\s+middleware","middleware() is renamed to proxy() in Next.js 16 — rename the function and the file to proxy.ts. Run Skill(routing-middleware) for proxy.ts migration guidance.","recommended","routing-middleware","Guides migration from middleware.ts to proxy.ts with correct file placement, runtime config, and request interception patterns.",{"pattern":125,"message":126,"severity":121,"upgradeToSkill":4,"upgradeWhy":127},"revalidateTag\\(\\s*['\"][^'\"]+['\"]\\s*\\)","Single-arg revalidateTag(tag) is deprecated in Next.js 16 — pass a cacheLife profile: revalidateTag(tag, \"max\")","Guides migration from single-arg revalidateTag to the Next.js 16 two-arg API with cacheLife profiles.",{"pattern":129,"message":130,"severity":121,"upgradeToSkill":4,"upgradeWhy":131},"\\bcacheHandler\\s*:","Singular cacheHandler is deprecated in Next.js 16 — use cacheHandlers (plural) with per-type handlers","Guides migration from singular cacheHandler to Next.js 16 cacheHandlers (plural) with per-type handler config.",{"pattern":133,"message":134,"severity":92},"useRef\\(\\s*\\)","useRef() requires an initial value in React 19 — use useRef(null) or useRef(0)",{"pattern":136,"message":137,"severity":92,"upgradeToSkill":4,"upgradeWhy":138},"next\\s+export","next export was removed — use output: \"export\" in next.config.js for static export","Guides migration from next export CLI command to output: \"export\" in next.config for static site generation.",{"pattern":140,"message":141,"severity":92,"skipIfFileContains":112},"(?\u003C!await )\\bcookies\\(\\s*\\)","cookies() is async in Next.js 16 — add await: const cookieStore = await cookies()",{"pattern":143,"message":144,"severity":92,"skipIfFileContains":112},"(?\u003C!await )\\bheaders\\(\\s*\\)","headers() is async in Next.js 16 — add await: const headersList = await headers()",{"pattern":146,"message":147,"severity":121,"skipIfFileContains":112},"=\\s*(?!await\\b)params\\b","params is async in Next.js 16 — add await: const { slug } = await params",{"pattern":149,"message":150,"severity":121,"skipIfFileContains":112},"=\\s*(?!await\\b)searchParams\\b","searchParams is async in Next.js 16 — add await: const { query } = await searchParams",{"pattern":152,"message":153,"severity":121,"upgradeToSkill":154,"upgradeWhy":155,"skipIfFileContains":156},"from\\s+['\"\"](next-auth|@auth\u002Fcore)['\"\"]|NextAuth\\(|getServerSession\\(","Legacy auth pattern detected. Modern Vercel apps should use Clerk, Descope, or Auth0 for managed authentication.","auth","Migrate from next-auth\u002Fmanual JWT to a managed auth provider (Clerk, Descope, Auth0) for better Vercel integration.","@clerk\u002F|@descope\u002F|@auth0\u002F",{"pattern":158,"message":159,"severity":121,"upgradeToSkill":160,"upgradeWhy":161,"skipIfFileContains":162},"NextApiRequest|NextApiResponse|export\\s+default\\s+function\\s+handler","Pages Router API handler detected. Use App Router route handlers with named HTTP exports instead.","vercel-functions","Migrate from Pages Router API routes to App Router route handlers with Web Request\u002FResponse API.","export\\s+(async\\s+)?function\\s+(GET|POST|PUT|PATCH|DELETE)",{"pattern":164,"message":165,"severity":121,"upgradeToSkill":166,"upgradeWhy":167},"from\\s+['\"\"](lru-cache|node-cache|memory-cache)['\"\"]|new\\s+(LRUCache|NodeCache)\\(","In-process cache detected. Serverless deployments lose process memory between invocations.","runtime-cache","Replace process-memory caches with Vercel Runtime Cache for shared, region-aware caching.",{"pattern":169,"message":170,"severity":121,"upgradeToSkill":122,"upgradeWhy":171,"skipIfFileContains":172},"from\\s+['\"\"](express|fastify|koa|hapi)['\"\"]|require\\s*\\(\\s*['\"\"](express|fastify|koa|hapi)['\"\"]","Express\u002FFastify\u002FKoa\u002FHapi server framework detected in a Next.js project. Use Next.js route handlers or proxy.ts for request handling instead.","Replace custom server frameworks with Next.js proxy.ts for request interception and route handlers for API endpoints.","proxy\\.ts|from\\s+['\"\"](next\u002Fserver)['\"\"]|@vercel\u002Ffunctions",{"pattern":174,"message":175,"severity":121,"upgradeToSkill":176,"upgradeWhy":177,"skipIfFileContains":178},"from\\s+['\"\"](typeorm|sequelize|mikro-orm|objection|bookshelf|knex)['\"\"]|require\\s*\\(\\s*['\"\"](typeorm|sequelize|mikro-orm|objection|bookshelf|knex)['\"\"]","Heavy ORM detected. Consider using lightweight serverless-native alternatives like Drizzle, Prisma, or direct Neon for better cold start performance.","vercel-storage","Migrate from heavy ORMs to serverless-native database clients (Drizzle + Neon, Prisma, or @neondatabase\u002Fserverless) for faster cold starts.","from\\s+['\"\"](drizzle-orm|@neondatabase|@prisma\u002Fclient|prisma)['\"\"]",{"pattern":180,"message":181,"severity":121,"upgradeToSkill":4,"upgradeWhy":182,"skipIfFileContains":183},"fonts\\.googleapis\\.com|from\\s+['\"\"](fontsource|@fontsource)['\"\"]|\u003Clink[^>]*fonts\\.googleapis","External font loader detected. Use next\u002Ffont for zero-CLS, self-hosted font loading with automatic optimization.","Guides migration from external font loaders to next\u002Ffont with Geist Sans\u002FMono for zero-CLS font optimization.","next\u002Ffont",[185,187,190,194,196,198,200,204,208,213,217,221,225,228,232,235,238],{"pattern":119,"targetSkill":122,"message":186},"middleware() is renamed to proxy() in Next.js 16 — loading Routing Middleware guidance for proxy.ts migration.",{"pattern":188,"targetSkill":176,"message":189},"from\\s+['\"]@vercel\u002F(postgres|kv)['\"]","Sunset storage package detected — loading Vercel Storage guidance for Neon\u002FUpstash migration.",{"pattern":191,"targetSkill":192,"message":193},"from\\s+['\"]@ai-sdk\u002F(anthropic|openai)['\"]","ai-gateway","Direct AI provider SDK import — loading AI Gateway guidance for unified model routing with failover and cost tracking.",{"pattern":152,"targetSkill":154,"message":195},"Legacy auth pattern detected — loading managed authentication guidance (Clerk, Descope, Auth0).",{"pattern":158,"targetSkill":160,"message":197},"Pages Router API handler detected — loading Vercel Functions guidance for App Router migration.",{"pattern":164,"targetSkill":166,"message":199},"In-process cache detected — loading Runtime Cache guidance for serverless-compatible caching.",{"pattern":201,"targetSkill":192,"message":202,"skipIfFileContains":203},"fetch\\s*\\(\\s*['\"\"](https?:\u002F\u002F)?(api\\.openai\\.com|api\\.anthropic\\.com|api\\.cohere\\.ai)","Raw AI provider fetch URL detected — loading AI Gateway guidance for unified routing, failover, and OIDC auth.","@ai-sdk\u002F|from\\s+['\"\"](ai)['\"\"]|ai-gateway|gateway\\(",{"pattern":205,"targetSkill":154,"message":206,"skipIfFileContains":207},"jwt\\.(sign|verify|decode)\\(|from\\s+['\"\"](jsonwebtoken)['\"\"]|new\\s+SignJWT\\(|jwtVerify\\(","Manual JWT token handling detected — loading Auth guidance for managed authentication (Clerk, Descope, Auth0).","clerkMiddleware|@clerk\u002F|@auth0\u002F|@descope\u002F|from\\s+['\"\"](next-auth)['\"\"]",{"pattern":209,"targetSkill":210,"message":211,"skipIfFileContains":212},"from\\s+['\"]@\u002Fcomponents\u002Fui\u002F|from\\s+['\"]@\u002Fcomponents\u002Fui['\"\"]","shadcn","shadcn\u002Fui component imports detected — loading shadcn guidance for component composition, theming, and registry patterns.","shadcn|components\\.json",{"pattern":214,"targetSkill":210,"message":215,"skipIfFileContains":216},"from\\s+['\"\"](styled-components|@emotion\u002F(react|styled)|@mui\u002Fmaterial)['\"\"]","CSS-in-JS library detected — loading shadcn\u002Fui guidance for Tailwind CSS + Radix UI component patterns (Vercel recommended).","@\u002Fcomponents\u002Fui|shadcn",{"pattern":218,"targetSkill":4,"message":219,"skipIfFileContains":220},"getInitialProps","getInitialProps is a legacy Pages Router pattern — loading Next.js guidance for App Router migration with server components and async data fetching.","app\u002F.*page\\.|generateStaticParams|use cache",{"pattern":222,"targetSkill":4,"message":223,"skipIfFileContains":224},"export.*getServerSideProps|getServerSideProps\\s*\\(","getServerSideProps is a Pages Router pattern — loading Next.js guidance for App Router migration with server components and async data fetching.","generateStaticParams|use cache|app\u002F.*page\\.",{"pattern":226,"targetSkill":4,"message":227,"skipIfFileContains":224},"export.*getStaticProps|getStaticProps\\s*\\(","getStaticProps is a Pages Router pattern — loading Next.js guidance for App Router migration with generateStaticParams and server components.",{"pattern":229,"targetSkill":4,"message":230,"skipIfFileContains":231},"_app\\.(tsx?|jsx?)","_app.tsx is a Pages Router pattern — loading Next.js guidance for App Router layout.tsx migration.","app\u002Flayout\\.|app\u002F.*layout\\.",{"pattern":233,"targetSkill":4,"message":234,"skipIfFileContains":231},"_document\\.(tsx?|jsx?)","_document.tsx is a Pages Router pattern — loading Next.js guidance for App Router layout.tsx with metadata API migration.",{"pattern":236,"targetSkill":4,"message":237,"skipIfFileContains":231},"from\\s+['\"]next\u002Fdocument['\"]","next\u002Fdocument is Pages Router only — loading Next.js guidance for App Router layout.tsx with html\u002Fbody structure.",{"pattern":239,"targetSkill":160,"message":240,"skipIfFileContains":162},"pages\u002Fapi\u002F","Pages Router API route (pages\u002Fapi\u002F) detected — loading Vercel Functions guidance for App Router route handlers with named HTTP exports.",{"aliases":242,"intents":245,"entities":252,"examples":259},[71,243,244,72],"nextjs app","react framework",[246,247,248,249,250,251],"set up routing and layouts in a Next.js app","choose between server and client components for a feature","configure data fetching or caching in App Router","add middleware or proxy logic to handle requests","set up server rendering for React pages","add a new page with dynamic route segments",[253,254,255,256,80,257,258],"App Router","Server Components","Server Actions","generateMetadata","proxy","next.config",[260,261,262,263,264],"add a new page with dynamic routing","should this be a server or client component","set up middleware for auth redirects","configure caching for this data fetch","set up server rendering for my pages",{"type":266,"children":267},"root",[268,277,283,290,304,329,335,340,351,369,375,380,391,436,442,453,466,472,483,516,522,533,617,623,634,712,718,729,755,761,772,807,813,824,858,864,875,925,931,942,970,976,987,1015,1021,1032,1073,1079,1090,1108,1114,1125,1149,1155,1166,1211,1217,1228,1252,1258,1269],{"type":269,"tag":270,"props":271,"children":273},"element","h1",{"id":272},"nextjs-best-practices",[274],{"type":275,"value":276},"text","Next.js Best Practices",{"type":269,"tag":278,"props":279,"children":280},"p",{},[281],{"type":275,"value":282},"Apply these rules when writing or reviewing Next.js code.",{"type":269,"tag":284,"props":285,"children":287},"h2",{"id":286},"file-conventions",[288],{"type":275,"value":289},"File Conventions",{"type":269,"tag":278,"props":291,"children":292},{},[293,295,302],{"type":275,"value":294},"See ",{"type":269,"tag":296,"props":297,"children":299},"a",{"href":298},".\u002Ffile-conventions.md",[300],{"type":275,"value":301},"file-conventions.md",{"type":275,"value":303}," for:",{"type":269,"tag":305,"props":306,"children":307},"ul",{},[308,314,319,324],{"type":269,"tag":309,"props":310,"children":311},"li",{},[312],{"type":275,"value":313},"Project structure and special files",{"type":269,"tag":309,"props":315,"children":316},{},[317],{"type":275,"value":318},"Route segments (dynamic, catch-all, groups)",{"type":269,"tag":309,"props":320,"children":321},{},[322],{"type":275,"value":323},"Parallel and intercepting routes",{"type":269,"tag":309,"props":325,"children":326},{},[327],{"type":275,"value":328},"Middleware rename in v16 (middleware → proxy)",{"type":269,"tag":284,"props":330,"children":332},{"id":331},"rsc-boundaries",[333],{"type":275,"value":334},"RSC Boundaries",{"type":269,"tag":278,"props":336,"children":337},{},[338],{"type":275,"value":339},"Detect invalid React Server Component patterns.",{"type":269,"tag":278,"props":341,"children":342},{},[343,344,350],{"type":275,"value":294},{"type":269,"tag":296,"props":345,"children":347},{"href":346},".\u002Frsc-boundaries.md",[348],{"type":275,"value":349},"rsc-boundaries.md",{"type":275,"value":303},{"type":269,"tag":305,"props":352,"children":353},{},[354,359,364],{"type":269,"tag":309,"props":355,"children":356},{},[357],{"type":275,"value":358},"Async client component detection (invalid)",{"type":269,"tag":309,"props":360,"children":361},{},[362],{"type":275,"value":363},"Non-serializable props detection",{"type":269,"tag":309,"props":365,"children":366},{},[367],{"type":275,"value":368},"Server Action exceptions",{"type":269,"tag":284,"props":370,"children":372},{"id":371},"async-patterns",[373],{"type":275,"value":374},"Async Patterns",{"type":269,"tag":278,"props":376,"children":377},{},[378],{"type":275,"value":379},"Next.js 15+ async API changes.",{"type":269,"tag":278,"props":381,"children":382},{},[383,384,390],{"type":275,"value":294},{"type":269,"tag":296,"props":385,"children":387},{"href":386},".\u002Fasync-patterns.md",[388],{"type":275,"value":389},"async-patterns.md",{"type":275,"value":303},{"type":269,"tag":305,"props":392,"children":393},{},[394,414,431],{"type":269,"tag":309,"props":395,"children":396},{},[397,399,406,408],{"type":275,"value":398},"Async ",{"type":269,"tag":400,"props":401,"children":403},"code",{"className":402},[],[404],{"type":275,"value":405},"params",{"type":275,"value":407}," and ",{"type":269,"tag":400,"props":409,"children":411},{"className":410},[],[412],{"type":275,"value":413},"searchParams",{"type":269,"tag":309,"props":415,"children":416},{},[417,418,424,425],{"type":275,"value":398},{"type":269,"tag":400,"props":419,"children":421},{"className":420},[],[422],{"type":275,"value":423},"cookies()",{"type":275,"value":407},{"type":269,"tag":400,"props":426,"children":428},{"className":427},[],[429],{"type":275,"value":430},"headers()",{"type":269,"tag":309,"props":432,"children":433},{},[434],{"type":275,"value":435},"Migration codemod",{"type":269,"tag":284,"props":437,"children":439},{"id":438},"runtime-selection",[440],{"type":275,"value":441},"Runtime Selection",{"type":269,"tag":278,"props":443,"children":444},{},[445,446,452],{"type":275,"value":294},{"type":269,"tag":296,"props":447,"children":449},{"href":448},".\u002Fruntime-selection.md",[450],{"type":275,"value":451},"runtime-selection.md",{"type":275,"value":303},{"type":269,"tag":305,"props":454,"children":455},{},[456,461],{"type":269,"tag":309,"props":457,"children":458},{},[459],{"type":275,"value":460},"Default to Node.js runtime",{"type":269,"tag":309,"props":462,"children":463},{},[464],{"type":275,"value":465},"When Edge runtime is appropriate",{"type":269,"tag":284,"props":467,"children":469},{"id":468},"directives",[470],{"type":275,"value":471},"Directives",{"type":269,"tag":278,"props":473,"children":474},{},[475,476,482],{"type":275,"value":294},{"type":269,"tag":296,"props":477,"children":479},{"href":478},".\u002Fdirectives.md",[480],{"type":275,"value":481},"directives.md",{"type":275,"value":303},{"type":269,"tag":305,"props":484,"children":485},{},[486,505],{"type":269,"tag":309,"props":487,"children":488},{},[489,495,497,503],{"type":269,"tag":400,"props":490,"children":492},{"className":491},[],[493],{"type":275,"value":494},"'use client'",{"type":275,"value":496},", ",{"type":269,"tag":400,"props":498,"children":500},{"className":499},[],[501],{"type":275,"value":502},"'use server'",{"type":275,"value":504}," (React)",{"type":269,"tag":309,"props":506,"children":507},{},[508,514],{"type":269,"tag":400,"props":509,"children":511},{"className":510},[],[512],{"type":275,"value":513},"'use cache'",{"type":275,"value":515}," (Next.js)",{"type":269,"tag":284,"props":517,"children":519},{"id":518},"functions",[520],{"type":275,"value":521},"Functions",{"type":269,"tag":278,"props":523,"children":524},{},[525,526,532],{"type":275,"value":294},{"type":269,"tag":296,"props":527,"children":529},{"href":528},".\u002Ffunctions.md",[530],{"type":275,"value":531},"functions.md",{"type":275,"value":303},{"type":269,"tag":305,"props":534,"children":535},{},[536,568,600],{"type":269,"tag":309,"props":537,"children":538},{},[539,541,547,548,554,555,561,562],{"type":275,"value":540},"Navigation hooks: ",{"type":269,"tag":400,"props":542,"children":544},{"className":543},[],[545],{"type":275,"value":546},"useRouter",{"type":275,"value":496},{"type":269,"tag":400,"props":549,"children":551},{"className":550},[],[552],{"type":275,"value":553},"usePathname",{"type":275,"value":496},{"type":269,"tag":400,"props":556,"children":558},{"className":557},[],[559],{"type":275,"value":560},"useSearchParams",{"type":275,"value":496},{"type":269,"tag":400,"props":563,"children":565},{"className":564},[],[566],{"type":275,"value":567},"useParams",{"type":269,"tag":309,"props":569,"children":570},{},[571,573,579,580,586,587,593,594],{"type":275,"value":572},"Server functions: ",{"type":269,"tag":400,"props":574,"children":576},{"className":575},[],[577],{"type":275,"value":578},"cookies",{"type":275,"value":496},{"type":269,"tag":400,"props":581,"children":583},{"className":582},[],[584],{"type":275,"value":585},"headers",{"type":275,"value":496},{"type":269,"tag":400,"props":588,"children":590},{"className":589},[],[591],{"type":275,"value":592},"draftMode",{"type":275,"value":496},{"type":269,"tag":400,"props":595,"children":597},{"className":596},[],[598],{"type":275,"value":599},"after",{"type":269,"tag":309,"props":601,"children":602},{},[603,605,611,612],{"type":275,"value":604},"Generate functions: ",{"type":269,"tag":400,"props":606,"children":608},{"className":607},[],[609],{"type":275,"value":610},"generateStaticParams",{"type":275,"value":496},{"type":269,"tag":400,"props":613,"children":615},{"className":614},[],[616],{"type":275,"value":256},{"type":269,"tag":284,"props":618,"children":620},{"id":619},"error-handling",[621],{"type":275,"value":622},"Error Handling",{"type":269,"tag":278,"props":624,"children":625},{},[626,627,633],{"type":275,"value":294},{"type":269,"tag":296,"props":628,"children":630},{"href":629},".\u002Ferror-handling.md",[631],{"type":275,"value":632},"error-handling.md",{"type":275,"value":303},{"type":269,"tag":305,"props":635,"children":636},{},[637,660,683,701],{"type":269,"tag":309,"props":638,"children":639},{},[640,646,647,653,654],{"type":269,"tag":400,"props":641,"children":643},{"className":642},[],[644],{"type":275,"value":645},"error.tsx",{"type":275,"value":496},{"type":269,"tag":400,"props":648,"children":650},{"className":649},[],[651],{"type":275,"value":652},"global-error.tsx",{"type":275,"value":496},{"type":269,"tag":400,"props":655,"children":657},{"className":656},[],[658],{"type":275,"value":659},"not-found.tsx",{"type":269,"tag":309,"props":661,"children":662},{},[663,669,670,676,677],{"type":269,"tag":400,"props":664,"children":666},{"className":665},[],[667],{"type":275,"value":668},"redirect",{"type":275,"value":496},{"type":269,"tag":400,"props":671,"children":673},{"className":672},[],[674],{"type":275,"value":675},"permanentRedirect",{"type":275,"value":496},{"type":269,"tag":400,"props":678,"children":680},{"className":679},[],[681],{"type":275,"value":682},"notFound",{"type":269,"tag":309,"props":684,"children":685},{},[686,692,693,699],{"type":269,"tag":400,"props":687,"children":689},{"className":688},[],[690],{"type":275,"value":691},"forbidden",{"type":275,"value":496},{"type":269,"tag":400,"props":694,"children":696},{"className":695},[],[697],{"type":275,"value":698},"unauthorized",{"type":275,"value":700}," (auth errors)",{"type":269,"tag":309,"props":702,"children":703},{},[704,710],{"type":269,"tag":400,"props":705,"children":707},{"className":706},[],[708],{"type":275,"value":709},"unstable_rethrow",{"type":275,"value":711}," for catch blocks",{"type":269,"tag":284,"props":713,"children":715},{"id":714},"data-patterns",[716],{"type":275,"value":717},"Data Patterns",{"type":269,"tag":278,"props":719,"children":720},{},[721,722,728],{"type":275,"value":294},{"type":269,"tag":296,"props":723,"children":725},{"href":724},".\u002Fdata-patterns.md",[726],{"type":275,"value":727},"data-patterns.md",{"type":275,"value":303},{"type":269,"tag":305,"props":730,"children":731},{},[732,737,750],{"type":269,"tag":309,"props":733,"children":734},{},[735],{"type":275,"value":736},"Server Components vs Server Actions vs Route Handlers",{"type":269,"tag":309,"props":738,"children":739},{},[740,742,748],{"type":275,"value":741},"Avoiding data waterfalls (",{"type":269,"tag":400,"props":743,"children":745},{"className":744},[],[746],{"type":275,"value":747},"Promise.all",{"type":275,"value":749},", Suspense, preload)",{"type":269,"tag":309,"props":751,"children":752},{},[753],{"type":275,"value":754},"Client component data fetching",{"type":269,"tag":284,"props":756,"children":758},{"id":757},"route-handlers",[759],{"type":275,"value":760},"Route Handlers",{"type":269,"tag":278,"props":762,"children":763},{},[764,765,771],{"type":275,"value":294},{"type":269,"tag":296,"props":766,"children":768},{"href":767},".\u002Froute-handlers.md",[769],{"type":275,"value":770},"route-handlers.md",{"type":275,"value":303},{"type":269,"tag":305,"props":773,"children":774},{},[775,786,797,802],{"type":269,"tag":309,"props":776,"children":777},{},[778,784],{"type":269,"tag":400,"props":779,"children":781},{"className":780},[],[782],{"type":275,"value":783},"route.ts",{"type":275,"value":785}," basics",{"type":269,"tag":309,"props":787,"children":788},{},[789,791],{"type":275,"value":790},"GET handler conflicts with ",{"type":269,"tag":400,"props":792,"children":794},{"className":793},[],[795],{"type":275,"value":796},"page.tsx",{"type":269,"tag":309,"props":798,"children":799},{},[800],{"type":275,"value":801},"Environment behavior (no React DOM)",{"type":269,"tag":309,"props":803,"children":804},{},[805],{"type":275,"value":806},"When to use vs Server Actions",{"type":269,"tag":284,"props":808,"children":810},{"id":809},"metadata-og-images",[811],{"type":275,"value":812},"Metadata & OG Images",{"type":269,"tag":278,"props":814,"children":815},{},[816,817,823],{"type":275,"value":294},{"type":269,"tag":296,"props":818,"children":820},{"href":819},".\u002Fmetadata.md",[821],{"type":275,"value":822},"metadata.md",{"type":275,"value":303},{"type":269,"tag":305,"props":825,"children":826},{},[827,832,842,853],{"type":269,"tag":309,"props":828,"children":829},{},[830],{"type":275,"value":831},"Static and dynamic metadata",{"type":269,"tag":309,"props":833,"children":834},{},[835,840],{"type":269,"tag":400,"props":836,"children":838},{"className":837},[],[839],{"type":275,"value":256},{"type":275,"value":841}," function",{"type":269,"tag":309,"props":843,"children":844},{},[845,847],{"type":275,"value":846},"OG image generation with ",{"type":269,"tag":400,"props":848,"children":850},{"className":849},[],[851],{"type":275,"value":852},"next\u002Fog",{"type":269,"tag":309,"props":854,"children":855},{},[856],{"type":275,"value":857},"File-based metadata conventions",{"type":269,"tag":284,"props":859,"children":861},{"id":860},"image-optimization",[862],{"type":275,"value":863},"Image Optimization",{"type":269,"tag":278,"props":865,"children":866},{},[867,868,874],{"type":275,"value":294},{"type":269,"tag":296,"props":869,"children":871},{"href":870},".\u002Fimage.md",[872],{"type":275,"value":873},"image.md",{"type":275,"value":303},{"type":269,"tag":305,"props":876,"children":877},{},[878,897,902,915,920],{"type":269,"tag":309,"props":879,"children":880},{},[881,883,889,891],{"type":275,"value":882},"Always use ",{"type":269,"tag":400,"props":884,"children":886},{"className":885},[],[887],{"type":275,"value":888},"next\u002Fimage",{"type":275,"value":890}," over ",{"type":269,"tag":400,"props":892,"children":894},{"className":893},[],[895],{"type":275,"value":896},"\u003Cimg>",{"type":269,"tag":309,"props":898,"children":899},{},[900],{"type":275,"value":901},"Remote images configuration",{"type":269,"tag":309,"props":903,"children":904},{},[905,907,913],{"type":275,"value":906},"Responsive ",{"type":269,"tag":400,"props":908,"children":910},{"className":909},[],[911],{"type":275,"value":912},"sizes",{"type":275,"value":914}," attribute",{"type":269,"tag":309,"props":916,"children":917},{},[918],{"type":275,"value":919},"Blur placeholders",{"type":269,"tag":309,"props":921,"children":922},{},[923],{"type":275,"value":924},"Priority loading for LCP",{"type":269,"tag":284,"props":926,"children":928},{"id":927},"font-optimization",[929],{"type":275,"value":930},"Font Optimization",{"type":269,"tag":278,"props":932,"children":933},{},[934,935,941],{"type":275,"value":294},{"type":269,"tag":296,"props":936,"children":938},{"href":937},".\u002Ffont.md",[939],{"type":275,"value":940},"font.md",{"type":275,"value":303},{"type":269,"tag":305,"props":943,"children":944},{},[945,955,960,965],{"type":269,"tag":309,"props":946,"children":947},{},[948,953],{"type":269,"tag":400,"props":949,"children":951},{"className":950},[],[952],{"type":275,"value":183},{"type":275,"value":954}," setup",{"type":269,"tag":309,"props":956,"children":957},{},[958],{"type":275,"value":959},"Google Fonts, local fonts",{"type":269,"tag":309,"props":961,"children":962},{},[963],{"type":275,"value":964},"Tailwind CSS integration",{"type":269,"tag":309,"props":966,"children":967},{},[968],{"type":275,"value":969},"Preloading subsets",{"type":269,"tag":284,"props":971,"children":973},{"id":972},"bundling",[974],{"type":275,"value":975},"Bundling",{"type":269,"tag":278,"props":977,"children":978},{},[979,980,986],{"type":275,"value":294},{"type":269,"tag":296,"props":981,"children":983},{"href":982},".\u002Fbundling.md",[984],{"type":275,"value":985},"bundling.md",{"type":275,"value":303},{"type":269,"tag":305,"props":988,"children":989},{},[990,995,1000,1005,1010],{"type":269,"tag":309,"props":991,"children":992},{},[993],{"type":275,"value":994},"Server-incompatible packages",{"type":269,"tag":309,"props":996,"children":997},{},[998],{"type":275,"value":999},"CSS imports (not link tags)",{"type":269,"tag":309,"props":1001,"children":1002},{},[1003],{"type":275,"value":1004},"Polyfills (already included)",{"type":269,"tag":309,"props":1006,"children":1007},{},[1008],{"type":275,"value":1009},"ESM\u002FCommonJS issues",{"type":269,"tag":309,"props":1011,"children":1012},{},[1013],{"type":275,"value":1014},"Bundle analysis",{"type":269,"tag":284,"props":1016,"children":1018},{"id":1017},"scripts",[1019],{"type":275,"value":1020},"Scripts",{"type":269,"tag":278,"props":1022,"children":1023},{},[1024,1025,1031],{"type":275,"value":294},{"type":269,"tag":296,"props":1026,"children":1028},{"href":1027},".\u002Fscripts.md",[1029],{"type":275,"value":1030},"scripts.md",{"type":275,"value":303},{"type":269,"tag":305,"props":1033,"children":1034},{},[1035,1046,1057,1062],{"type":269,"tag":309,"props":1036,"children":1037},{},[1038,1044],{"type":269,"tag":400,"props":1039,"children":1041},{"className":1040},[],[1042],{"type":275,"value":1043},"next\u002Fscript",{"type":275,"value":1045}," vs native script tags",{"type":269,"tag":309,"props":1047,"children":1048},{},[1049,1051],{"type":275,"value":1050},"Inline scripts need ",{"type":269,"tag":400,"props":1052,"children":1054},{"className":1053},[],[1055],{"type":275,"value":1056},"id",{"type":269,"tag":309,"props":1058,"children":1059},{},[1060],{"type":275,"value":1061},"Loading strategies",{"type":269,"tag":309,"props":1063,"children":1064},{},[1065,1067],{"type":275,"value":1066},"Google Analytics with ",{"type":269,"tag":400,"props":1068,"children":1070},{"className":1069},[],[1071],{"type":275,"value":1072},"@next\u002Fthird-parties",{"type":269,"tag":284,"props":1074,"children":1076},{"id":1075},"hydration-errors",[1077],{"type":275,"value":1078},"Hydration Errors",{"type":269,"tag":278,"props":1080,"children":1081},{},[1082,1083,1089],{"type":275,"value":294},{"type":269,"tag":296,"props":1084,"children":1086},{"href":1085},".\u002Fhydration-error.md",[1087],{"type":275,"value":1088},"hydration-error.md",{"type":275,"value":303},{"type":269,"tag":305,"props":1091,"children":1092},{},[1093,1098,1103],{"type":269,"tag":309,"props":1094,"children":1095},{},[1096],{"type":275,"value":1097},"Common causes (browser APIs, dates, invalid HTML)",{"type":269,"tag":309,"props":1099,"children":1100},{},[1101],{"type":275,"value":1102},"Debugging with error overlay",{"type":269,"tag":309,"props":1104,"children":1105},{},[1106],{"type":275,"value":1107},"Fixes for each cause",{"type":269,"tag":284,"props":1109,"children":1111},{"id":1110},"suspense-boundaries",[1112],{"type":275,"value":1113},"Suspense Boundaries",{"type":269,"tag":278,"props":1115,"children":1116},{},[1117,1118,1124],{"type":275,"value":294},{"type":269,"tag":296,"props":1119,"children":1121},{"href":1120},".\u002Fsuspense-boundaries.md",[1122],{"type":275,"value":1123},"suspense-boundaries.md",{"type":275,"value":303},{"type":269,"tag":305,"props":1126,"children":1127},{},[1128,1144],{"type":269,"tag":309,"props":1129,"children":1130},{},[1131,1133,1138,1139],{"type":275,"value":1132},"CSR bailout with ",{"type":269,"tag":400,"props":1134,"children":1136},{"className":1135},[],[1137],{"type":275,"value":560},{"type":275,"value":407},{"type":269,"tag":400,"props":1140,"children":1142},{"className":1141},[],[1143],{"type":275,"value":553},{"type":269,"tag":309,"props":1145,"children":1146},{},[1147],{"type":275,"value":1148},"Which hooks require Suspense boundaries",{"type":269,"tag":284,"props":1150,"children":1152},{"id":1151},"parallel-intercepting-routes",[1153],{"type":275,"value":1154},"Parallel & Intercepting Routes",{"type":269,"tag":278,"props":1156,"children":1157},{},[1158,1159,1165],{"type":275,"value":294},{"type":269,"tag":296,"props":1160,"children":1162},{"href":1161},".\u002Fparallel-routes.md",[1163],{"type":275,"value":1164},"parallel-routes.md",{"type":275,"value":303},{"type":269,"tag":305,"props":1167,"children":1168},{},[1169,1189,1200],{"type":269,"tag":309,"props":1170,"children":1171},{},[1172,1174,1180,1181,1187],{"type":275,"value":1173},"Modal patterns with ",{"type":269,"tag":400,"props":1175,"children":1177},{"className":1176},[],[1178],{"type":275,"value":1179},"@slot",{"type":275,"value":407},{"type":269,"tag":400,"props":1182,"children":1184},{"className":1183},[],[1185],{"type":275,"value":1186},"(.)",{"type":275,"value":1188}," interceptors",{"type":269,"tag":309,"props":1190,"children":1191},{},[1192,1198],{"type":269,"tag":400,"props":1193,"children":1195},{"className":1194},[],[1196],{"type":275,"value":1197},"default.tsx",{"type":275,"value":1199}," for fallbacks",{"type":269,"tag":309,"props":1201,"children":1202},{},[1203,1205],{"type":275,"value":1204},"Closing modals correctly with ",{"type":269,"tag":400,"props":1206,"children":1208},{"className":1207},[],[1209],{"type":275,"value":1210},"router.back()",{"type":269,"tag":284,"props":1212,"children":1214},{"id":1213},"self-hosting",[1215],{"type":275,"value":1216},"Self-Hosting",{"type":269,"tag":278,"props":1218,"children":1219},{},[1220,1221,1227],{"type":275,"value":294},{"type":269,"tag":296,"props":1222,"children":1224},{"href":1223},".\u002Fself-hosting.md",[1225],{"type":275,"value":1226},"self-hosting.md",{"type":275,"value":303},{"type":269,"tag":305,"props":1229,"children":1230},{},[1231,1242,1247],{"type":269,"tag":309,"props":1232,"children":1233},{},[1234,1240],{"type":269,"tag":400,"props":1235,"children":1237},{"className":1236},[],[1238],{"type":275,"value":1239},"output: 'standalone'",{"type":275,"value":1241}," for Docker",{"type":269,"tag":309,"props":1243,"children":1244},{},[1245],{"type":275,"value":1246},"Cache handlers for multi-instance ISR",{"type":269,"tag":309,"props":1248,"children":1249},{},[1250],{"type":275,"value":1251},"What works vs needs extra setup",{"type":269,"tag":284,"props":1253,"children":1255},{"id":1254},"debug-tricks",[1256],{"type":275,"value":1257},"Debug Tricks",{"type":269,"tag":278,"props":1259,"children":1260},{},[1261,1262,1268],{"type":275,"value":294},{"type":269,"tag":296,"props":1263,"children":1265},{"href":1264},".\u002Fdebug-tricks.md",[1266],{"type":275,"value":1267},"debug-tricks.md",{"type":275,"value":303},{"type":269,"tag":305,"props":1270,"children":1271},{},[1272,1277],{"type":269,"tag":309,"props":1273,"children":1274},{},[1275],{"type":275,"value":1276},"MCP endpoint for AI-assisted debugging",{"type":269,"tag":309,"props":1278,"children":1279},{},[1280,1282],{"type":275,"value":1281},"Rebuild specific routes with ",{"type":269,"tag":400,"props":1283,"children":1285},{"className":1284},[],[1286],{"type":275,"value":1287},"--debug-build-paths",{"items":1289,"total":1398},[1290,1306,1323,1340,1355,1372,1387],{"slug":192,"name":192,"fn":1291,"description":1292,"org":1293,"tags":1294,"stars":26,"repoUrl":27,"updatedAt":1305},"configure and manage Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1295,1298,1301,1304],{"name":1296,"slug":1297,"type":15},"AI Infrastructure","ai-infrastructure",{"name":1299,"slug":1300,"type":15},"Cost Optimization","cost-optimization",{"name":1302,"slug":1303,"type":15},"LLM","llm",{"name":9,"slug":8,"type":15},"2026-04-06T18:56:06.57787",{"slug":154,"name":154,"fn":1307,"description":1308,"org":1309,"tags":1310,"stars":26,"repoUrl":27,"updatedAt":1322},"integrate authentication in Next.js apps","Authentication integration guidance — Clerk (native Vercel Marketplace), Descope, and Auth0 setup for Next.js applications. Covers middleware auth patterns, sign-in\u002Fsign-up flows, and Marketplace provisioning. Use when implementing user authentication.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1311,1314,1317,1318,1321],{"name":1312,"slug":1313,"type":15},"Auth0","auth0",{"name":1315,"slug":1316,"type":15},"Authentication","authentication",{"name":21,"slug":22,"type":15},{"name":1319,"slug":1320,"type":15},"Security","security",{"name":9,"slug":8,"type":15},"2026-04-06T18:56:17.050565",{"slug":1324,"name":1324,"fn":1325,"description":1326,"org":1327,"tags":1328,"stars":26,"repoUrl":27,"updatedAt":1339},"bootstrap","bootstrap Vercel-linked repositories","Project bootstrapping orchestrator for repos that depend on Vercel-linked resources (databases, auth, and managed integrations). Use when setting up or repairing a repository so linking, environment provisioning, env pulls, and first-run db\u002Fdev commands happen in the correct safe order.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1329,1332,1335,1338],{"name":1330,"slug":1331,"type":15},"Configuration","configuration",{"name":1333,"slug":1334,"type":15},"Deployment","deployment",{"name":1336,"slug":1337,"type":15},"Local Development","local-development",{"name":9,"slug":8,"type":15},"2026-04-06T18:56:18.297868",{"slug":1341,"name":1341,"fn":1342,"description":1343,"org":1344,"tags":1345,"stars":26,"repoUrl":27,"updatedAt":1354},"cdn-caching","debug Vercel CDN caching behavior","Debug Vercel CDN caching — cache hit rate, stale content, revalidation behavior, ISR + PPR, per-request cache reasons (cacheReason) and PPR state (ppr_state), and costs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1346,1349,1352,1353],{"name":1347,"slug":1348,"type":15},"Caching","caching",{"name":1350,"slug":1351,"type":15},"Observability","observability",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:31:34.628944",{"slug":1356,"name":1356,"fn":1357,"description":1358,"org":1359,"tags":1360,"stars":26,"repoUrl":27,"updatedAt":1371},"chat-sdk","build multi-platform chatbots with Vercel","Vercel Chat SDK expert guidance. Use when building multi-platform chat bots — Slack, Telegram, Microsoft Teams, Discord, Google Chat, GitHub, Linear — with a single codebase. Covers the Chat class, adapters, threads, messages, cards, modals, streaming, state management, and webhook setup.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1361,1364,1367,1370],{"name":1362,"slug":1363,"type":15},"Agents","agents",{"name":1365,"slug":1366,"type":15},"Messaging","messaging",{"name":1368,"slug":1369,"type":15},"SDK","sdk",{"name":9,"slug":8,"type":15},"2026-04-06T18:56:26.921901",{"slug":1373,"name":1373,"fn":1374,"description":1375,"org":1376,"tags":1377,"stars":26,"repoUrl":27,"updatedAt":1386},"deployments-cicd","manage Vercel deployments and CI\u002FCD","Vercel deployment and CI\u002FCD expert guidance. Use when deploying, promoting, rolling back, inspecting deployments, building with --prebuilt, or configuring CI workflow files for Vercel.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1378,1381,1382,1385],{"name":1379,"slug":1380,"type":15},"CI\u002FCD","ci-cd",{"name":1333,"slug":1334,"type":15},{"name":1383,"slug":1384,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-04-06T18:56:22.054263",{"slug":1388,"name":1388,"fn":1389,"description":1390,"org":1391,"tags":1392,"stars":26,"repoUrl":27,"updatedAt":1397},"env-vars","manage Vercel environment variables","Vercel environment variable expert guidance. Use when working with .env files, vercel env commands, OIDC tokens, or managing environment-specific configuration.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1393,1394,1395,1396],{"name":1330,"slug":1331,"type":15},{"name":1383,"slug":1384,"type":15},{"name":1319,"slug":1320,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:56:28.150777",29,{"items":1400,"total":1561},[1401,1417,1429,1446,1457,1470,1486,1500,1512,1531,1541,1551],{"slug":1402,"name":1402,"fn":1403,"description":1404,"org":1405,"tags":1406,"stars":1414,"repoUrl":1415,"updatedAt":1416},"next-cache-components-adoption","enable and migrate to Next.js Cache Components","Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the `cacheComponents` flag, work through a flood of blocking-prerender \u002F instant validation errors, run the `cache-components-instant-false` codemod, or decide between opting routes out with `export const instant = false` and fixing them in place.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1407,1408,1409,1412,1413],{"name":1347,"slug":1348,"type":15},{"name":24,"slug":25,"type":15},{"name":1410,"slug":1411,"type":15},"Migration","migration",{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},141208,"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fnext.js","2026-07-24T05:38:30.118542",{"slug":1418,"name":1418,"fn":1419,"description":1420,"org":1421,"tags":1422,"stars":1414,"repoUrl":1415,"updatedAt":1428},"next-cache-components-optimizer","optimize Next.js cache components","Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components \u002F PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next\u002Fplaywright instant() e2e and work it to green, one verified route at a time; the shipped test then guards against regression. Use when asked to make a route's navigation instant (its static shell commits immediately), fix a route whose static shell isn't prerendered\u002Fserved\u002Fprefetched, grow a route's static shell or fix its slow first paint, diagnose which Suspense boundary keeps a route out of its static shell, or write the instant() e2e guard for one. Requires Next.js 16.3+ with cacheComponents; directs an upgrade if older.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1423,1424,1425,1426,1427],{"name":1347,"slug":1348,"type":15},{"name":24,"slug":25,"type":15},{"name":21,"slug":22,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:31:10.674078",{"slug":1430,"name":1430,"fn":1431,"description":1432,"org":1433,"tags":1434,"stars":1414,"repoUrl":1415,"updatedAt":1445},"next-dev-loop","verify Next.js runtime behavior","Verify Next.js runtime behavior after editing app code. Use this skill to confirm a change actually works in a running app — not just that it compiles or type-checks. Combines \u002F_next\u002Fmcp (Next.js's view) with agent-browser (the browser's view). Requires a running `next dev`.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1435,1438,1439,1440,1441,1442],{"name":1436,"slug":1437,"type":15},"Debugging","debugging",{"name":24,"slug":25,"type":15},{"name":1336,"slug":1337,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},{"name":1443,"slug":1444,"type":15},"Web Development","web-development","2026-05-22T06:45:28.627735",{"slug":1447,"name":1447,"fn":1448,"description":1449,"org":1450,"tags":1451,"stars":1414,"repoUrl":1415,"updatedAt":1456},"next-partial-prefetching-adoption","adopt Partial Prefetching in Next.js apps","Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the `partialPrefetching` flag, opt routes in with `export const prefetch = 'partial'`, audit `\u003CLink prefetch={true}>` calls, or resolve the link-prefetch-partial and instant-shell-url-data insights.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1452,1453,1454,1455],{"name":24,"slug":25,"type":15},{"name":21,"slug":22,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:31:11.591864",{"slug":1458,"name":1458,"fn":1459,"description":1460,"org":1461,"tags":1462,"stars":1467,"repoUrl":1468,"updatedAt":1469},"turborepo","manage monorepos with Turborepo","Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines,\ndependsOn, caching, remote cache, the \"turbo\" CLI, --filter, --affected, CI optimization, environment\nvariables, internal packages, monorepo structure\u002Fbest practices, and boundaries.\n\nUse when user: configures tasks\u002Fworkflows\u002Fpipelines, creates packages, sets up\nmonorepo, shares code between apps, runs changed\u002Faffected packages, debugs cache,\nor has apps\u002Fpackages directories.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1463,1464,1465],{"name":1379,"slug":1380,"type":15},{"name":13,"slug":14,"type":15},{"name":1466,"slug":1458,"type":15},"Turborepo",30809,"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fturborepo","2026-07-30T05:32:14.920116",{"slug":1471,"name":1471,"fn":1472,"description":1473,"org":1474,"tags":1475,"stars":1483,"repoUrl":1484,"updatedAt":1485},"add-function-examples","add AI function examples for testing","Guide for adding new AI function examples, for testing specific features against the actual provider APIs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1476,1479,1482],{"name":1477,"slug":1478,"type":15},"AI SDK","ai-sdk",{"name":1480,"slug":1481,"type":15},"Testing","testing",{"name":9,"slug":8,"type":15},25670,"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fai","2026-04-06T18:55:51.318866",{"slug":1487,"name":1487,"fn":1488,"description":1489,"org":1490,"tags":1491,"stars":1483,"repoUrl":1484,"updatedAt":1499},"add-harness-package","add AI SDK harness packages","Guide for adding new AI SDK harness packages. Use when creating a new @ai-sdk\u002Fharness-\u003Cname> package that adapts a coding-agent runtime to HarnessV1.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1492,1493,1494,1497,1498],{"name":1362,"slug":1363,"type":15},{"name":1477,"slug":1478,"type":15},{"name":1495,"slug":1496,"type":15},"Harness","harness",{"name":1368,"slug":1369,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:29:19.858737",{"slug":1501,"name":1501,"fn":1502,"description":1503,"org":1504,"tags":1505,"stars":1483,"repoUrl":1484,"updatedAt":1511},"add-provider-package","add new provider packages to AI SDK","Guide for adding new AI provider packages to the AI SDK. Use when creating a new @ai-sdk\u002F\u003Cprovider> package to integrate an AI service into the SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1506,1507,1510],{"name":1477,"slug":1478,"type":15},{"name":1508,"slug":1509,"type":15},"API Development","api-development",{"name":9,"slug":8,"type":15},"2026-04-06T18:55:47.45549",{"slug":1513,"name":1513,"fn":1514,"description":1515,"org":1516,"tags":1517,"stars":1483,"repoUrl":1484,"updatedAt":1530},"adr-skill","create and maintain architecture decision records","Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept\u002Freject, deprecate, or supersede an ADR; bootstrap an adr folder and index; consult existing ADRs before implementing changes; or enforce ADR conventions. This skill uses Socratic questioning to capture intent before drafting, and validates output against an agent-readiness checklist.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1518,1521,1524,1527],{"name":1519,"slug":1520,"type":15},"ADR","adr",{"name":1522,"slug":1523,"type":15},"Architecture","architecture",{"name":1525,"slug":1526,"type":15},"Documentation","documentation",{"name":1528,"slug":1529,"type":15},"Engineering","engineering","2026-04-06T18:55:50.043694",{"slug":1478,"name":1478,"fn":1532,"description":1533,"org":1534,"tags":1535,"stars":1483,"repoUrl":1484,"updatedAt":1540},"build AI features with Vercel AI SDK","Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: \"AI SDK\", \"Vercel AI SDK\", \"generateText\", \"streamText\", \"add AI to my app\", \"build an agent\", \"tool calling\", \"structured output\", \"useChat\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1536,1537,1538,1539],{"name":1362,"slug":1363,"type":15},{"name":1477,"slug":1478,"type":15},{"name":1302,"slug":1303,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:55:48.739463",{"slug":1542,"name":1542,"fn":1543,"description":1544,"org":1545,"tags":1546,"stars":1483,"repoUrl":1484,"updatedAt":1550},"capture-api-response-test-fixture","capture API response test fixtures","Capture API response test fixture.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1547,1548,1549],{"name":1508,"slug":1509,"type":15},{"name":1480,"slug":1481,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:55:56.374433",{"slug":1552,"name":1552,"fn":1553,"description":1554,"org":1555,"tags":1556,"stars":1483,"repoUrl":1484,"updatedAt":1560},"develop-ai-functions-example","develop AI SDK function examples","Develop examples for AI SDK functions. Use when creating, running, or modifying examples under examples\u002Fai-functions\u002Fsrc to validate provider support, demonstrate features, or create test fixtures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1557,1558,1559],{"name":1477,"slug":1478,"type":15},{"name":1480,"slug":1481,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:55:55.088956",68]