All skills
wsimmonds avatar

wsimmonds/claude-nextjs-skills

A proof of concept set of Claude Skills designed to improve the pass rates against the Next.js evals on https://nextjs.org/evals

main Updated last yearGitHub
README badge for wsimmonds/claude-nextjs-skills

Repository statistics

  • Indexed skills

    10

  • Skill groups

    1

  • GitHub stars

    108

  • Forks

    22

10 total

/nextjs-advanced-routing

Guide for advanced Next.js App Router patterns including Route Handlers, Parallel Routes, Intercepting Routes, Server Actions, error boundaries, draft mode, and streaming with Suspense. CRITICAL for server actions (action.ts, actions.ts files, 'use server' directive), setting cookies from client components, and form handling. Use when requirements involve server actions, form submissions, cookies, mutations, API routes, `route.ts`, parallel routes, intercepting routes, or streaming. Essential for separating server actions from client components.

/nextjs-anti-patterns

Identify and fix common Next.js App Router anti-patterns and mistakes. Use when reviewing code for Next.js best practices, debugging performance issues, migrating from Pages Router patterns, or preventing common pitfalls. Activates for code review, performance optimization, or detecting inappropriate useEffect/useState usage. CRITICAL: For browser detection, keep the logic in the user-facing component (or a composed helper that it renders) rather than isolating it in unused files.

/nextjs-server-client-components

Guide for choosing between Server Components and Client Components in Next.js App Router. CRITICAL for useSearchParams (requires Suspense + 'use client'), navigation (Link, redirect, useRouter), cookies/headers access, and 'use client' directive. Activates when prompt mentions useSearchParams, Suspense, navigation, routing, Link component, redirect, pathname, searchParams, cookies, headers, async components, or 'use client'. Essential for avoiding mixing server/client APIs.

The badge links readers to this page. It shows the skilld mark and no counts, and it follows the reader's light or dark GitHub theme.

<a href="https://skilld.dev/gh/wsimmonds/claude-nextjs-skills"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://skilld.dev/b/wsimmonds/claude-nextjs-skills?theme=dark"> <source media="(prefers-color-scheme: light)" srcset="https://skilld.dev/b/wsimmonds/claude-nextjs-skills?theme=light"> <img alt="Skill repository on skilld.dev" src="https://skilld.dev/b/wsimmonds/claude-nextjs-skills?theme=light"> </picture> </a>