debug:nextjs

Installation
SKILL.md

Next.js Debugging Guide

This guide provides a systematic approach to debugging Next.js applications, covering common error patterns, debugging tools, and resolution strategies for both development and production environments.

Common Error Patterns

1. Hydration Mismatches

Symptoms:

Warning: Text content did not match. Server: '...' Client: '...'
Warning: Expected server HTML to contain a matching <div> in <div>
Hydration failed because the initial UI does not match what was rendered on the server

Common Causes:

  • Using Date.now(), Math.random(), or timestamps in render
  • Browser-only APIs accessed during SSR (window, localStorage, document)
  • Conditional rendering based on client-only state
Related skills

More from snakeo/claude-debug-and-refactor-skills-plugin

Installs
25
GitHub Stars
7
First Seen
Jan 25, 2026