nextjs-tailwind-typescript-apps-cursorrules-prompt

nextjs-tailwind-typescript-apps-cursorrules-prompt is a cursor rule for Cursor from PatrickJS/awesome-cursorrules. It costs 299 tokens per session, scanned A, original, CC0-1.0.

A set of coding rules for building Next.js applications with Tailwind CSS and TypeScript. Tailwind CSS is a utility-based way to style web pages, while TypeScript adds type checking to JavaScript.

In plain words
What is it for?
Use it when building Next.js interfaces, styling them with Tailwind, writing TypeScript, connecting Supabase, or creating retrieval-based AI features.
Why use it?
It gives the coding agent a consistent stack and working style for frontend development. It also records guidance for Supabase integrations and retrieval-augmented generation, where an AI system retrieves relevant information before answering.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: mentions Cursor.

About the project

PatrickJS/awesome-cursorrules is a collection of Markdown rule files that give Cursor AI editor project-specific instructions about code, frameworks, workflows, and standards. Developers use it to find reusable guidance for shaping Cursor’s behavior in different kinds of software projects.

PatrickJS/awesome-cursorrules · 40,725 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/patrickjs/awesome-cursorrules/nextjs-tailwind-typescript-apps-cursorrules-prompt
Clone the repo
git clone --depth 1 https://github.com/PatrickJS/awesome-cursorrules

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nextjs-tailwind-typescript-apps-cursorrules-prompt

README.md
[![agentmods](https://agentmods.dev/badge/rules/patrickjs/awesome-cursorrules/nextjs-tailwind-typescript-apps-cursorrules-prompt.svg)](https://agentmods.dev/rules/patrickjs/awesome-cursorrules/nextjs-tailwind-typescript-apps-cursorrules-prompt)
Your own site
<a href="https://agentmods.dev/rules/patrickjs/awesome-cursorrules/nextjs-tailwind-typescript-apps-cursorrules-prompt"><img src="https://agentmods.dev/badge/rules/patrickjs/awesome-cursorrules/nextjs-tailwind-typescript-apps-cursorrules-prompt.svg" alt="Measured on agentmods" height="20"></a>
Per session 299 This file is loaded in full into every session.
When invoked 299 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00299 $0.00299
Opus 5 $0.00150 $0.00150
Sonnet 5 $0.00060 $0.00060
Haiku 4.5 $0.00030 $0.00030

Measured 2d ago against content hash eafc8379d969, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

nextjs-tailwind-typescript-apps-cursorrules-prompt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

rules/nextjs-tailwind-typescript-apps-cursorrules-prompt.mdc · 28 lines

What it actually says

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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 28 lines · 299 tokens per session scan A eafc8379d969

Subscribe to this mod's changes

nextjs-tailwind-typescript-apps-cursorrules-prompt is a cursor rule published in the GitHub repository PatrickJS/awesome-cursorrules (40,725 stars, last pushed 3mo ago), licensed CC0-1.0. It adds 299 tokens to every session, about $0.0015 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.