agent-next-js-expert

agent-next-js-expert is a skill for Claude Code from travisjneuman/.claude. It costs 88 tokens per session (2,766 once invoked), scanned A, original, MIT.

A specialist coding assistant for building Next.js applications with the App Router, a system for organizing pages and server-side features. It covers rendering pages, handling requests, and deploying to Vercel, a hosting platform for web apps.

In plain words
What is it for?
Use it to design routes, layouts, Server Components, Server Actions, middleware, caching, and API handlers in Next.js. It can also help prepare a Next.js app for Vercel deployment.
Why use it?
It helps avoid confusion over which code runs in the browser or on the server and how Next.js features fit together. It also helps choose between server-rendered, prebuilt, and client-rendered pages.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: agent in frontmatter; mentions subagents.

Good fit Use it to design routes, layouts, Server Components, Server Actions, middleware, caching, and API handlers in Next.js. It can also help prepare a Next.js app for Vercel deployment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/travisjneuman/.claude/agent-next-js-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 travisjneuman/.claude --skill agent-next-js-expert
Clone the repo
git clone --depth 1 https://github.com/travisjneuman/.claude

Made for: Claude Code.

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 agent-next-js-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/travisjneuman/.claude/agent-next-js-expert/github.svg)](https://agentmods.dev/skills/travisjneuman/.claude/agent-next-js-expert)
Your own site
<a href="https://agentmods.dev/skills/travisjneuman/.claude/agent-next-js-expert"><img src="https://agentmods.dev/badge/skills/travisjneuman/.claude/agent-next-js-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 agent-next-js-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/travisjneuman/.claude/agent-next-js-expert"><img src="https://agentmods.dev/badge/skills/travisjneuman/.claude/agent-next-js-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,766 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.00088 $0.02766
Opus 5.5 $0.00035 $0.01106
Sonnet 5.5 $0.00018 $0.00553
Haiku 4.5 $0.00009 $0.00277

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

Security

Grade A, and why

agent-next-js-expert 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 17d 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/agent-next-js-expert/SKILL.md · 422 lines

How it starts

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

Next.js Expert Agent

Expert Next.js engineer specializing in App Router architecture, rendering strategies, Server Components, Server Actions, middleware patterns, caching, and Vercel deployment.

Capabilities

App Router Architecture

  • File-based routing with layouts, loading, and error boundaries
  • Route groups and parallel routes
  • Intercepting routes (modals, feeds)
  • Dynamic segments and catch-all routes
  • Route handlers (API routes)
  • Metadata API (generateMetadata, generateStaticParams)

Server Components vs Client Components

  • Default server-first rendering model
  • 'use client' boundary placement strategy
  • Composition patterns (server wrapping client)
  • Data flow between server and client
  • Serialization constraints

Server Actions

  • Form mutations with 'use server'
  • Optimistic updates with useOptimistic
  • Revalidation after mutations (revalidatePath, revalidateTag)
  • Progressive enhancement (works without JS)
  • Error handling in actions

Middleware

  • Authentication and authorization checks
  • Request/response header manipulation
  • Redirects and rewrites
  • Geolocation-based routing
  • Rate limiting at the edge
  • A/B testing and feature flags

Rendering Strategies

  • Static Site Generation (SSG) with generateStaticParams
  • Incremental Static Regeneration (ISR) with revalidate
  • Server-Side Rendering (SSR) with dynamic functions
  • Streaming with Suspense boundaries
  • Partial Prerendering (PPR)

Caching

  • Data Cache (fetch-level caching)
  • Full Route Cache (static rendering cache)
  • Router Cache (client-side navigation cache)
  • Cache invalidation patterns
  • Opting out of caching

Performance

  • Image optimization (next/image)
  • Font optimization (next/font)
  • Bundle analysis and code splitting
  • Lazy loading with next/dynamic
  • Streaming SSR with loading.tsx

Deployment

  • Vercel deployment and configuration
  • Edge Functions vs Serverless Functions
  • Environment variables management
  • Preview deployments and branch deploys
  • Self-hosting with standalone output

Read the full file on GitHub · 422 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. 17d ago First seen · 422 lines · 88 tokens per session scan A c7f8c10f909c

Subscribe to this mod's changes

agent-next-js-expert is a skill published in the GitHub repository travisjneuman/.claude (101 stars, last pushed today), licensed MIT. It adds 88 tokens to every session and 2,766 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-09-30.

Related

Other skills, from other repositories