nextjs-material-ui-tailwind-css-cursorrules-prompt

nextjs-material-ui-tailwind-css-cursorrules-prompt is a cursor rule for Cursor from PatrickJS/awesome-cursorrules. It costs 514 tokens per session, scanned A, original, CC0-1.0.

A set of Cursor instructions for a Next.js portfolio project using TypeScript, React, Tailwind CSS, Material UI, and several interface libraries.

In plain words
What is it for?
Use it when adding pages, components, animations, forms, authentication, database-backed features, or editor interfaces to this Next.js project.
Why use it?
It records the project's chosen tools and setup so new code fits the existing dependencies and styling approach.

Cursor rule for Cursor

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

Good fit Use it when adding pages, components, animations, forms, authentication, database-backed features, or editor interfaces to this Next.js project.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/patrickjs/awesome-cursorrules/nextjs-material-ui-tailwind-css-cursorrules-prompt
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,970 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.

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-material-ui-tailwind-css-cursorrules-prompt

README.md
[![agentmods](https://agentmods.dev/badge/rules/patrickjs/awesome-cursorrules/nextjs-material-ui-tailwind-css-cursorrules-prompt/github.svg)](https://agentmods.dev/rules/patrickjs/awesome-cursorrules/nextjs-material-ui-tailwind-css-cursorrules-prompt)
Your own site
<a href="https://agentmods.dev/rules/patrickjs/awesome-cursorrules/nextjs-material-ui-tailwind-css-cursorrules-prompt"><img src="https://agentmods.dev/badge/rules/patrickjs/awesome-cursorrules/nextjs-material-ui-tailwind-css-cursorrules-prompt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nextjs-material-ui-tailwind-css-cursorrules-prompt

Your own site · 80×15
<a href="https://agentmods.dev/rules/patrickjs/awesome-cursorrules/nextjs-material-ui-tailwind-css-cursorrules-prompt"><img src="https://agentmods.dev/badge/rules/patrickjs/awesome-cursorrules/nextjs-material-ui-tailwind-css-cursorrules-prompt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 514 This file is loaded in full into every session.
When invoked 514 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00514 $0.00514
Opus 5.5 $0.00206 $0.00206
Sonnet 5.5 $0.00103 $0.00103
Haiku 4.5 $0.00051 $0.00051

Measured 1mo ago against content hash 96c4e793911c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nextjs-material-ui-tailwind-css-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 1mo 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-material-ui-tailwind-css-cursorrules-prompt.mdc · 61 lines

What it actually says

Ce projet s'appel Portfolio2

Il est basé sur Next.Js, il a tailwindcss, materialui, shadcn/ui et aceternityui

What is your project named? portfolio2

Would you like to use TypeScript? Yes

Would you like to use ESLint? No

Would you like to use Tailwind CSS? Yes

Would you like to use src/ directory? Yes

Would you like to use App Router? (recommended) Yes

Would you like to customize the default import alias (@/)? No

What import alias would you like configured? @/

Nola liste des dépendance

"dependencies": { "@ckeditor/ckeditor5-react": "^6.3.0", "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", "@mui/icons-material": "^5.15.18", "@mui/material": "^5.15.18", "@mui/styled-engine-sc": "^6.0.0-alpha.18", "@prisma/client": "^5.14.0", "autoprefixer": "^10.4.19", "bcryptjs": "^2.4.3", "ckeditor5": "^41.4.2", "clsx": "^2.1.1", "framer-motion": "^11.2.5", "init": "^0.1.2", "next": "^14.2.3", "next-auth": "^4.24.7", "react": "^18.3.1", "react-dom": "^18.3.1", "shadcn-ui": "^0.8.0", "styled-components": "^6.1.11", "tailwind-merge": "^2.3.0" },

"devDependencies": { "@types/bcryptjs": "^2.4.6", "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", "postcss": "^8.4.38", "prisma": "^5.14.0", "tailwindcss": "^3.4.3", "typescript": "^5.4.5" }

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. 1mo ago First seen · 61 lines · 514 tokens per session scan A 96c4e793911c

Subscribe to this mod's changes

nextjs-material-ui-tailwind-css-cursorrules-prompt is a cursor rule published in the GitHub repository PatrickJS/awesome-cursorrules (40,970 stars, last pushed 4mo ago), licensed CC0-1.0. It adds 514 tokens to every session, about $0.0021 per session on Opus 5.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.

Related

Other cursor rules, from other repositories

chakra-ui-best-practices

A set of rules for building React interfaces with Chakra UI, a component library for styled and accessible user interfaces. It covers themes, responsive layouts, accessibility, performance, and reusable components.

holtwood/awesome-cursorrules-zh · 0 tokens

chakra-ui---responsive-design

Guidance for making Chakra UI layouts adapt to different screen sizes. It uses responsive style values, breakpoints, layout components, and conditional display rules for phones, tablets, and desktops.

holtwood/awesome-cursorrules-zh · 0 tokens

chakra-ui---theme-directory-rules

Rules for organizing a Chakra UI theme into an entry file, foundational settings, and component-specific styles. The theme controls shared colors, fonts, spacing, breakpoints, and component variants.

holtwood/awesome-cursorrules-zh · 0 tokens

chakra-ui---dark-mode-implementation

A Chakra UI rule for adding a light and dark color mode to React components. It covers switching modes, following the system preference, storing the choice, and preventing a flash of the wrong theme during loading.

holtwood/awesome-cursorrules-zh · 0 tokens

react-chakra-ui---folder-structure

A standard folder layout for React and Chakra UI projects, including separate locations for components, pages, themes, hooks, utilities, and assets. It also defines how Chakra UI theme files are grouped.

holtwood/awesome-cursorrules-zh · 0 tokens

react-component-guidelines

Guidelines for building reusable React components that adapt to different screen sizes and can be used by people with disabilities. They also specify Tailwind CSS and the project's color palette for styling.

holtwood/awesome-cursorrules-zh · 0 tokens