- Home
- Skills
- Frontend & Web Apps
- nextjs-performance-budget-guard
Nextjs Performance Budget Guard
This is a gate you set up *before* deploy, not a repair job after users complain and not a general audit: budgets are decided first, then every build is measured against them.
Free
Works with the AI Agents you already use
About this skill
A Next.js build summary or route list goes in. Out comes (1) a per-route budget table — First Load JS and page size per route, plus Core Web Vitals target thresholds — (2) a finding for every route over budget with its likely causes, and (3) an ordered fix plan. This is a gate you set up before deploy, not a repair job after users complain and not a general audit: budgets are decided first, then every build is measured against them.
Ask these five questions if the answers are not already in the request. Do not set budgets before you have at least questions 1–3.
- App type: marketing site, SaaS / product app, internal tool, e-commerce, docs / content site, or a mix?
- Route mix: which routes are marketing, which are app / dashboard, which are docs / content? List the top routes if the full table is long.
- Strictness: startup-lean (small team, public users on mid-range phones, every kilobyte argued for) or enterprise (desktop-first, authenticated, heavier client code is a real product need) — or balanced in between?
- CWV priorities: which vital hurts most right now — LCP (content appears slowly), INP (page answers slowly), or CLS (page jumps around)? Rank the top one; name a second if close.
- CI usage: should this gate run in CI on every pull request and fail the build, or is it a manual pre-release check for now?
How the answers change the work (this is not decoration):
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 2 days ago
- Free with an Agensi account