Skip to main content
skill CX Codex

nextjs-developer · zebbern — Claude Code skill: features and installation

Build Next.js 14+ apps with App Router using guidance for server components, data fetching, SEO, and deployment preparation.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add zebbern/claude-code-guide --skill nextjs-developer -a claude-code
Open on GitHub

What nextjs-developer does

The skill guides work from app structure and routes through the data layer, then covers image, font, and bundle optimization and deployment preparation. It directs projects to App Router, so its guidance conflicts with a Pages Router architecture.

Reference files cover routing, server components and actions, data fetching, and deployment. The skill calls for strict TypeScript, server components by default, cached fetch options, and the Metadata API for SEO. Client components need the 'use client' marker; loading states and error boundaries are part of the guidance too.

Use it for full-stack features, form mutations, data revalidation, and deployment setup. Supported platforms include Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode.

What it helps with

  • organize routes and layouts with App Router
  • fetch and cache data in server components
  • handle form mutations with server actions
  • set SEO metadata through the Metadata API
  • prepare a Next.js app for deployment

Example prompts for the agent

  • Set up routes and layouts for this Next.js 14+ app with App Router.
  • Add a server action to handle this form and revalidate the data.
  • Review the SEO metadata and image optimization in my Next.js app.

How to install nextjs-developer

1Skills CLI (Vercel)

npx skills add zebbern/claude-code-guide --skill nextjs-developer -a claude-code

2Manually: put the files in place

~/.claude/skills/nextjs-developer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/nextjs-developer/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about nextjs-developer

How do I install nextjs-developer in Claude Code?

Run npx skills add zebbern/claude-code-guide --skill nextjs-developer -a claude-code. The skill file is at ~/.claude/skills/nextjs-developer/SKILL.md.

What does nextjs-developer do?

It guides Next.js 14+ development with App Router, covering server components, data fetching, SEO, and deployment preparation.

Does nextjs-developer support Pages Router?

The skill directs projects to App Router and says not to use Pages Router. Its guidance is written for App Router projects.

Source text

SKILL.md · MIT
---
name: nextjs-developer
description: Use when building Next.js 14+ applications with App Router, server components, or server actions. Invoke for full-stack features, performance optimization, SEO implementation, production deployment.
license: MIT
metadata:
  author: https://github.com/Jeffallan
  version: "1.0.0"
  domain: frontend
  triggers: Next.js, Next.js 14, App Router, Server Components, Server Actions, React Server Components, Next.js deployment, Vercel, Next.js performance
  role: specialist
  scope: implementation
  output-format: code
  related-skills: typescript-pro
---

# 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

© https://github.com/Jeffallan · MIT · zebbern/claude-code-guide

Similar skills

All skills for Frontend and UI →

nextjs-developer by other authors comes first.

From the same set24

r2-upload Uploads files to Cloudflare R2, AWS S3, and compatible storage, then returns a temporary download link. Use it when a file needs to be shared with an expiration time. CX Codex +1 ★ 4,679repo stars project-sizing-guide Produces effort estimates with PERT, T-shirt sizing or Function Point Analysis. Useful when someone asks how long a feature will take. CX Codex +1 ★ 4,679repo stars playwright-skill Guides an agent through Playwright test design, from locator choices to debugging and CI setup. Useful for E2E, API, and component checks. CX Codex +1 ★ 4,679repo stars pipeline-blueprint The skill hands you CI/CD pipeline templates for GitHub Actions and GitLab CI, picked by project type. Useful when you're setting up CI or cleaning up a pipeline that grew messy. CX Codex +1 ★ 4,679repo stars network-101 A skill that walks the agent through standing up and testing HTTP, HTTPS, SNMP and SMB in a pentest lab, from service config to log analysis. CX Codex +1 ★ 4,679repo stars linux-shell-scripting A skill that hands your agent ready bash templates for backups, resource monitoring, user management and log parsing. Useful when you want a working script, not a sketch. CX Codex +1 ★ 4,679repo stars file-path-traversal This skill guides directory traversal and LFI checks in web apps. Use it when a request may expose files beyond the intended web root. CX Codex +1 ★ 4,679repo stars dev-guide-generator Turns a technical topic into a full tutorial: prerequisites, environment setup, core steps, error troubleshooting and a closing cheatsheet. CX Codex +1 ★ 4,679repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor