/nextjs:nextjs-diagnosefrom nextjs
Scans a Next.js app for build, runtime, type, and config issues via MCP, then outputs a health report with fixes and recommendations.
Ships in nextjs. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Run a comprehensive diagnostic of the Next.js application using the MCP server.
Execute these checks in sequence:
get_errors for build/runtime/type errorsget_project_metadata for config issuesget_logs and scan for warnings/errorsPresent a health report:
## Application Health Report
✅ Build Status: [passing/failing]
✅ Type Checking: [passing/X errors]
✅ Runtime: [stable/X issues]
✅ Dev Server: [running on port XXXX]
### Issues Found
[List any problems with severity and suggested fixes]
### Recommendations
[Any optimization suggestions]
Be concise - this is meant for a quick health check.
7-day visitors to each command page
11 commands in this plugin
/nextjs-actionNextjs ActionLook up a Server Action by its ID/nextjs-cacheIf component path provided:Get guidance on Next.js Cache Components setup/nextjs-debugWorkflowQuick investigation of what's wrong with the app/nextjs-errorsNextjs ErrorsCheck all Next.js errors (build, runtime, type)/nextjs-fixWorkflowFind and fix all Next.js errors automatically/nextjs-logsWorkflowGet and analyze Next.js development logsnpx claudepluginhub horuz-ai/claude-plugins --plugin nextjsOther plugins' commands for the same job