Rule
0 installs · 0 said it worked
Cursor rules for Next.js SEO-aware development with code comments
A Cursor rules file that tells the assistant to add explanatory comments to code, keep existing comments, and leave a marked package.json line untouched while working on a Next.js app with SEO optimization.
People use this for
- cursor rules nextjs seo
- nextjs code comments rules
- make cursor add explanatory comments to nextjs code
- keep existing comments while editing a nextjs app
- cursor rule for seo friendly nextjs development
- Name
cursor-rules-for-nextjs-seo-aware-development-with-code-comments- Works with
- Cursor
- License
- CC0(as observed at the source)
- Version
- v1 · updated Nov 29, 2026
Imported on Nov 29, 2026 from github.com , where it was attributed to PatrickJS. License observed at the source on Nov 29, 2026: CC0.
Are you PatrickJS?Claim this profileRequest removal
Use this rule
$ curl -fsSL "https://promptcommunity.dev/api/v1/posts/cursor-rules-for-nextjs-seo-aware-development-with-code-comments-a6vr/export/mdc" -o .cursor/rules/cursor-rules-for-nextjs-seo-aware-development-with-code-comments.mdcThen open a new session; Cursor picks it up from .cursor/rules/.
Manual install
Save cursor-rules-for-nextjs-seo-aware-development-with-code-comments.mdc as .cursor/rules/cursor-rules-for-nextjs-seo-aware-development-with-code-comments.mdc for this project or ~/.cursor/rules/cursor-rules-for-nextjs-seo-aware-development-with-code-comments.mdc for every project, then start a new session.
Rule
description: "Cursor rules for Next.js development with SEO optimization." globs: */ alwaysApply: false
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" } }
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.
Related rules
- Nginx config security review with fixes and checker script
Agent skill that reviews nginx configs for TLS, header, alias traversal, admin exposure and rate-limit problems, runs a stdlib checker, and returns a minimal route-preserving fixed config with reload and curl test steps.
Coding · @f
- Autonomous coding agent that builds a verified app-builder harness
Master system prompt that directs an autonomous senior Python engineer to build a spec-driven, evidence-traced app-builder harness milestone by milestone without asking questions.
Coding · @mahfuzahmedog
- Find silent exception-handling smells in Python code
Scans Python files offline with ast to flag bare or swallowed excepts, silent fallbacks, lost causes, and other error-hiding patterns, returning file:line findings with severity and fix recipes.
Coding · @f
- Find knowledge concentration risk in a Git repo's history
Analyzes Git history to show per-module bus factor, single-knower hot spots, and duplicate identities, then produces a knowledge-handover plan for the team.
Coding · @f
- Cursor rules enforcing clean, readable, maintainable code practices
A Cursor .mdc rule file that guides the assistant toward clean code: named constants, meaningful names, sparing comments, single-purpose functions, DRY, language style standards, extracted conditionals, continuous refactoring, and version control.
Coding · @patrickjs
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.