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.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.svg" alt="Measured on agentmods" 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 $0.00039 $0.02475
Sonnet 5 $0.00016 $0.00990
Haiku 4.5 $0.00008 $0.00495

Measured 4d ago against content hash eb854ad24ffb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 4d 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. 4d 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 (7 stars, last pushed 12d ago), licensed MIT. It adds 79 tokens to every session and 4,951 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

tanstack-start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 +…

jezweb/claude-skills · 115 tokens

trigger-realtime-and-frontend

Trigger.dev client/frontend surface: subscribe to runs in realtime (runs.subscribeToRun and the @trigger.dev/react-hooks hook useRealtimeRun), consume metadata and AI/text streams in React (useRealtimeStream), trigger tasks from the browser (useTaskTrigger, useRealtimeTaskTrigger), and mint scoped frontend credentials…

triggerdotdev/trigger.dev · 148 tokens

frontend-code-review

Trigger when the user requests a review of frontend files (e.g., .tsx, .ts, .js). Support both pending-change reviews and focused file reviews while applying the checklist rules.

sangrokjung/claude-forge · 42 tokens

animation-patterns

Framer Motion patterns, page transitions, skeleton loading, scroll-linked animations, and gesture-based interactions for React.

vibeeval/vibecosystem · 26 tokens

tailwind-theme-builder

Set up Tailwind v4 + shadcn/ui themed UI with dark mode. Install deps, configure CSS variables via @theme inline, wire dark mode toggle, verify. Use whenever the user mentions Tailwind v4, setting up Tailwind theming, shadcn/ui colours, dark mode, or troubleshooting colours not working, tw-animate-css errors, @theme…

jezweb/claude-skills · 98 tokens

react-native

React Native and Expo patterns for building performant mobile apps. Covers list performance, animations with Reanimated, navigation, UI patterns, state management, platform-specific code, and Expo workflows. Use when building or reviewing React Native code. Triggers: 'react native', 'expo', 'mobile app', 'react native…

jezweb/claude-skills · 91 tokens