nextjs tailwind typescript apps cursorrules prompt
via PatrickJS/awesome-cursorrules
Expert Next.js, Tailwind CSS, and TypeScript code generation with Supabase and RAG integration.
What is nextjs tailwind typescript apps cursorrules prompt?
This rule configures Cursor to act as a specialized assistant for building modern Next.js applications with Tailwind CSS styling and TypeScript type safety. It emphasizes latest framework features, best practices, and integration patterns for Supabase backends and Langchain-based RAG systems.
- Generates production-ready Next.js code using latest features and patterns
- Applies Tailwind CSS styling with light/dark mode color strategies
- Ensures full TypeScript type coverage and type safety
- Integrates Supabase authentication and database operations
- Builds RAG applications using Langchain with current API patterns
- Produces complete, tested code with no placeholders or TODOs
Applies to
File patterns this rule matches.
Rule definition (reference)
Source of truth, from the repository.
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.
Related rules
Next.js App Router + TanStack Query v5 with HydrationBoundary, Server Actions, and optimistic updates
Next.js App Router + TanStack Query v5 integration with HydrationBoundary, Server Actions, and optimistic updates.
Next.js and TypeScript setup for Autonomys network block explorer development.
Next.js + TypeScript development rules with shadcn/ui, Tailwind, and Python LLM integration.
Next.js + TypeScript + Tailwind CSS setup for Autonomys block explorer development.
Next.js + Vercel + Supabase stack guide for BA Copilot, a BPMN diagram assistant for business analysts.
