web-performance

Identify and fix performance bottlenecks in Next.js rendering, data paths, and assets.

Updated Jan 1, 2026
One-click install
npx skills add https://github.com/MORTAKI0/doittimer --skill web-performance-mortaki0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-performance
Source: https://github.com/MORTAKI0/doittimer/tree/main/.codex/skills/web-performance
Command: npx skills add https://github.com/MORTAKI0/doittimer --skill web-performance-mortaki0

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams identify and mitigate performance bottlenecks in Next.js apps by guiding architectural choices that reduce client-side work, optimize data fetching, and streamline asset management.

Core Features & Use Cases

  • Server-first rendering guidance: promotes server components and selective hydration to minimize client JavaScript.
  • Component-splitting & caching: encourages splitting large pages into server + interactive leaf components with caching boundaries.
  • Data path and asset optimization: reduces data fetch overhead and improves asset loading strategies.

Quick Start

Audit a Next.js page and propose a server-first refactor plan to reduce client JS and improve data loading.

Frequently Asked Questions about web-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix slow Next.js rendering performance on pages with heavy client-side JavaScript?

Fix slow Next.js rendering by adopting server-first rendering and selective hydration to minimize client JavaScript execution. Split large pages into server components and interactive leaf components with caching boundaries to reduce client-side work and improve page load times.

What's the best way to optimize slow data fetches in Next.js server-rendered routes?

Optimize slow data fetches in Next.js server-rendered routes by restructuring data paths to reduce fetch overhead and applying strategic caching boundaries. This skill guides architectural choices that streamline data fetching to improve overall route performance.

How do I reduce large asset footprints across Next.js server-rendered routes?

Reduce large asset footprints by managing assets and fonts efficiently within your Next.js application architecture. This involves optimizing asset loading strategies and streamlining delivery to minimize the performance impact of heavy resources on your pages.

Can I refactor existing Next.js pages to use server components and selective hydration?

Yes, you can refactor existing Next.js pages by auditing them and proposing a server-first refactor plan. This involves splitting large pages into server components and interactive leaf components, adopting selective hydration, and establishing caching boundaries to reduce client-side work.

Why does my Next.js page performance suffer from heavy client-side JavaScript?

Next.js page performance suffers from heavy client-side JavaScript because it increases execution time and delays hydration. By adopting server rendering where possible and splitting components, you can minimize client-side work and mitigate these performance bottlenecks.