nextjs-performance-architecture
Installation
SKILL.md
This document aggregates three core architectural patterns for modern Next.js 16+ development: Data Fetching Colocation, The Donut Pattern, and Cache Components with use cache. These patterns are designed to improve performance, maintainability, and code composition.
Prerequisites: Next.js 16+ with
cacheComponents: trueenabled innext.config.ts.
Quick Decision Guide
Use this flowchart to choose the right pattern: