Agent skill · Data & Analytics

nextjs-mastery

Next.js 14+ App Router patterns including RSC, ISR, middleware, parallel routes, and data fetching

Rohit Ghumare82,766★ · +2,021/wk · 9 repos on radarProfile →
claude-codeApache-2.0
Install
npx skills add rohitg00/awesome-claude-code-toolkit --skill nextjs-mastery --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/nextjs-mastery/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,438
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Next.js Mastery ## App Router Structure ``` app/ layout.tsx # Root layout (wraps all pages) page.tsx # Home route / loading.tsx # Route-level Suspense fallback error.tsx # Route-level error boundary not-found.tsx # Custom 404 (marketing)/ about/page.tsx # /about (grouped without URL segment) dashboard/ layout.tsx # Nested layout for /dashboard/* page.tsx # /dashboard @analytics/page.tsx # Parallel route slot @activity/page.tsx # Parallel route slot settings/ page.tsx # /dashboard/settings api/ webhooks/route.ts # Route handler (POST /api/webhooks) ``` Route groups `(name)` organize code without affecting URLs. Parallel routes `@slot` render multiple pages simultaneously. ## Server Components and Data Fetching ```tsx async function ProductPage({ params }: { params: Promise<{ id: string }> }) { const { id } = await params; const product = await db.product.findUnique({ where: { id } }); if (!product) notFound(); return ( <div> <h1>{product.name}</h1> <p>{product.description}</p> <Suspense fallback={<ReviewsSkeleton />}> <Reviews productId={id} /> </Suspense> </div> ); } async function Reviews({ productId }: { productId: string }) { const reviews = await db.review.findMany({ where: {

What's inside
Steps it walks through
  1. App Router Structure
  2. Server Components and Data Fetching
  3. ISR and Caching
  4. Middleware
  5. Server Actions
  6. Anti-Patterns
  7. Checklist
More from awesome-claude-code-toolkit
All skills →
About this skill
What does the nextjs-mastery skill do?

Next.js 14+ App Router patterns including RSC, ISR, middleware, parallel routes, and data fetching

How do I install it?

Run `npx skills add rohitg00/awesome-claude-code-toolkit --skill nextjs-mastery --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rohitg00/awesome-claude-code-toolkit, a repository with 2,438 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going