NeVibeCode · repository · 240 items
awesome-cursor-rules-mdc: a set by sanjeed5
The sanjeed5/awesome-cursor-rules-mdc repository on GitHub: 240 cards with a description and an install command.
pyqt rule A Cursor rule that enforces clean PyQt application design: dynamic UI loading, Model-View separation, and background processing via thread pools.
★ 3,580repo stars
pylint rule This rule guides Pylint setup for Python projects, covering code structure, exception handling, and checks in pre-commit and CI.
★ 3,580repo stars
pygame rule A Cursor rule that sets the skeleton of a Pygame project: one UIManager, a fixed timestep, anchor-based layout and JSON themes.
★ 3,580repo stars
pydantic rule Instructs Cursor to generate type-safe Pydantic v2 models. It prevents mutable default bugs and routes environment configs through pydantic_settings.
★ 3,580repo stars
puppeteer rule This rule guides Puppeteer scripts for browser automation, scraping, and tests. Cursor applies it to JavaScript and JSX files.
★ 3,580repo stars
prisma rule A Cursor rule that keeps your agent honest about Prisma ORM: one client instance, narrow queries, sane migrations.
★ 3,580repo stars
postman rule Sets standards for Postman collection structure and test scripts. Helps Cursor build maintainable API workflows without hardcoded secrets.
★ 3,580repo stars
postgresql rule This Cursor rule guides PostgreSQL query and schema work, covering naming, joins, data types, and date ranges. Use it when an agent edits SQL across a project.
★ 3,580repo stars
pony rule A Cursor rule that sets conventions for Pony ORM code: sessions, queries, typing, layer separation. Useful in a Python project already on Pony ORM.
★ 3,580repo stars
poetry rule Cursor rule for Python projects using modern Poetry standards. It enforces PEP 621 configuration, dependency groups, and the src package layout.
★ 3,580repo stars
plotly rule This Cursor rule guides Plotly code in Python files, from separating data preparation to styling figures and handling large scatter plots.
★ 3,580repo stars
playwright rule A Cursor rule that sets the standard for Playwright end-to-end tests: official runner, resilient locators, no manual waits.
★ 3,580repo stars
pillow rule Guides Cursor when writing Python code with Pillow. Enforces context managers and safe image format export.
★ 3,580repo stars
php rule A Cursor rule for PHP style, security, API design, and testing. It targets PSR-12 and modern PHP 8.4+ projects.
★ 3,580repo stars
phoenix rule A Cursor rule that tells the agent how to write Phoenix apps in Elixir: contexts, formatting, Ecto queries. Useful once the agent starts editing your code.
★ 3,580repo stars
peewee rule Guides Cursor on writing Peewee ORM code in Python: sets up a central BaseModel, configures foreign keys, and prevents N+1 query loops.
★ 3,580repo stars
pdoc rule This rule sets conventions for Python docstrings and type hints used with pdoc. Apply it when you want a consistent description of a project’s public API.
★ 3,580repo stars
pandas rule A Cursor rule that steers the agent toward vectorized pandas: no row loops, explicit .loc and .iloc, lean dtypes. Useful when generated code runs slow on big frames.
★ 3,580repo stars
opencv-python rule Cursor rule enforcing fast, vectorized computer vision pipelines in Python. It stops nested pixel loops and prevents common OpenCV pitfalls.
★ 3,580repo stars
openai rule This Cursor rule guides OpenAI API work, from Python client setup to prompt structure. Use it when building or maintaining an API-backed project.
★ 3,580repo stars
nuxt rule A Cursor rule that keeps the agent writing Nuxt the conventional way: folder layout, Composition API, Pinia, useFetch. Useful once the agent starts reaching for mixins and onMounted.
★ 3,580repo stars
numpy rule Guides Cursor to write vectorized NumPy code without Python loops. Enforces explicit dtypes, modular functions, and optional CuPy GPU acceleration.
★ 3,580repo stars
numba rule This rule guides Numba-based Python work across CPU and CUDA paths. Use it when numerical code needs clear JIT structure and explicit device handling.
★ 3,580repo stars
notion-api rule A Cursor rule that shapes how your agent writes Notion API code: separate modules, tokens from environment variables, official SDKs, paginated queries.
★ 3,580repo stars
nose2 rule Cursor rule setting up nose2 testing standards, pyproject.toml configuration, and coverage reporting for Python projects.
★ 3,580repo stars
nltk rule A Cursor rule for Python NLTK work, covering modular NLP code, typed functions, guarded data downloads, and tokenizer choices.
★ 3,580repo stars
nginx rule A Cursor rule that sets how NGINX configs get written: modular includes, modern TLS, caching and rate limits. Useful when the agent edits your nginx.conf.
★ 3,580repo stars
next-js rule Enforces Next.js App Router conventions in Cursor: defaults to Server Components, organizes code by feature, and restricts client boundaries.
★ 3,580repo stars
netlify rule This Cursor rule guides Netlify build and deployment setup, secret handling, testing, and accessibility checks. Use it when reviewing a Jamstack project’s deployment workflow.
★ 3,580repo stars
nestjs rule A Cursor rule that sets NestJS project structure: feature modules, explicit types, validated DTOs and global exception filters.
★ 3,580repo stars
neo4j rule Enforces Cypher 25 query conventions and graph schema modeling standards in Neo4j, focusing on parameterization, index usage, and strict casing.
★ 3,580repo stars
mypy rule This rule guides mypy configuration and Python annotations. Use it when you want type issues caught before your code runs.
★ 3,580repo stars
mongodb rule A Cursor rule that tells the agent how to model, query and index MongoDB. Keeps it from reaching for $lookup and unbounded arrays by default.
★ 3,580repo stars
modal rule Guides Cursor to follow best practices when writing Modal apps, helping you tune GPU allocations, build custom images, and store model weights efficiently.
★ 3,580repo stars
mockito rule This rule guides Java unit tests written with Mockito and JUnit 5, from mock setup to argument checks. Use it when an agent creates or edits tests.
★ 3,580repo stars
mobx rule A Cursor rule that lays out MobX state in React: one RootStore, explicit observables, and observer only on leaf components.
★ 3,580repo stars
mlx rule Guides Cursor to write high-performance Apple Silicon code with MLX, enforcing modular structure, unified memory usage, and explicit lazy evaluation.
★ 3,580repo stars
mkdocs rule Sets conventions for MkDocs documentation with the Material theme. Use it to organize page navigation and catch issues before building the site.
★ 3,580repo stars
microsoft-teams rule A Cursor rule with opinionated practices for Microsoft Teams apps: project structure, Fluent UI, Adaptive Cards and Microsoft Graph.
★ 3,580repo stars
maven rule Guides Cursor to generate clean Maven build configurations and enforce narrow dependency scopes across Java projects.
★ 3,580repo stars
81–120 of 240