nextjs-16

nextjs-16 is a skill for Claude Code from medy-gribkov/arcana. It costs 53 tokens per session (3,121 once invoked), scanned A, original, Apache-2.0.

A development guide for building web applications with Next.js 16, a React framework for creating server-rendered and interactive websites. It covers the App Router, server components, streaming, caching, and request handling.

In plain words
What is it for?
Use it to structure Next.js applications, build API routes and pages, handle loading and errors, stream UI, cache selected code, and add interactive React features.
Why use it?
It helps developers follow current Next.js 16 patterns and avoid older approaches that are no longer recommended, such as the Pages Router and middleware.ts.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to structure Next.js applications, build API routes and pages, handle loading and errors, stream UI, cache selected code, and add interactive React features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/medy-gribkov/arcana/nextjs-16
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add medy-gribkov/arcana --skill nextjs-16
Clone the repo
git clone --depth 1 https://github.com/medy-gribkov/arcana

Made for: Claude Code.

Its marketplace also offers this one on its own, as the plugin nextjs-16/plugin install nextjs-16 after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nextjs-16

README.md
[![agentmods](https://agentmods.dev/badge/skills/medy-gribkov/arcana/nextjs-16/github.svg)](https://agentmods.dev/skills/medy-gribkov/arcana/nextjs-16)
Your own site
<a href="https://agentmods.dev/skills/medy-gribkov/arcana/nextjs-16"><img src="https://agentmods.dev/badge/skills/medy-gribkov/arcana/nextjs-16/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nextjs-16

Your own site · 80×15
<a href="https://agentmods.dev/skills/medy-gribkov/arcana/nextjs-16"><img src="https://agentmods.dev/badge/skills/medy-gribkov/arcana/nextjs-16.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,121 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.03121
Opus 5 $0.00026 $0.01561
Sonnet 5 $0.00011 $0.00624
Haiku 4.5 $0.00005 $0.00312

Measured 10d ago against content hash cc4683d6d024, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

nextjs-16 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/nextjs-16/SKILL.md · 496 lines

How it starts

The opening of the file, as written. The whole thing — 496 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Next.js 16 Development Skill

You are a Next.js 16 expert. Build modern web applications using Turbopack, Cache Components, App Router, React Server Components, and streaming SSR.

Core Principles

  1. Server Components by default. Client Components only when needed (interactivity, hooks, browser APIs).
  2. Streaming and Suspense. Load UI progressively, never block entire page.
  3. Cache Components over implicit caching. Use "use cache" directive explicitly. All dynamic code runs at request time by default.
  4. Type safety. TypeScript strict mode. All params/searchParams are async (await params).
  5. proxy.ts over middleware.ts. Use proxy.ts for request interception (Node.js runtime). middleware.ts is deprecated.

App Router Structure

BAD - Pages Router patterns:

// pages/api/users.ts - REMOVED IN 16
export default function handler(req, res) {
  res.json({ users: [] })
}

GOOD - App Router with colocation:

// app/dashboard/page.tsx
export default function DashboardPage() {
  return <div>Dashboard</div>
}

// app/api/users/route.ts
export async function GET() {
  return Response.json({ users: [] })
}

// app/dashboard/layout.tsx
export default function DashboardLayout({ children }: { children: React.ReactNode }) {
  return <div className="dashboard-wrapper">{children}</div>
}

Cache Components (New in 16)

BAD - Relying on implicit caching (removed in 16):

// experimental.ppr flag - REMOVED
// next.config: { experimental: { ppr: true } } - REMOVED

export default async function PostsPage() {
  const res = await fetch('https://api.example.com/posts', {
    cache: 'force-cache' // Old implicit caching
  })
  const posts = await res.json()
  return <PostList posts={posts} />
}

GOOD - Explicit Cache Components with "use cache":

// next.config.ts
const nextConfig = {
  cacheComponents: true,
}
export default nextConfig

// app/posts/page.tsx
"use cache"

export default async function PostsPage() {
  const posts = await db.posts.findMany()
  return <PostList posts={posts} />
}

Read the full file on GitHub · 496 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 496 lines · 53 tokens per session scan A cc4683d6d024

Subscribe to this mod's changes

nextjs-16 is a skill published in the GitHub repository medy-gribkov/arcana (1 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 53 tokens to every session and 3,121 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

react-component

Build production-ready React components — hooks, context, accessibility, TypeScript types, and Storybook stories.

inbharatai/claude-skills · 24 tokens

generic-react-ux-designer

Professional UI/UX design expertise for React applications. Covers design thinking, user psychology (Hick's/Fitts's/Jakob's Law), visual hierarchy, interaction patterns, accessibility, performance-driven design, and design critique. Use when designing features, improving UX, solving user problems, or conducting design…

travisjneuman/.claude · 69 tokens

generic-react-feature-developer

Guide feature development for React applications with architecture focus. Covers Zustand/Redux patterns, IndexedDB usage, component systems, lazy loading strategies, and seamless integration. Use when adding new features, refactoring existing code, or planning major changes.

travisjneuman/.claude · 53 tokens

generic-react-code-reviewer

Review React/TypeScript code for bugs, security vulnerabilities, performance issues, accessibility gaps, and CLAUDE.md workflow compliance. Enforces TypeScript strict mode, GPU-accelerated animations, WCAG AA accessibility, bundle size limits, and surgical simplicity. Use when completing features, before commits, or…

travisjneuman/.claude · 71 tokens

generic-react-design-system

Complete design system reference for React applications. Covers colors, typography, spacing, component patterns, glassmorphism effects, GPU-accelerated animations, and WCAG AA accessibility. Use when implementing UI, choosing colors, applying spacing, creating components, or ensuring brand consistency.

travisjneuman/.claude · 59 tokens

web-dnd-dnd-kit

Drag and drop with @dnd-kit - draggable, droppable, sortable, collision detection, sensors, accessibility.

agents-inc/skills · 29 tokens