nextjs-frontend

Provide reference knowledge for building Next.js 14 App Router frontend components and patterns.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/koenvorster/Personal_project_VorstersNV --skill nextjs-frontend-koenvorster
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs-frontend
Source: https://github.com/koenvorster/Personal_project_VorstersNV/tree/main/.claude/skills/nextjs-frontend
Command: npx skills add https://github.com/koenvorster/Personal_project_VorstersNV --skill nextjs-frontend-koenvorster

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides structured, in-context guidance and best-practices for building Next.js 14 App Router frontends, helping teams standardize patterns and reduce setup time.

Core Features & Use Cases

  • Templates and references for App Router layouts, server and client components, routing conventions, Tailwind integration, and data-testid usage.
  • Use Case: A developer migrating a legacy Next.js app to App Router can consult this skill to implement a clean route structure and consistent UI components.

Quick Start

Follow these patterns to scaffold a Next.js 14 App Router frontend with server and client components, Tailwind styling, and data-testid attributes.

Frequently Asked Questions about nextjs-frontend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure server and client components in Next.js 14 App Router?

Next.js 14 App Router uses server components by default for data fetching and rendering, adding client components only when state or interactivity is required. This skill provides reference templates for implementing these frontend patterns with TypeScript strict mode.

What is the best way to migrate a legacy Next.js app to App Router conventions?

Migrating to App Router conventions involves adopting new layout files and routing strategies to replace legacy pages. This skill provides structured guidance for standardizing Next.js 14 route structures, TypeScript usage, and Tailwind CSS integration during migration.

Does this Next.js App Router skill work with Tailwind CSS and TypeScript strict mode?

Yes, this Next.js App Router skill specifically supports Tailwind CSS integration and TypeScript strict usage. It provides component templates and frontend patterns that enforce these styling and typing conventions within your application.

How do I add data-testid attributes to Next.js UI components?

Add data-testid attributes to Next.js UI components by following standardized frontend patterns for testing selectors. This skill outlines specific data-testid conventions to ensure consistent query targeting across server and client components.

When should I use client components instead of server components in Next.js?

Use client components instead of server components in Next.js only when you need interactivity, state, or browser APIs. This skill provides reference knowledge to help standardize these architectural choices and maintain server components by default.