Skip to main content

ssr-zero-layout-shift

Enforces SSR-first rendering with zero Cumulative Layout Shift using seven composable patterns: Server Component shells with Client Component islands, Suspense boundaries as static-shell-with-dynamic-holes, selective hydration, lazy-loaded client components via next/dynamic, dimension-matched skeleton fallbacks, interaction-triggered data fetching, and one-shot Redux hydration. Also covers React cache() deduplication, server-only guards, the slot pattern, preloading, and the loading state hierarchy. Also the canonical Next.js 15/16 App Router doctrine (absorbed nextjs-ssr-architecture + nextjs-app-router-expert): server/client component boundaries, shared service patterns, async request APIs (awaited params/searchParams/cookies/headers), Route Handlers vs Server Actions, and 'use cache'. Use when creating pages, components, forms, dropdowns, data tables, dashboards, or any UI that fetches data. Also use when fixing layout shift, CLS issues, hydration mismatches, or reviewing component architecture for renderi

Jump to install

Source facts

Repository
armanisadeghi/ai-matrx
Last source activity
July 26, 2026 at 20:54
Detected SKILL.md language
English
Stars
3
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.