agent-next-js-expert
Specialist subagent: Next.js App Router, Server Actions, middleware, ISR/SSR/SSG, and Vercel deployment specialist.
Skill by travisjneuman
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/travisjneuman-agent-next-js-expert
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, backend, cloud, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/agent-next-js-expert
What's inside
- Skill name
agent-next-js-expert- Description
- Specialist subagent: Next.js App Router, Server Actions, middleware, ISR/SSR/SSG, and Vercel deployment specialist. Use when building Next.js applications, optimizing rendering strategies, or deploying to Vercel. Trigger phrases: Next.js, App Router, Server Components, Server Actions, ISR, SSG, SSR, middleware, Vercel, layout, loading, generateMetadata.
- License
- MIT
- Instructions
- 416 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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
## When to Use This Agent
- Starting a new Next.js project with App Router
- Migrating from Pages Router to App Router
- Optimizing rendering strategy (SSG vs ISR vs SSR)
- Implementing Server Actions for form handling
- Setting up middleware for auth or redirects
- Debugging caching behavior
- Optimizing Core Web Vitals
- Deploying to Vercel or self-hosting
## Instructions
When working on Next.js tasks:
1. **App Router first**: Always use App Router patterns. Only reference Pages Router if explicitly migrating from it.
2. **Server Components by default**: Every component is a Server Component unless it needs interactivity (useState, useEffect, event handlers). Place `'use client'` as low as possible in the tree.
3. **Understand caching**: Next.js caches aggressively. Know when to opt out (`export const dynamic = 'force-dynamic'`) and when to revalidate.
4. **Progressive enhancement**: Server Actions work without JavaScript. Design forms to degrade gracefully.
5. **Read the project structure**: Before making changes, understand the existing route structure, layout hierarchy, and data fetching patterns.
## Key Patterns
### Server Action with Validation
```typescript
// app/actions/create-post.ts
'use server';
import { z } from 'zod';
import { auth } from '@/auth';
import { prisma } from '@/lib/prisma';
import { revalidatePath } from 'next/cache';
import { redirect } from 'next/navigation';
const CreatePostSchema = z.object({
title: z.string().min(1).max(200),
content: z.string().min(1).max(10000),
published: z.coerce.boolean().default(false),
});
export type ActionState = {
errors?: Record<string, string[]>;
message?: string;
};
export async function createPost(
_prevState: ActionState,From travisjneuman/.claude, MIT.
More from travisjneuman/.claude
- 0.638score
risk-management
travisjneuman
Enterprise risk management expertise for ERM frameworks, risk assessment, business continuity, insurance strategy, third-party risk, and reputational risk.
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
operations
travisjneuman
Operations excellence expertise for supply chain optimization, process improvement (Lean, Six Sigma), capacity planning, vendor management, quality assurance…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
codebase-documenter
travisjneuman
Write codebase documentation: READMEs, architecture docs, getting-started guides, API docs, and code comments.
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
health-wellness
travisjneuman
Workplace health and wellness expertise for employee wellness programs, mental health initiatives, ergonomics and safety, healthcare benefits strategy, and…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
leadership
travisjneuman
Executive leadership expertise for decision-making, change management, crisis management, stakeholder management, team building, and organizational leadership.
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
legal-compliance
travisjneuman
Legal and compliance expertise for corporate governance, contract analysis, regulatory compliance (SOX, GDPR, HIPAA), risk assessment, intellectual property…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
rd-management
travisjneuman
R&D management expertise for R&D portfolio management, technology roadmapping, research methodology, patent strategy, lab management, academic partnerships…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
business-strategy
travisjneuman
Business strategy expertise for strategic planning, competitive analysis, market entry, M&A strategy, portfolio management, and strategic decision-making.
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
finance
travisjneuman
Financial analysis expertise for financial modeling (DCF, LBO, M&A), valuation, financial statement analysis, capital allocation, treasury management, and…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
data-science
travisjneuman
Data science and analytics expertise for statistical analysis, machine learning pipelines, data governance, business intelligence, predictive modeling, and…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
hr-talent
travisjneuman
HR and talent management expertise for talent acquisition, performance management, compensation strategy, organizational design, culture building, succession…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
sales
travisjneuman
Sales strategy expertise for sales methodologies (MEDDIC, SPIN, Challenger), sales forecasting, account management, pipeline management, sales enablement, and…
SkillAFreshness: A★ 106Claude Code +9
Signals
- Stars
- 106
- Forks
- 26
- Open issues
- 2
- Last commit (this folder)
- Sep 30, 2026 (29 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/travisjneuman/.claude
- Website
- claude.travisjneuman.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from travisjneuman
- 0.638score
business-strategy
travisjneuman
Business strategy expertise for strategic planning, competitive analysis, market entry, M&A strategy, portfolio management, and strategic decision-making.
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
finance
travisjneuman
Financial analysis expertise for financial modeling (DCF, LBO, M&A), valuation, financial statement analysis, capital allocation, treasury management, and…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
data-science
travisjneuman
Data science and analytics expertise for statistical analysis, machine learning pipelines, data governance, business intelligence, predictive modeling, and…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
rd-management
travisjneuman
R&D management expertise for R&D portfolio management, technology roadmapping, research methodology, patent strategy, lab management, academic partnerships…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
codebase-documenter
travisjneuman
Write codebase documentation: READMEs, architecture docs, getting-started guides, API docs, and code comments.
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
health-wellness
travisjneuman
Workplace health and wellness expertise for employee wellness programs, mental health initiatives, ergonomics and safety, healthcare benefits strategy, and…
SkillAFreshness: A★ 106Claude Code +9
Cite this page
agent-next-js-expert skill. Agent Mart. https://agentmart.dev/skills/travisjneuman-agent-next-js-expert (last updated 2026-10-24)