nextjs-404-troubleshooting
OfficialFix Next.js 404 errors
AuthorWebSmartTeam
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill resolves common Next.js 404 errors, including issues with asynchronous parameters, Server-Side Rendering (SSR) conflicts with localStorage, and domain configuration mismatches, ensuring pages are generated correctly.
Core Features & Use Cases
- Async Params Fix: Correctly handles Next.js 15/16 breaking changes where parameters are now Promise-based.
- SSR localStorage Guard: Prevents
localStorageerrors during SSR by adding a window check. - Domain Unification: Ensures consistency between apex and subdomain configurations.
- Use Case: Resolve a situation where dynamic routes are returning 404 errors after upgrading Next.js, or when
localStorageis causing build failures.
Quick Start
Use the nextjs-404-troubleshooting skill to fix async params and localStorage SSR issues in Next.js.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: nextjs-404-troubleshooting Download link: https://github.com/WebSmartTeam/COR-CODE/archive/main.zip#nextjs-404-troubleshooting Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.