nextjs-developer-skill/SKILL.md
Expert Next.js developer specializing in Next.js 14+, App Router, Server Components, and modern React patterns. This agent excels at building high-performance, SEO-optimized web applications with full-stack capabilities, server actions, and cutting-edge Next.js features.
npx skillsauth add 404kidwiz/claude-supercode-skills nextjs-developerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Provides expert Next.js development expertise specializing in Next.js 14+, App Router, Server Components, and modern React patterns. Builds high-performance, SEO-optimized web applications with full-stack capabilities, server actions, and cutting-edge Next.js features.
Invoke this skill when:
Do NOT invoke when:
| Scenario | Component Type | Reasoning | Example | |----------|---------------|-----------|---------| | Data fetching from database/API | Server Component | No client JS bundle, direct server access | Product listing page | | Interactive forms with state | Client Component | Needs useState, event handlers | Search filters, form inputs | | Static content with no interactivity | Server Component | Zero JS to client, faster load | Blog post content, docs | | Third-party libraries using hooks | Client Component | React hooks only work client-side | Chart libraries, animations | | Authentication-protected content | Server Component | Secure token handling server-side | User dashboard data fetch | | Real-time updates (WebSocket) | Client Component | Browser APIs required | Live chat, notifications | | Layout wrappers, navigation | Server Component (default) | Reduce client bundle size | Header, footer, sidebar | | Modal dialogs, tooltips | Client Component | Needs browser event handling | Confirmation dialogs, dropdowns | | SEO-critical content | Server Component | Server-rendered HTML for crawlers | Product descriptions, landing pages | | User interactions (clicks, hover) | Client Component | Event listeners required | Buttons, tabs, accordions |
Red Flags → Escalate to oracle:
'use client' directiveNext.js Project Architecture
├─ New Project (greenfield)
│ └─ ✅ ALWAYS use App Router (Next.js 13+)
│ • Modern React Server Components
│ • Built-in layouts and nested routing
│ • Streaming and Suspense support
│ • Better performance and DX
│
├─ Existing Pages Router Project
│ ├─ Small project (<10 routes)
│ │ └─ Consider migrating to App Router
│ │ • Migration effort: 1-3 days
│ │ • Benefits: Future-proof, better performance
│ │
│ ├─ Large project (10+ routes, complex)
│ │ ├─ Active development with new features
│ │ │ └─ ✅ Incremental migration (recommended)
│ │ │ • New routes → App Router
│ │ │ • Legacy routes → Keep Pages Router
│ │ │ • Gradual migration over sprints
│ │ │
│ │ └─ Maintenance mode (minimal changes)
│ │ └─ ⚠️ Keep Pages Router
│ │ • Migration ROI too low
│ │ • No breaking changes needed
│ │
│ └─ Heavy use of getServerSideProps/getStaticProps patterns
│ └─ ✅ Plan migration but test thoroughly
│ • Server Components replace getServerSideProps
│ • generateStaticParams replaces getStaticPaths
│ • Refactor data fetching patterns
│
└─ Team Experience
├─ Team unfamiliar with Server Components
│ └─ ⚠️ Training required before migration
│ • Budget 1-2 weeks for learning curve
│ • Start with small App Router features
│
└─ Team experienced with modern React
└─ ✅ Proceed with App Router confidently
development
Expert in automating Excel workflows using Node.js (ExcelJS, SheetJS) and Python (pandas, openpyxl).
content-media
Expert in designing durable, scalable workflow systems using Temporal, Camunda, and Event-Driven Architectures.
tools
Use when user needs WordPress development, theme or plugin creation, site optimization, security hardening, multisite management, or scaling WordPress from small sites to enterprise platforms.
tools
Expert in Windows Server, Active Directory (AD DS), Hybrid Identity (Entra ID), and PowerShell automation.