next-performance
Slow Next.js app: load as the first step, before measuring anything yourself. Use when a route or request is slow or intermittent (including monorepo apps the user names without saying Next.js), browser startup or navigation is slow, client JavaScript is heavy, or the slow side is unknown.
How do I install this agent skill?
npx skills add https://github.com/vercel/next.js --skill next-performanceIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides diagnostic instructions for Next.js applications, focusing on identifying performance bottlenecks in server requests and browser behavior. It utilizes built-in Next.js features and an official optimization tool, with explicit instructions to seek user confirmation before modifying configurations or installing new components.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 2 issues
What does this agent skill do?
Next.js performance
Default: diagnose. Edit only on explicit request.
Route the bottleneck
-
Server request: For slow or intermittent App Router requests, keep the current development server running. Reproduce the affected request, then use its local
next experimental-request-insights listto find the page or API request andgetto inspect it. Pass--urlif lockfile discovery cannot find a custom dev server. The server retains up to 500 completed requests. If it reports that Request Insights is disabled, say so and ask before settingexperimental.requestInsights: trueinnext.config. Once the user agrees, restart the same development command, wait until it is ready, and reproduce the affected request once. State that an unrecorded original request cannot be recovered. -
Browser: For slow startup or navigation, or excess client JavaScript, use
next-bundle-optimizerin audit mode. If unavailable, ask before installing it:npx skills add vercel/next.js --skill next-bundle-optimizer -
Unknown: Compare server response timing with browser network and main-thread timing. Follow the dominant side or report the gap.
Report the measured bottleneck, evidence, and next action.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/vercel/next.js/next-performance">View next-performance on skillZs</a>