mcpField
N
nextjs-core

nextjs-core

github.com/bobmatnycDevelopment78352 installsUpdated 15w ago
Repository

About nextjs-core

A skill that summarizes core Next.js App Router practices, from Server Components and Server Actions to routing, caching, and testing. It is for developers building or maintaining Next.js applications.

Key features

  1. 01Server Components by default
  2. 02Server Actions for mutations
  3. 03Route handlers for APIs and webhooks
  4. 04Loading and error boundaries
  5. 05Guidance on fetching, caching, and testing

Use cases

  1. 01Structuring an App Router application
  2. 02Implementing validated server-side mutations
  3. 03Building API routes and webhooks
  4. 04Reviewing data fetching and cache behavior

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill nextjs-core

After installing, type/nextjs-corein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

metadata.json
references/
authentication.md
caching-and-rendering.md
data-fetching.md
routing.md
server-actions.md
testing.md

Details

From the project README

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).

Comments

Markdown supported