AcademyRulesDevelopment

TypeScript Next.js App Router Rules for Cursor

Web development teams building Next.js apps with Shadcn UI who want consistent structure and performance habits in generated code.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 6 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/typescript-nodejs-nextjs-app-cursorrules-prompt-fi.mdc -o .cursor/rules/typescript-nodejs-nextjs-app-cursorrules-prompt-fi.mdc
typescript-nodejs-nextjs-app-cursorrules-prompt-fi.mdc

Loading the file...

AI workshops

Want your team working like this?

Hands-on workshops where your team learns to use AI coding agents, skills and automations on its own work, not on toy examples.

  • Free 20-minute call to plan the session
  • Built around your team's real tasks
  • In English or Spanish, on site in Barcelona or online

What it does

A Cursor rules file for TypeScript, Node.js and Next.js App Router projects using Shadcn UI, Radix UI and Tailwind. It sets conventions for code structure, naming, TypeScript, UI and performance, favors React Server Components, and recommends nuqs for URL search parameter state.

Use cases

  1. 01Generate functional components with typed props
  2. 02Limit client-side code in favor of server components
  3. 03Manage URL search parameter state with nuqs

Questions about
TypeScript Next.js App Router Rules for Cursor.

What is TypeScript Next.js App Router Rules for Cursor used for?

Web development teams building Next.js apps with Shadcn UI who want consistent structure and performance habits in generated code. A Cursor rules file for TypeScript, Node.js and Next.js App Router projects using Shadcn UI, Radix UI and Tailwind. It sets conventions for code structure, naming, TypeScript, UI and performance, favors React Server Components, and recommends nuqs for URL search parameter state.

How do I install TypeScript Next.js App Router Rules for Cursor?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/typescript-nodejs-nextjs-app-cursorrules-prompt-fi.mdc -o .cursor/rules/typescript-nodejs-nextjs-app-cursorrules-prompt-fi.mdc

Is TypeScript Next.js App Router Rules for Cursor open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is TypeScript Next.js App Router Rules for Cursor safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.