SkillAgentSearch skills...

best-cursor-rules

Best Cursor Rules is a curated collection of 33 high-quality Cursor AI rules that actually work. Includes a Setup Wizard that analyzes your project and generates customized rules automatically.

Install / Use

npx skills add Renvia-code/best-cursor-rules

Installs into whichever agent you are using.

About this skill
📐

.cursorrules

Cursor IDE rules (legacy)

Quality Score

75/100

Category

Automation

Supported Platforms

Cursor
Zed

Our assessment of best-cursor-rules

best-cursor-rules scores 75/100 on our quality scale, 2613th of 2,863 Automation skills we index.

Its .cursorrules is 6.5 KB long, well organised into 18 sections with 1 code example: a thorough specification that gives an agent plenty to work with.

It has 13 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
29/30
Structure
17/20
Description
15/15
Adoption
5/20
Freshness
11/15

Maintenance, license and trust

  • The repository was last updated about 11 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
  • Our last check on 2026-10-20 found the source still online.
  • It is released under the CC0-1.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 91/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

best-cursor-rules compared with similar skills

All 4 of these similar skills score higher than best-cursor-rules; compare them before choosing.

SkillScoreStarsUpdatedFormat
best-cursor-rules (this skill)by Renvia-code751311mo ago.cursorrules
Agent-Reachby Panniantong100109.2ktodayCLAUDE.md
Scraplingby D4Vinci10097.9ktodayMCP Server
rufloby ruvnet10081.0ktodayMCP Server
openclawby thedotmack100107.6k5d agoSKILL.md

Frequently asked questions

How do I install best-cursor-rules?
Run npx skills add Renvia-code/best-cursor-rules. The install tabs above show the steps for each supported agent.
Which AI agents does best-cursor-rules work with?
It is written for Cursor and Zed, as a .cursorrules file. Other agents that read the same format can often use it too.
Is best-cursor-rules safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is CC0-1.0-licensed and scores 91/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is best-cursor-rules still maintained?
The repository was last updated about 11 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
<picture> <source media="(prefers-color-scheme: dark)" srcset=".github/assets/logo-dark.png"> <source media="(prefers-color-scheme: light)" srcset=".github/assets/logo-light.png"> <img alt="Best Cursor Rules" src=".github/assets/logo-light.png" width="400"> </picture>

Best Cursor Rules

A curated collection of Cursor AI rules that actually work.

Skip the guesswork. These rules are battle-tested, framework-specific, and ready to drop into your project.


Quick Start

Option A: Use the Setup Wizard (recommended)

  1. Open your project in Cursor (not this repo)
  2. Switch to Plan Mode or Agent Mode
  3. Paste the contents of SETUP-WIZARD.md into the chat
  4. Answer a few questions about your stack
  5. Done! The AI creates your .cursor/rules/ folder automatically

Note: The wizard must be run from inside your actual project directory, not from this repository.

[!TIP] Plan Mode (recommended) — More structured. The AI analyzes your project, asks focused questions, shows you exactly what will be created, then executes after you confirm.

[!TIP] Agent Mode — More conversational. The AI iterates with you and creates files on the fly. Good if you want to adjust things as you go.

<table> <tr> <td>

💎 Pro Tip

Use the best model you have access to. The wizard does a lot of thinking upfront so you don't have to correct it later. Five minutes with a good model now saves hours of fixes down the road.

</td> </tr> </table>

Option B: Manual Setup

  1. Create .cursor/rules/ in your project root
  2. Copy the rules you need from the rules/ folder
  3. Update the globs in each file to match your project structure

Available Rules

Frameworks

| Rule | Description | |------|-------------| | nextjs-15.mdc | Next.js 15 App Router, Server Components, Server Actions | | react-19.mdc | React 19 patterns, hooks, and best practices | | vue-3.mdc | Vue 3 Composition API and script setup | | svelte-5.mdc | Svelte 5 runes and modern patterns | | astro.mdc | Astro components and island architecture |

Languages

| Rule | Description | |------|-------------| | typescript.mdc | Strict TypeScript with modern type patterns | | python.mdc | Python 3.12+ with type hints and async | | go.mdc | Go idioms and error handling |

Backends

| Rule | Description | |------|-------------| | supabase.mdc | Auth, RLS, Edge Functions, Realtime | | fastapi.mdc | FastAPI routes, Pydantic, async patterns | | nodejs.mdc | Node.js with Express/Fastify |

Styling

| Rule | Description | |------|-------------| | tailwind.mdc | Tailwind CSS v4 patterns and organization | | shadcn-ui.mdc | shadcn/ui component patterns |

Testing

| Rule | Description | |------|-------------| | vitest.mdc | Vitest with Testing Library | | playwright.mdc | E2E testing with page objects |

Best Practices

| Rule | Description | |------|-------------| | clean-code.mdc | Naming, functions, DRY, SOLID | | security.mdc | Auth patterns, secrets, validation | | ai-security.mdc | LLM security, prompt injection, PII filtering | | accessibility.mdc | ARIA, keyboard nav, screen readers |

Stack Presets

These combine multiple rules for common technology combinations:

| Rule | Stack | |------|-------| | t3-stack.mdc | Next.js + tRPC + Prisma + Tailwind | | nextjs-supabase.mdc | Next.js + Supabase + shadcn/ui | | mern-stack.mdc | MongoDB + Express + React + Node.js | | python-fastapi.mdc | FastAPI + PostgreSQL + SQLAlchemy | | django-htmx.mdc | Django + HTMX + Tailwind |


How the Wizard Works

The Setup Wizard is a special prompt that turns Cursor into a project analyzer:

  1. Detection - It reads your package.json, tsconfig.json, config files, etc.
  2. Questions - Asks 4-6 questions to understand your preferences
  3. Planning - Shows you exactly which rules will be created
  4. Execution - Creates .cursor/rules/ with customized rules

The wizard adapts to your project. Using Supabase? It includes those patterns. TypeScript strict mode? It adjusts accordingly. It's not a one-size-fits-all dump of rules.


Rule Format

Each rule uses the MDC (Markdown + Config) format:

---
description: Brief description for AI context
globs: ["**/*.tsx", "**/*.ts"]
alwaysApply: false
---

# Rule Title

## Section
Content, code examples, tables, etc.
  • description - Helps the AI understand when to apply this rule
  • globs - File patterns that trigger this rule (empty = manual only)
  • alwaysApply - If true, always included regardless of file type

Rules are written to be concise and scannable. No fluff, just patterns and examples.


Contributing

Want to add a rule or fix something? Check out CONTRIBUTING.md.

The short version:

  1. Fork the repo
  2. Add/edit rules in rules/
  3. Follow the format in .cursor/rules/01-rule-format.mdc
  4. Submit a PR

Why This Exists

Cursor's AI is powerful, but it doesn't know your stack. These rules give it the context it needs:

  • "Use Server Components by default" (Next.js 15)
  • "Always enable RLS on tables" (Supabase)
  • "Prefer unknown over any" (TypeScript)

Without rules, you end up correcting the AI constantly. With the right rules, it writes code the way you want it.


Credits

Maintained by Renvia Technologies with contributions from the community.

Licensed under CC0 - do whatever you want with these rules.


<p align="center"> <i>"Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program."</i> <br> <sub>— Linus Torvalds</sub> </p> <p align="center"> <sub>Built with ☕ and too many terminal tabs</sub> </p>

Related Skills

View on GitHub
GitHub Stars13
CategoryAutomation
Updated11mo ago
Forks2

Trust signals

91/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 low1 info