Cette page est affichée en anglais. Une traduction française est en cours.
ConfigsApr 6, 2026·2 min de lecture

Awesome Cursor Rules MDC — Auto-Generated .mdc Files

Collection of auto-generated Cursor .mdc rule files for 800+ libraries using Exa search and LLM. Drop into .cursor/rules/ for AI-aware coding standards. CC0, 3,400+ stars.

Introduction

Awesome Cursor Rules MDC is a collection of 800+ auto-generated .mdc (Markdown Cursor) rule files for Cursor AI editor, with 3,400+ GitHub stars and CC0 (public domain) license. Unlike hand-written .cursorrules files, these are generated using Exa semantic search to gather real-world best practices, then LLM (Gemini/OpenAI/Anthropic) to create structured coding guidelines. Drop any .mdc file into your project's .cursor/rules/ directory and Cursor immediately follows your framework's conventions — React patterns, Python style, Rust idioms, and more.

Best for: Cursor users who want instant, high-quality coding rules for any library without writing them manually. Works with: Cursor 2.2+ (.mdc format), any framework/library. Setup time: under 1 minute.


How .mdc Rules Work

What's in a .mdc File

Each .mdc file contains structured coding guidelines:

  • Framework-specific best practices
  • Naming conventions and patterns
  • Common anti-patterns to avoid
  • Import/export standards
  • Testing conventions
  • Performance recommendations

.mdc vs .cursorrules

Feature .cursorrules (legacy) .mdc (current)
Format Plain text Structured markdown
Scoping Project-wide only Glob-scoped per file type
Metadata None Frontmatter with description
Organization Single file Multiple files in .cursor/rules/
Future Being deprecated Recommended format

Generation Pipeline

  1. Exa Semantic Search — Finds real-world best practices, official docs, community patterns
  2. LLM Processing — Structures findings into .mdc format (supports Gemini, OpenAI, Anthropic)
  3. Parallel Processing — Generates multiple libraries simultaneously
  4. Smart Retry — Failed generations auto-retry on next run

Custom Generation

Generate rules for any library:

uv run src/generate_mdc_files.py --library "next.js"
uv run src/generate_mdc_files.py --tag "python"
uv run src/generate_mdc_files.py --regenerate-all

FAQ

Q: What is Awesome Cursor Rules MDC? A: A collection of 800+ auto-generated .mdc rule files for Cursor AI, created using Exa search + LLM. Drop into .cursor/rules/ for instant framework-specific coding standards.

Q: Is it free? A: CC0 public domain — copy, modify, use for anything.

Q: How do I use a rule? A: Copy the .mdc file to your project's .cursor/rules/ directory. Cursor auto-loads it.


🙏

Source et remerciements

Created by sanjeed5. Licensed under CC0 1.0.

awesome-cursor-rules-mdc — ⭐ 3,400+

Discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires