Skip to content
Skillv1.0.0

nextjs-core

Core Next.js patterns for App Router development including Server Components, Server Actions, route handlers, data fetching, and caching strategies

by bobmatnyc(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from bobmatnyc/claude-mpm-skills (toolchains/nextjs/nextjs-core/SKILL.md). Install upstream with npx skills add bobmatnyc/claude-mpm-skills --skill nextjs-core. Copyright stays with the author.

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

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/bobmatnyc-claude-mpm-skills-nextjs-core/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

bobmatnyc-claude-mpm-skills-nextjs-core.ocm.jsonjson
{
  "ocm": "1",
  "id": "bobmatnyc-claude-mpm-skills-nextjs-core",
  "kind": "skill",
  "name": "nextjs-core",
  "description": "Core Next.js patterns for App Router development including Server Components, Server Actions, route handlers, data fetching, and caching strategies",
  "publisher": "bobmatnyc",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "nextjs",
      "app-router",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Core Next.js patterns for App Router development including Server Components, Server Actions, route handlers, data fetching, and caching strategies"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/bobmatnyc/claude-mpm-skills",
      "path": "toolchains/nextjs/nextjs-core/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/bobmatnyc/claude-mpm-skills/blob/HEAD/toolchains/nextjs/nextjs-core/SKILL.md",
      "key": "bobmatnyc/claude-mpm-skills/toolchains/nextjs/nextjs-core/SKILL.md"
    }
  },
  "instructions": "# Next.js Core (App Router)\n\n- Server Components by default; minimal `\"use client\"`.\n- Mutations in Server Actions (validate/authz; revalidate tags/paths).\n- Route handlers for APIs/webhooks; add loading/error boundaries.\n\nAnti-patterns:\n- ❌ Fetch initial data in `useEffect`.\n- ❌ Cache or revalidate too broadly.\n- ❌ Client-only authz.\n\nReferences: see `references/` (server actions, fetching, caching, routing, auth, testing).",
  "cost": {
    "context_tokens": 107
  }
}

Fetch it by URL: GET /api/v1/registry/bobmatnyc-claude-mpm-skills-nextjs-core/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.