nextjs-developer

nextjs-developer is a skill for Claude Code from ivklgn/ai-kit. It costs 103 tokens per session (1,470 once invoked), scanned A, original, MIT.

A development guide for Next.js applications, a React framework for building web pages and server-backed features. It covers the App Router, server components, server actions, route handlers, middleware, streaming, SEO metadata, and deployment.

In plain words
What is it for?
Use it to build routes, API handlers, middleware, loading and error pages, server-rendered features, SEO metadata, or deployment configurations in a Next.js project.
Why use it?
Next.js behavior varies by installed version and by whether a project uses the App Router or older Pages Router. This guide checks the project setup first so changes fit the existing code and deployment target.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { createProduct } from '../actions'.

Part of the ai-kit plugin — 22 skills, 15 commands, 30 agents shipped together

Good fit Use it to build routes, API handlers, middleware, loading and error pages, server-rendered features, SEO metadata, or deployment configurations in a Next.js project.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ivklgn/ai-kit
agentmods
npx agentmods add skills/ivklgn/ai-kit/nextjs-developer

Made for: Claude Code.

Or install ai-kit, the plugin that ships this one along with the rest of its 22 skills, 15 commands, 30 agents.

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-developer

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivklgn/ai-kit/nextjs-developer/github.svg)](https://agentmods.dev/skills/ivklgn/ai-kit/nextjs-developer)
Your own site
<a href="https://agentmods.dev/skills/ivklgn/ai-kit/nextjs-developer"><img src="https://agentmods.dev/badge/skills/ivklgn/ai-kit/nextjs-developer/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-developer

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivklgn/ai-kit/nextjs-developer"><img src="https://agentmods.dev/badge/skills/ivklgn/ai-kit/nextjs-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,470 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 5
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • medium Data Exfiltration · line 68
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00103 $0.01470
Opus 5.5 $0.00041 $0.00588
Sonnet 5.5 $0.00021 $0.00294
Haiku 4.5 $0.00010 $0.00147

Measured 1mo ago against content hash b58838a6e7d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nextjs-developer 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 1mo 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.

plugins/ai-kit/skills/nextjs-developer/SKILL.md · 148 lines

How it starts

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

Next.js Developer

Senior Next.js developer with expertise in the App Router, server components, and full-stack deployment with focus on performance and SEO excellence. Builds against the project's installed Next.js version — not an assumed one.

Step 0: Detect the Project Setup

Before writing any code:

  1. Read package.json — the installed next version drives which APIs exist (e.g. async params/searchParams and stable Turbopack in 15+, Partial Prerendering availability, caching defaults that changed between 14 and 15)
  2. Detect the router: app/ directory → App Router; pages/ → Pages Router; both → migration in progress, follow the direction the team is moving
  3. Note the deployment target (Vercel, Docker/self-hosted via output: 'standalone', static export) from next.config.* and CI files
  4. For version-specific API details, verify against the docs for the installed major (Context7 or nextjs.org) — caching semantics changed significantly across 13/14/15

Router rule: For new projects, use the App Router. In an existing Pages Router codebase, do not unilaterally convert — implement in the established router and flag migration as a separate decision. The guidance below assumes the App Router.

Core Workflow

  1. Architecture planning — Define app structure, routes, layouts, rendering strategy
  2. Implement routing — Create App Router structure with layouts, templates, loading/error states
  3. Data layer — Set up server components, data fetching, caching, revalidation
  4. Optimize — Images, fonts, bundles, streaming, edge runtime
  5. Deploy — Production build, environment setup, monitoring
    • Validate: run next build locally, confirm zero type errors, check NEXT_PUBLIC_* and server-only env vars are set, run Lighthouse/PageSpeed to confirm Core Web Vitals > 90

Reference Guide

Load detailed guidance based on context (written against Next.js 14+; double-check specifics against the installed version):

Topic Reference Load When
App Router references/app-router.md File-based routing, layouts, templates, route groups
Server Components references/server-components.md RSC patterns, streaming, client boundaries
Server Actions references/server-actions.md Form handling, mutations, revalidation
Data Fetching references/data-fetching.md fetch, caching, ISR, on-demand revalidation
Deployment references/deployment.md Vercel, self-hosting, Docker, optimization

Read the full file on GitHub · 148 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 148 lines · 103 tokens per session scan A b58838a6e7d4

Subscribe to this mod's changes

nextjs-developer is a skill published in the GitHub repository ivklgn/ai-kit (12 stars, last pushed 1mo ago), licensed MIT. It adds 103 tokens to every session and 1,470 once invoked, about $0.0004 per session on Opus 5.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-30.

Related

Other skills, from other repositories

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

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

r3f-component-patterns

Advanced React Three Fiber component patterns including reusable components, hooks, composition, and performance optimization.

bullish0x/GameStudio · 24 tokens

r3f-performance

React Three Fiber performance optimization with memoization, instancing, LOD, suspense, and mobile-specific optimizations.

bullish0x/GameStudio · 27 tokens