← Back to list

nextjs-best-practices
by jcastillotx
My skeleton for app builds
⭐ 0🍴 0📅 Jan 23, 2026
SKILL.md
name: nextjs-best-practices description: Next.js App Router development standards. Triggers when working with Next.js applications, Server Components, Server Actions, or App Router patterns. trigger_patterns:
- next.js
- nextjs
- app router
- server component
- use server
- use client
- app/
- next/image
- next/font auto_load_with:
- react-best-practices
- javascript-best-practices
Next.js Best Practices
Comprehensive coding standards for Next.js App Router applications, optimized for AI agents and LLMs.
Overview
This skill provides 24 rules organized across 8 performance categories:
- App Router (app-) - Server Components, layouts, loading states [CRITICAL]
- Data Fetching (fetch-) - Caching, revalidation, streaming [CRITICAL]
- Server Actions (actions-) - Form handling, mutations, optimistic updates [HIGH]
- Rendering (render-) - SSR vs SSG vs ISR, dynamic vs static [HIGH]
- Middleware (middleware-) - Edge functions, redirects, rewrites [MEDIUM-HIGH]
- Asset Optimization (assets-) - next/image, next/font, placeholders [MEDIUM]
- Route Handlers (routes-) - API endpoints, streaming responses [MEDIUM]
- Deployment (deploy-) - Vercel config, edge runtime, static export [LOW-MEDIUM]
Usage
Reference this skill when:
- Building new Next.js applications
- Migrating from Pages Router to App Router
- Optimizing Next.js performance
- Implementing Server Components or Server Actions
- Configuring caching and revalidation strategies
Build
pnpm build # Compile rules to AGENTS.md
pnpm validate # Validate rule files
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon