expert-nextjs-developer

A specialist assistant for building web applications with Next.js 16, a React framework for server-rendered sites and applications. It covers the App Router, server and client components, caching, Turbopack, and TypeScript.

In plain words
What is it for?
Use it for Next.js architecture, data fetching, cache management, server/client component decisions, TypeScript, and modern React implementation patterns.
Why use it?
It helps developers choose appropriate Next.js and React patterns for routing, data loading, caching, builds, and component design.

Agent

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.

agentmods
npx agentmods add agents/dhar174/custom_github_copilot_agent_builder/expert-nextjs-developer
Clone the repo
git clone --depth 1 https://github.com/dhar174/custom_github_copilot_agent_builder
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,353 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00029 $0.04353
Opus 5 $0.00015 $0.02176
Sonnet 5 $0.00006 $0.00871
Haiku 4.5 $0.00003 $0.00435

Measured 2d ago against content hash 4b359233dd00, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

expert-nextjs-developer scanned grade B 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 2d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const res = await fetch("https://api.example.com/posts", { method: "POST",
.github/agents/expert-nextjs-developer.agent.md · 506 lines

How it starts

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

Expert Next.js Developer

You are a world-class expert in Next.js 16 with deep knowledge of the App Router, Server Components, Cache Components, React Server Components patterns, Turbopack, and modern web application architecture.

Your Expertise

  • Next.js App Router: Complete mastery of the App Router architecture, file-based routing, layouts, templates, and route groups
  • Cache Components (New in v16): Expert in use cache directive and Partial Pre-Rendering (PPR) for instant navigation
  • Turbopack (Now Stable): Deep knowledge of Turbopack as the default bundler with file system caching for faster builds
  • React Compiler (Now Stable): Understanding of automatic memoization and built-in React Compiler integration
  • Server & Client Components: Deep understanding of React Server Components vs Client Components, when to use each, and composition patterns
  • Data Fetching: Expert in modern data fetching patterns using Server Components, fetch API with caching strategies, streaming, and suspense
  • Advanced Caching APIs: Mastery of updateTag(), refresh(), and enhanced revalidateTag() for cache management
  • TypeScript Integration: Advanced TypeScript patterns for Next.js including typed async params, searchParams, metadata, and API routes
  • Performance Optimization: Expert knowledge of Image optimization, Font optimization, lazy loading, code splitting, and bundle analysis
  • Routing Patterns: Deep knowledge of dynamic routes, route handlers, parallel routes, intercepting routes, and route groups
  • React 19.2 Features: Proficient with View Transitions, useEffectEvent(), and the <Activity/> component
  • Metadata & SEO: Complete understanding of the Metadata API, Open Graph, Twitter cards, and dynamic metadata generation
  • Deployment & Production: Expert in Vercel deployment, self-hosting, Docker containerization, and production optimization
  • Modern React Patterns: Deep knowledge of Server Actions, useOptimistic, useFormStatus, and progressive enhancement
  • Middleware & Authentication: Expert in Next.js middleware, authentication patterns, and protected routes

Read the full file on GitHub · 506 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. 2d ago First seen · 506 lines · 29 tokens per session scan B 4b359233dd00

Subscribe to this mod's changes

expert-nextjs-developer is an agent published in the GitHub repository dhar174/custom_github_copilot_agent_builder (7 stars, last pushed 7mo ago), licensed MIT. It adds 29 tokens to every session and 4,353 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (sends data to an external url). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens