Databases Cursor rules

866 tagged Databases, measured the same way as everything else here.

Browse within: cursor 116orm 99prisma 99javascript 94nodejs 94cursorrules 62nextjs 42cursor-ai 30cursor-rules 30ai-coding 27postgresql 21access 16hpc 16metrics 16

migration

73

muraaano/cursor-project-rules-on-rails

Cursor rule Cursor

A set of Rails database-migration rules covering file locations, names, table columns, foreign keys, and comments. Database migrations are versioned files that change an application's data structure.

not rated 2 1y ago A 0 tokens original MIT

convex-ents

76

Omed0/convex-selfhost-starterkit

Cursor rule Cursor

Convex Ents are an ergonomic layer on top of the Convex built-in ctx.db API for reading from and writing to the database.

not rated 2 1y ago A 0 tokens

backend

78

sowee121/xx-chat-ai

Cursor rule Cursor

Backend development rules for XX Chat AI using Fastify, server-sent events, provider integrations, and SQLite. Server-sent events are a way to stream updates from a server to a browser.

not rated 2 2mo ago A 0 tokens

cockroachdb/cursor-plugin

Cursor rule Cursor ✓ vendor

Application-level best practices and anti-patterns when building applications on CockroachDB. Covers transaction retry logic, ORM configuration, schema design, connection management, online DDL, batching, session guardrails, and multi-region patterns. Based on real-world production patterns from…

not rated 2 changed 1mo ago A 0 tokens original Apache-2.0

convex_rules

80

rastermanden/naturklubben

Cursor rule Cursor

Guidelines and best practices for building Convex projects, including database schema design, queries, mutations, and real-world examples.

not rated 2 today A 0 tokens

general

81

araa47/jupiter-mcp

Cursor rule Cursor

Cursor rule "general" from araa47/jupiter-mcp, covering cursor rules for python & clickhouse development, dependency management, python development standards, clickhouse integration and general guidelines.

not rated 1 22d ago A 205 tokens

graph-query

85

aiuluna/knowledge-graph-mcp

Cursor rule Cursor

A rule that triggers knowledge-graph queries when the user enters the `/ck` command. A knowledge graph is a connected record of components, relationships, requirements, and project history.

not rated 1 1y ago A 1,318 tokens original MIT

best-practices

86

ofershap/drizzle-best-practices

Cursor rule Cursor

Drizzle ORM Best Practices - enforces current best practices when working with Drizzle ORM code.

not rated 1 +1 9mo ago A 114 tokens original MIT

mcp-protocol

87

obiwan90/mcp-server-edgedb

Cursor rule Cursor

Rules for using the Model Context Protocol, a standard that lets AI models interact with external tools and resources. In this project, those tools provide access to an EdgeDB database, which stores application data.

not rated 0 1y ago A 0 tokens

project_structure

88

izaqyos/toyMCP

Cursor rule Cursor

This is a simple example server implementing a To-Do list CRUD API using the Model Context Protocol (MCP) concepts, specifically using JSON-RPC 2.0 over HTTP. It uses Node.js, Express, and PostgreSQL (via Docker) for persistence.

not rated 0 1mo ago A 0 tokens

Kenlan2022/mcp_servers_showcase

Cursor rule Cursor

Cursor rule "database-server-rules" from Kenlan2022/mcp_servers_showcase, covering database server specific development rules, core database operations, async database operations, sql query security and dangerous sql patterns to detect.

not rated 0 1y ago A 0 tokens original MIT

db-hub-mcp-rule

90

CHOIJun-0613/mysql-hub-mcp

Cursor rule Cursor

A Cursor rule for using db hub MCP in a MySQL project. Cursor is a coding editor with an AI assistant, and the rule covers displaying query results, choosing how to run SQL, and using written SQL before natural-language queries.

not rated 0 1y ago A 0 tokens

mcp

91

mcpflow/neon-mcp

Cursor rule Cursor

This is a Model Control Protocol (MCP) server that is a minimal wrapper that exposes a few endpoints from the Neon REST API as MCP tools so AI agents can use them.

not rated 0 1y ago A 718 tokens original MIT

04-dpo-mappings

92

sfc-gh-cconner/support-rules-mcp

Cursor rule Cursor

PURPOSE: Authoritative mapping of Snowflake Data Persistence Objects (DPOs) to Snowhouse ETL views.

not rated 0 1y ago A 4,880 tokens original Apache-2.0

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: