A comprehensive rulebook for Next.js 16 App Router that covers the new caching model (explicit 'use cache' instead of implicit fetch caching), proxy.ts instead of middleware, and 45 rules across 9 categories from build optimization to caching strategy to codebase hygiene. The standout feature is the structured review algorithm for whole-repo audits: it forces you to sweep category by category (not file by file) and includes a dedicated category for codebase-level problems like duplicated server fetchers, dead routes, and unnecessary 'use client' propagation that single-file rules miss. Use it when writing new App Router code, migrating from 15 to 16, or running a serious audit. The rules include "shapes to recognize" sections that teach pattern detection beyond grep-friendly cases.

skills.sh installs
1.2K
GitHub stars
222
last updated
Aug 21, 2026

Install

$ npx -y skills add pproenca/dot-skills --skill nextjs --agent claude-code

Installs into .claude/skills of the current project.

Files

Next.js 16 App Router Best Practices

Comprehensive Next.js 16 App Router guide for AI agents. Contains 45 rules across 9 categories, prioritized by impact from critical (build optimization, caching strategy) through to cross-cutting codebase hygiene (dedup, dead routes, boundary coherence). Reflects Next.js 16 changes: 'use cache' directive replacing implicit caching, revalidateTag(tag, cacheLife) requirement, proxy.ts replacing middleware.ts, Turbopack persistent caching, App Router conventions.

Rule files describe pattern shapes (not API names) and open with a "Shapes to recognize" section listing 2–4 syntactic disguises the same break can wear. Selected high-value rules (those whose disguises are most common in practice — 'use cache', parallel-fetching, dynamic-imports, server-action-forms, client-boundary, server-vs-client-fetching) include an extra concrete "In disguise" incorrect/correct example pair to teach pattern detection beyond the grep-friendly cases.

When to Apply

Sponsors

Details

Repository
github.com/pproenca/dot-skills
Categories
Frontend Development, Backend & APIs, Git & Pull Requests, Documentation, Code Review & Quality, Debugging, Automation & Workflows
First seen
Jun 3, 2026

More from pproenca/dot-skills

All 100
1oimiragieo avatarpyqt6-ui-development-rulesoimiragieo/agent-studioPyQt6 desktop GUI development rules -- signal/slot architecture, QSS theming, QThread concurrency, layout management, and cross-platform rendering. Enforces MVC1.1Kskills.sh installs
2ajianaz avatarflutter-ui-uxajianaz/skills-collectionComprehensive Flutter UI/UX development skill for creating beautiful, responsive, and animated mobile applications. Use when user asks to: (1) Build Flutter UI 1.1Kskills.sh installs
3jezweb avatartailwind-patternsjezweb/claude-skillsProduction-ready Tailwind CSS patterns for common website components: responsive layouts, cards, navigation, forms, buttons, and typography. Includes spacing sc1.1Kskills.sh installs
4alirezarezvani avatarui-design-systemalirezarezvani/claude-skillsUI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handof1.1Kskills.sh installs
5capawesome-team avatarcapacitor-vuecapawesome-team/skillsGuides the agent through Vue-specific patterns for Capacitor app development. Covers Vue 3 Composition API with Capacitor plugins, custom composables for native1.1Kskills.sh installs
6jezweb avatarnextjsjezweb/claude-skillsBuild Next.js 16 apps with App Router, Server Components/Actions, Cache Components ("use cache"), and async route params. Includes proxy.ts and React 19.2. Prev1Kskills.sh installs