Next.js 16 + React 19 App Router patterns for AI agents — Server Components, Server Actions, use cache, Route Handlers, and OpenNext on Cloudflare Workers. Part of the BrewHub PHL specialist fleet.
npx skills add brewhubphl/nextjs-specialistProject-local:
npx skills add brewhubphl/nextjs-specialist --path .agents/skillsUse the nextjs-specialist skill to secure this Server Action and add proper cache revalidation.
@nextjs-specialist Should this webhook be a Route Handler or stay in the legacy function adapter?
├── SKILL.md
├── patterns/
│ ├── app-router.md
│ ├── server-components.md
│ ├── server-actions.md
│ ├── use-cache.md
│ ├── route-handlers.md
│ └── deployment-workers.md
├── examples/brew-hub-integration.md
└── scripts/validate-skill.mjs
| Repo | Domain |
|---|---|
| supabase-specialist | Postgres client in RSC/Actions |
| cloudflare-specialist | Workers bindings, wrangler |
| capacitor-mobile-specialist | WebView shell around same Next app |
Add chapter summaries under references/book-summaries/. Keep SKILL.md lean.
MIT — see LICENSE.