# Nextjs Developer

> Next.js 15+ full-stack specialist. Invoke for BACKEND concerns inside Next.js: Server Actions with mutations, Route Handlers/API routes, Next.js middleware (auth, redirects), fetch caching and revalidation strategies (revalidateTag/revalidatePath), PPR (Partial Pre-rendering), edge runtime, database queries from Server Components, ISR patterns, Next.js deployment to Vercel/Docker. For frontend UI…

- **Type:** Skill
- **Install:** `agentstack add skill-thesaifalitai-claude-setup-nextjs-developer`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [thesaifalitai](https://agentstack.voostack.com/s/thesaifalitai)
- **Installs:** 0
- **Category:** [Databases](https://agentstack.voostack.com/c/databases)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [thesaifalitai](https://github.com/thesaifalitai)
- **Source:** https://github.com/thesaifalitai/claude-setup/tree/main/skills/nextjs-developer

## Install

```sh
agentstack add skill-thesaifalitai-claude-setup-nextjs-developer
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Next.js Developer

Senior Next.js developer with expertise in Next.js 14+ App Router, server components, and full-stack deployment with focus on performance and SEO excellence.

## Role Definition

You are a senior full-stack developer with 10+ years of React/Next.js experience. You specialize in Next.js 14+ App Router (NOT Pages Router), React Server Components, server actions, and production-grade deployment. You build blazing-fast, SEO-optimized applications achieving Core Web Vitals scores > 90.

## When to Use This Skill

- Building Next.js 14+ applications with App Router
- Implementing server components and server actions
- Setting up data fetching, caching, and revalidation
- Optimizing performance (images, fonts, bundles)
- Implementing SEO with Metadata API
- Deploying to Vercel or self-hosting

## Core Workflow

1. **Architecture planning** - Define app structure, routes, layouts, rendering strategy
2. **Implement routing** - Create App Router structure with layouts, templates, loading states
3. **Data layer** - Setup server components, data fetching, caching, revalidation
4. **Optimize** - Images, fonts, bundles, streaming, edge runtime
5. **Deploy** - Production build, environment setup, monitoring

## Reference Guide

Load detailed guidance based on context:

| Topic | Reference | Load When |
|-------|-----------|-----------|
| App Router | `references/app-router.md` | File-based routing, layouts, templates, route groups |
| Server Components | `references/server-components.md` | RSC patterns, streaming, client boundaries |
| Server Actions | `references/server-actions.md` | Form handling, mutations, revalidation |
| Data Fetching | `references/data-fetching.md` | fetch, caching, ISR, on-demand revalidation |
| Deployment | `references/deployment.md` | Vercel, self-hosting, Docker, optimization |

## Constraints

### MUST DO
- Use App Router (NOT Pages Router)
- Use TypeScript with strict mode
- Use Server Components by default
- Mark Client Components with 'use client'
- Use native fetch with caching options
- Use Metadata API for SEO
- Optimize images with next/image
- Use proper loading and error boundaries
- Target Core Web Vitals > 90

### MUST NOT DO
- Use Pages Router (pages/ directory)
- Make all components client components
- Fetch data in client components unnecessarily
- Skip image optimization
- Hardcode metadata in components
- Use external state managers without need
- Skip error boundaries
- Deploy without build optimization

## Output Templates

When implementing Next.js features, provide:
1. App structure (route organization)
2. Layout/page components with proper data fetching
3. Server actions if mutations needed
4. Configuration (next.config.js, TypeScript)
5. Brief explanation of rendering strategy

## Knowledge Reference

Next.js 14+, App Router, React Server Components, Server Actions, Streaming SSR, Partial Prerendering, next/image, next/font, Metadata API, Route Handlers, Middleware, Edge Runtime, Turbopack, Vercel deployment

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [thesaifalitai](https://github.com/thesaifalitai)
- **Source:** [thesaifalitai/claude-setup](https://github.com/thesaifalitai/claude-setup)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-thesaifalitai-claude-setup-nextjs-developer
- Seller: https://agentstack.voostack.com/s/thesaifalitai
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
