Generate Next.js pages and API routes efficiently
.windsurfrulesGenerate Next.js code: 1. Use App Router conventions 2. Generate proper metadata exports 3. Implement loading and error states 4. Create type-safe API routes 5. Use Server Components by default 6. Generate dynamic route handlers 7. Implement proper caching 8. Add SEO optimizations
Windsurf
framework
AI coding rules customize how Windsurf generates and refactors code for your project. Follow these steps to install Windsurf Next.js Page Generation.
.cursor/rules, for Windsurf use .windsurfrules