nextjs-params
Installation
SKILL.md
Next.js Dynamic Route Params Fixer
Purpose
This skill detects and fixes Next.js 15 dynamic route parameter issues where params is used without await. In Next.js 15, dynamic route parameters became asynchronous and must be awaited.
When to Use
This skill should trigger automatically when:
- File Analysis: Analyzing TypeScript/JavaScript files in Next.js projects
- Code Review: When reviewing route handler files
- Error Detection: When Next.js throws the error:
params should be awaited before using its properties
Problem Detection
The skill looks for these patterns in Next.js route handlers: