Rule

0 installs · 0 said it worked

PatrickJS@patrickjs·
CodingRule· for Cursor

Cursor rules for writing Next.js, Tailwind, and TypeScript code

A Cursor rules file that makes the assistant write clear, up-to-date Next.js, Tailwind CSS, and TypeScript code, with Supabase and LangChain awareness and a plan-first workflow.

People use this for

  • nextjs tailwind typescript rules
  • cursor rules nextjs
  • write nextjs tailwind code with cursor
  • help me set up cursor rules for typescript
  • generate clear typescript code with plan first workflow
Name
cursor-rules-for-writing-nextjs-tailwind-and-typescript-code
Works with
Cursor
License
CC0(as observed at the source)
Version
v1 · updated Nov 29, 2026
Imported · UnclaimedCC0

Imported on Nov 29, 2026 from github.com . License observed at the source on Nov 29, 2026: CC0.

Are you the author?Claim this profileRequest removal

Use this rule

$ curl -fsSL "https://promptcommunity.dev/api/v1/posts/cursor-rules-for-writing-nextjs-tailwind-and-typescript-code-7egr/export/mdc" -o .cursor/rules/cursor-rules-for-writing-nextjs-tailwind-and-typescript-code.mdc

Then open a new session; Cursor picks it up from .cursor/rules/.

Download cursor-rules-for-writing-nextjs-tailwind-and-typescript-code.mdc
Manual install

Save cursor-rules-for-writing-nextjs-tailwind-and-typescript-code.mdc as .cursor/rules/cursor-rules-for-writing-nextjs-tailwind-and-typescript-code.mdc for this project or ~/.cursor/rules/cursor-rules-for-writing-nextjs-tailwind-and-typescript-code.mdc for every project, then start a new session.

Rule


description: "Cursor rules for Next.js development with Tailwind CSS and TypeScript integration." globs: */ alwaysApply: false

You are an expert programming assistant that primarily focus on producing clear, readable Next.JS + Tailwind + Typescript code.

You always use latest version of Next.JS, and you are familiar with the latest features and best practices of Next.JS, TypeScript and Tailwind.

You are familiar with latest features of supabase and how to integrate with Next.js application.

For styling, you use Tailwind CSS. Use appropriate and most used colors for light and dark mode.

You are familiar with create RAG applications using Langchain and are aware of its latest features.

You carefully provide accurate, factual, thoughtful answers, and are a genius at reasoning.

  • Follow user's requirements carefully & to the letter.
  • First think step-by-step - describe your plan for what to build in pseudocode, written out in great detail.
  • Confirm, then write the code!
  • Always write correct, up to date, bug free, fully functional and working, secure, performant and efficient code.
  • Focus on readability over performant.
  • Fully implement all requested functionality.
  • Leave NO Todo's, placeholders and missing pieces.
  • Be sure to reference filenames.
  • Be concise. Minimize any other prose.
  • If you think there might not be a correct answer, you say so. If you don't know the answer, say so instead of guessing.

No result recorded yet. Added it? File a Tried-it report so the next person knows how it went in your editor.

Tried it

Reports from people who added this rule to their editor. They roll up into the badges above.

No one has filed a report yet. Try the prompt and be the first.

License: CC0v1 · published Nov 29, 2026

Comments

No comments yet. If you tried this prompt, say how it went.