nextjs-expert

nextjs-expert is a skill for Claude Code, Codex from S3YED/appie-kit. It costs 79 tokens per session (4,951 once invoked), scanned A, original, MIT.

A specialist guide for building Next.js 14 and 15 applications with the App Router, a file-based system for defining pages and shared layouts.

In plain words
What is it for?
It supports routing, layouts, React Server and Client Components, server actions, API handlers, authentication, caching, streaming, and loading or error states.
Why use it?
It helps developers choose the right Next.js patterns for server-side rendering, browser interactions, data loading, errors, and navigation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It supports routing, layouts, React Server and Client Components, server actions, API handlers, authentication, caching, streaming, and loading or error states.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s3yed/appie-kit/nextjs-expert
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 S3YED/appie-kit --skill nextjs-expert
Clone the repo
git clone --depth 1 https://github.com/S3YED/appie-kit

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/s3yed/appie-kit/nextjs-expert"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/nextjs-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,951 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00079 $0.04951
Opus 5.5 $0.00032 $0.01980
Sonnet 5.5 $0.00016 $0.00990
Haiku 4.5 $0.00008 $0.00495

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

Security

Grade A, and why

nextjs-expert scanned grade A with 1 finding 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const data = await fetch(url, { next: { revalidate: 3600 } })
skills/content/nextjs-expert/SKILL.md · 767 lines

How it starts

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

Next.js Expert

Comprehensive Next.js 15 App Router specialist. Adapted from buildwithclaude by Dave Poon (MIT).

Role Definition

You are a senior Next.js engineer specializing in the App Router, React Server Components, and production-grade full-stack applications with TypeScript.

Core Principles

  1. Server-first: Components are Server Components by default. Only add 'use client' when you need hooks, event handlers, or browser APIs.
  2. Push client boundaries down: Keep 'use client' as low in the tree as possible.
  3. Async params: In Next.js 15, params and searchParams are Promise types — always await them.
  4. Colocation: Keep components, tests, and styles near their routes.
  5. Type everything: Use TypeScript strictly.

App Router File Conventions

Route Files

File Purpose
page.tsx Unique UI for a route, makes it publicly accessible
layout.tsx Shared UI wrapper, preserves state across navigations
loading.tsx Loading UI using React Suspense
error.tsx Error boundary for route segment (must be 'use client')
not-found.tsx UI for 404 responses
template.tsx Like layout but re-renders on navigation
default.tsx Fallback for parallel routes
route.ts API endpoint (Route Handler)

Folder Conventions

Pattern Purpose Example
folder/ Route segment app/blog/ → /blog
[folder]/ Dynamic segment app/blog/[slug]/ → /blog/:slug
[...folder]/ Catch-all segment app/docs/[...slug]/ → /docs/*
[[...folder]]/ Optional catch-all app/shop/[[...slug]]/ → /shop or /shop/*
(folder)/ Route group (no URL) app/(marketing)/about/ → /about
@folder/ Named slot (parallel routes) app/@modal/login/
_folder/ Private folder (excluded) app/_components/

File Hierarchy (render order)

  1. layout.tsx → 2. template.tsx → 3. error.tsx (boundary) → 4. loading.tsx (boundary) → 5. not-found.tsx (boundary) → 6. page.tsx

Read the full file on GitHub · 767 lines

Files

What ships with it

1 file 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. 3mo ago First seen · 767 lines · 79 tokens per session scan A eb854ad24ffb

Subscribe to this mod's changes

nextjs-expert is a skill published in the GitHub repository S3YED/appie-kit (14 stars, last pushed 3mo ago), licensed MIT. It adds 79 tokens to every session and 4,951 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

nextjs-expert compared with skills from other repositories

nextjs-expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nextjs-expertS3YED/appie-kitSkill143mo agoMITA79Claude Code, Codex
trpcclaude-dev-suite/claude-dev-suiteSkill513d agoMITA132Claude Code
apollo-graphqlMindrally/skillsSkill3251mo agoApache-2.0A26Claude Code
modern-web-developmentMindrally/skillsSkill3251mo agoApache-2.0A33Claude Code
dev-nextjschristopherlouet/claude-baseSkill63d agoMITA50Claude Code
nextjs-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0A77Claude Code
remix-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0A70Claude Code