Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vodailocz-nextjs-best-practices
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, backend, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/nextjs-best-practices
Tools it pre-approves 5
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Write,Edit,Glob,Grep
What's inside
- Skill name
nextjs-best-practices- Description
- Next.js App Router principles. Server Components, data fetching, routing patterns.
- License
- Apache-2.0
- Allowed tools
- Read,, Write,, Edit,, Glob,, Grep
- Instructions
- 199 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Next.js Best Practices
> Principles for Next.js App Router development.
---
## 1. Server vs Client Components
### Decision Tree
```
Does it need...?
│
├── useState, useEffect, event handlers
│ └── Client Component ('use client')
│
├── Direct data fetching, no interactivity
│ └── Server Component (default)
│
└── Both?
└── Split: Server parent + Client child
```
### By Default
| Type | Use |
|------|-----|
| **Server** | Data fetching, layout, static content |
| **Client** | Forms, buttons, interactive UI |
---
## 2. Data Fetching Patterns
### Fetch Strategy
| Pattern | Use |
|---------|-----|
| **Default** | Static (cached at build) |
| **Revalidate** | ISR (time-based refresh) |
| **No-store** | Dynamic (every request) |
### Data Flow
| Source | Pattern |
|--------|---------|
| Database | Server Component fetch |
| API | fetch with caching |
| User input | Client state + server action |
---
## 3. Routing Principles
### File Conventions
| File | Purpose |
|------|---------|
| `page.tsx` | Route UI |
| `layout.tsx` | Shared layout |
| `loading.tsx` | Loading state |
| `error.tsx` | Error boundary |
| `not-found.tsx` | 404 page |
### Route Organization
| Pattern | Use |
|---------|-----|
| Route groups `(name)` | Organize without URL |
| Parallel routes `@slot` | Multiple same-level pages |
| Intercepting `(.)` | Modal overlays |
---
## 4. API Routes
### Route Handlers
| Method | Use |
|--------|-----|
| GET | Read data |
| POST | Create data |
| PUT/PATCH | Update data |
| DELETE | Remove data |
### Best Practices
- Validate input with Zod
- Return proper status codes
- Handle errors gracefully
- Use Edge runtime when possible
---
## 5. Performance Principles
### Image Optimization
- Use next/image component
- Set priority for above-fold
- Provide blur placeholder
- Use responsive sizes
### Bundle Optimization
- Dynamic imports for heavy components
- Route-based code splitting (automatic)
- Analyze with bundle analyzer
---
## 6. Metadata
### Static vs Dynamic
| Type | Use |
|------|-----|
| Static export | Fixed metadata |
| generateMetadata | Dynamic per-route |From VoDaiLocz/kilo-kit-mcp, Apache-2.0.
More from VoDaiLocz/kilo-kit-mcp
- 0.654score
docs-seeker
VoDaiLocz
Searching internet for technical documentation using llms.txt standard, GitHub repositories via Repomix, and parallel exploration.
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
aesthetic
VoDaiLocz
Create aesthetically beautiful interfaces following proven design principles.
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
context-engineering
VoDaiLocz
Master context engineering for AI agent systems.
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
databases
VoDaiLocz
Work with MongoDB (document database, BSON documents, aggregation pipelines, Atlas cloud) and PostgreSQL (relational database, SQL queries, psql CLI, pgAdmin).
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
backend-development
VoDaiLocz
Build robust backend systems with modern technologies (Node.js, Python, Go, Rust), frameworks (NestJS, FastAPI, Django), databases (PostgreSQL, MongoDB…
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
mobile-design
VoDaiLocz
Mobile-first design thinking and decision-making for iOS and Android apps.
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
code-review
VoDaiLocz
Use when receiving code review feedback (especially if unclear or technically questionable), when completing tasks or major features requiring review before…
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
media-processing
VoDaiLocz
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation…
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
better-auth
VoDaiLocz
Implement authentication and authorization with Better Auth - a framework-agnostic TypeScript authentication framework.
SkillAFreshness: A★ 28Claude Code +9 - 0.651score
i18n-localization
VoDaiLocz
Internationalization and localization patterns.
SkillAFreshness: A★ 28Claude Code +9 - 0.651score
lint-and-validate
VoDaiLocz
Automatic quality control, linting, and static analysis procedures.
SkillAFreshness: A★ 28Claude Code +9 - 0.649score
agentic-rag
VoDaiLocz
Use when building self-correcting retrieval systems for AI agents.
SkillAFreshness: A★ 28Claude Code +9
Signals
- Stars
- 28
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- May 2, 2026 (5 months ago)
- Last release
- Oct 24, 2026 (4 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/VoDaiLocz/kilo-kit-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from VoDaiLocz
- 0.654score
backend-development
VoDaiLocz
Build robust backend systems with modern technologies (Node.js, Python, Go, Rust), frameworks (NestJS, FastAPI, Django), databases (PostgreSQL, MongoDB…
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
better-auth
VoDaiLocz
Implement authentication and authorization with Better Auth - a framework-agnostic TypeScript authentication framework.
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
aesthetic
VoDaiLocz
Create aesthetically beautiful interfaces following proven design principles.
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
mobile-design
VoDaiLocz
Mobile-first design thinking and decision-making for iOS and Android apps.
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
media-processing
VoDaiLocz
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation…
SkillAFreshness: A★ 28Claude Code +9 - 0.654score
code-review
VoDaiLocz
Use when receiving code review feedback (especially if unclear or technically questionable), when completing tasks or major features requiring review before…
SkillAFreshness: A★ 28Claude Code +9
Cite this page
nextjs-best-practices skill. Agent Mart. https://agentmart.dev/skills/vodailocz-nextjs-best-practices (last updated 2026-10-24)