What problem does it solve?
This Skill provides comprehensive guidelines for writing Next.js applications that are optimized for performance, maintainability, and scalability.
Core Features & Use Cases
- File Conventions: Follows Next.js file structure conventions for clear and efficient project organization.
- RSC Boundaries: Ensures React Server Component patterns are correctly implemented.
- Async Patterns: Covers async API usage and migration strategies for Next.js 15+.
- Data Patterns: Offers best practices for data fetching, caching, and error handling.
- Error Handling: Describes techniques for gracefully handling errors in Next.js.
- Route Handlers: Guides on creating API endpoints with
route.ts files.
- Parallel & Intercepting Routes: Explains modal patterns and parallel routes.
- Self-Hosting: Instructions for deploying Next.js outside of Vercel.
- Debugging: Lists debugging tricks and tips for Next.js applications.
- Performance Optimization: Focuses on image, font, and bundling optimization.
- Security Best Practices: Includes error boundaries and navigation API usage for security.
Quick Start
Use the next-best-practices skill to ensure your Next.js project adheres to best practices.