Skip to content

App Router patterns for Server Components, Server Actions, route handlers, and explicit caching with revalidation.

CCM score
47 of 100
skills.sh installs
375
GitHub stars
79
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers server-first rendering with minimal "use client" boundaries and loading and error boundaries for route segments
  • Puts mutations in Server Actions that validate input, check authorization, and revalidate tags or paths
  • Enforces server-side authz and rejects initial data fetching in useEffect and overly broad cache invalidation
  • Includes reference notes on server actions, data fetching, caching, routing, auth, and testing for App Router projects

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill nextjs-core -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Next.js Core (App Router)

  • Server Components by default; minimal "use client".
  • Mutations in Server Actions (validate/authz; revalidate tags/paths).
  • Route handlers for APIs/webhooks; add loading/error boundaries.

Anti-patterns:

  • ❌ Fetch initial data in useEffect.
  • ❌ Cache or revalidate too broadly.
  • ❌ Client-only authz.

References: see references/ (server actions, fetching, caching, routing, auth, testing).

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Categories
Frontend & UI Code, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the nextjs-core skill do?

nextjs-core gives an agent core Next.js patterns for App Router development, covering Server Components, Server Actions, route handlers, data fetching, and caching strategies. It favors server-first code, with Server Components by default and mutations placed in Server Actions that validate input and revalidate tags or paths.

How do I install the nextjs-core skill?

Run npx -y skills add bobmatnyc/claude-mpm-skills --skill nextjs-core -y inside your project to install nextjs-core. Once installed, the agent can apply the nextjs-core patterns when it writes App Router code in that project.

Which other skills sit beside nextjs-core in its category?

nextjs-core is listed under Frontend & UI Code on Claude Marketplaces, alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns, and lark-apps. Its own focus is the App Router core: Server Components, Server Actions, and caching for Next.js projects.

Who is the nextjs-core skill for?

nextjs-core suits developers building Next.js apps with the App Router who want server-first code and explicit caching. Its SKILL.md warns against fetching initial data in useEffect, caching or revalidating too broadly, and relying on client-only authorization.

More from bobmatnyc/claude-mpm-skills

All 154

Similar to Nextjs Core

More Frontend & UI Code