Cursor Rules

nextjs app router - Claude MCP Skill

Next.js App Router .cursorrules

SEO Guide: Enhance your AI agent with the nextjs app router tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to next.js app router .cursorrules... Download and configure this skill to unlock new capabilities for your AI workflow.

🌟229 stars • 3256 forks
📥0 downloads

Documentation

SKILL.md
// Next.js App Router .cursorrules

// Next.js App Router best practices

const nextjsAppRouterBestPractices = [
  "Use server components by default",
  "Implement client components only when necessary",
  "Utilize the new file-based routing system",
  "Use layout.js for shared layouts",
  "Implement loading.js for loading states",
  "Use error.js for error handling",
  "Utilize route handlers for API routes",
];

// Folder structure

const folderStructure = `
app/
  layout.js
  page.js
  components/
  lib/
  styles/
public/
`;

// Additional instructions

const additionalInstructions = `
1. Use TypeScript for type safety
2. Implement proper metadata for SEO
3. Utilize Next.js Image component for optimized images
4. Use CSS Modules or Tailwind CSS for styling
5. Implement proper error boundaries
6. Follow Next.js naming conventions for special files
7. Use environment variables for configuration
`;

Signals

Avg rating0.0
Reviews0
Favorites0

Information

Repository
PatrickJS/awesome-cursorrules
Author
PatrickJS
Last Sync
3/12/2026
Repo Updated
3/12/2026
Created
1/14/2026

Reviews (0)

No reviews yet. Be the first to review this skill!