nextjs-seo-dev-cursorrules-prompt-file

nextjs-seo-dev-cursorrules-prompt-file is a cursor rule for Cursor from PatrickJS/awesome-cursorrules. It costs 772 tokens per session, scanned A, original, CC0-1.0.

A set of Cursor coding rules for building Next.js applications with search-engine optimisation in mind. Search-engine optimisation means structuring pages so search engines can understand and rank them.

In plain words
What is it for?
Use it when creating or maintaining a Next.js website where page structure, metadata, and search visibility matter.
Why use it?
It keeps development conventions and search-related requirements visible while the project is being edited. It also preserves important comments and protected configuration lines.

Cursor rule for Cursor

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

Good fit Use it when creating or maintaining a Next.js website where page structure, metadata, and search visibility matter.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/patrickjs/awesome-cursorrules/nextjs-seo-dev-cursorrules-prompt-file
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 · 41,203 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-seo-dev-cursorrules-prompt-file

README.md
[![agentmods](https://agentmods.dev/badge/rules/patrickjs/awesome-cursorrules/nextjs-seo-dev-cursorrules-prompt-file/github.svg)](https://agentmods.dev/rules/patrickjs/awesome-cursorrules/nextjs-seo-dev-cursorrules-prompt-file)
Your own site
<a href="https://agentmods.dev/rules/patrickjs/awesome-cursorrules/nextjs-seo-dev-cursorrules-prompt-file"><img src="https://agentmods.dev/badge/rules/patrickjs/awesome-cursorrules/nextjs-seo-dev-cursorrules-prompt-file/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-seo-dev-cursorrules-prompt-file

Your own site · 80×15
<a href="https://agentmods.dev/rules/patrickjs/awesome-cursorrules/nextjs-seo-dev-cursorrules-prompt-file"><img src="https://agentmods.dev/badge/rules/patrickjs/awesome-cursorrules/nextjs-seo-dev-cursorrules-prompt-file.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 772 This file is loaded in full into every session.
When invoked 772 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.00772 $0.00772
Opus 5.5 $0.00309 $0.00309
Sonnet 5.5 $0.00154 $0.00154
Haiku 4.5 $0.00077 $0.00077

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

Security

Grade A, and why

nextjs-seo-dev-cursorrules-prompt-file 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 2mo 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-seo-dev-cursorrules-prompt-file.mdc · 72 lines

What it actually says

Always add helpful comments to the code explaining what you are doing. Never delete old comments, unless they are no longer relevant because the code has been rewritten or deleted.

This is the package.json file for the nextjs app.

Whenever you see a line with this following comment, do not touch it, rewrite it, or delete it "Do not touch this line Cursor"

{ "name": "@se-2/nextjs", "private": true, "version": "0.1.0", "scripts": { "dev": "next dev", "start": "next dev", "build": "next build", "serve": "next start", "lint": "next lint", "format": "prettier --write . '!(node_modules|.next|contracts)/*/'", "check-types": "tsc --noEmit --incremental", "vercel": "vercel", "vercel:yolo": "vercel --build-env NEXT_PUBLIC_IGNORE_BUILD_ERROR=true" }, "dependencies": { "@heroicons/react": "^2.0.11", "@rainbow-me/rainbowkit": "2.1.2", "@tanstack/react-query": "^5.28.6", "@uniswap/sdk-core": "^4.0.1", "@uniswap/v2-sdk": "^3.0.1", "blo": "^1.0.1", "burner-connector": "^0.0.8", "daisyui": "4.5.0", "next": "^14.0.4", "next-themes": "^0.2.1", "nprogress": "^0.2.0", "qrcode.react": "^3.1.0", "react": "^18.2.0", "react-copy-to-clipboard": "^5.1.0", "react-dom": "^18.2.0", "react-hot-toast": "^2.4.0", "use-debounce": "^8.0.4", "usehooks-ts": "^2.13.0", "viem": "2.17.4", "wagmi": "2.10.10", "zustand": "^4.1.2" }, "devDependencies": { "@trivago/prettier-plugin-sort-imports": "^4.1.1", "@types/node": "^17.0.35", "@types/nprogress": "^0", "@types/react": "^18.0.9", "@types/react-copy-to-clipboard": "^5.0.4", "@typescript-eslint/eslint-plugin": "^5.39.0", "abitype": "1.0.5", "autoprefixer": "^10.4.12", "eslint": "^8.15.0", "eslint-config-next": "^14.0.4", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "postcss": "^8.4.16", "prettier": "^2.8.4", "tailwindcss": "^3.4.3", "type-fest": "^4.6.0", "typescript": "5.5.3", "vercel": "^32.4.1" } }

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. 2mo ago First seen · 72 lines · 772 tokens per session scan A b4ab3d83e740

Subscribe to this mod's changes

nextjs-seo-dev-cursorrules-prompt-file is a cursor rule published in the GitHub repository PatrickJS/awesome-cursorrules (41,203 stars, last pushed 6mo ago), licensed CC0-1.0. It adds 772 tokens to every session, about $0.0031 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

nextjs-seo-dev-cursorrules-prompt-file compared with cursor rules from other repositories

nextjs-seo-dev-cursorrules-prompt-file next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nextjs-seo-dev-cursorrules-prompt-filePatrickJS/awesome-cursorrulesCursor rule41k6mo agoCC0-1.0A772Cursor
snyk_rulesKanis04/cursor-unchainedCursor rule31mo agononeA129Cursor
cursorrulesdinakars777/awesome-cursor-rulesCursor rule17mo agononeA771Cursor
mobx-react-lite-usageholtwood/awesome-cursorrules-zhCursor rule2441mo agoMITA0Cursor
react-chakra-ui---typescript-usageholtwood/awesome-cursorrules-zhCursor rule2441mo agoMITA0Cursor
typescript-code-generation-rulesholtwood/awesome-cursorrules-zhCursor rule2441mo agoMITA483Cursor
react-chakra-ui---folder-structureholtwood/awesome-cursorrules-zhCursor rule2441mo agoMITA0Cursor