Databases Cursor rules

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

Browse within: cursor 113orm 99prisma 98javascript 94nodejs 94cursorrules 61nextjs 31cursor-ai 29cursor-rules 29ai-coding 27postgresql 20access 16hpc 16metrics 16

prisma/orm

Cursor rule Cursor ✓ vendor

Prefer assertions over defensive checks when data is guaranteed to be valid.

not rated 48k +5 changed today A 0 tokens original Apache-2.0

agentic-loop

03

prest/prest

Cursor rule Cursor needs its repo

Follow this loop on every development task in this repository. For full conventions, architecture, and examples, see @.github/copilot-instructions.md (source of truth). This rule distills the workflow; do not duplicate that document.

not rated 4.6k +1 changed 7d ago A 2,115 tokens original MIT

architecture

04

groupultra/telegram-search

Cursor rule Cursor

A service for importing and exporting Telegram messages in a database, with text search and meaning-based search. Meaning-based search uses OpenAI-generated text vectors to find related messages.

not rated 4.1k +8 3d ago A 2,756 tokens AGPL-3.0

data-engineer

05

SynkraAI/aiox-core

Cursor rule Cursor

AIOX agent @data-engineer - Database Architect & Operations Engineer.

not rated 3.1k +3 yesterday A 14 tokens

chdb

06

chdb-io/chdb

Cursor rule Cursor

See CONTRIBUTING.md for the full contributor guide, including the crash-diagnosis rule (always capture the stack trace before changing code on SIGSEGV / SIGABRT / SIGFPE / SIGILL / SIGBUS / SIGSYS).

not rated 2.9k +2 3d ago A 78 tokens original Apache-2.0

timescale/pg-aiguide

Cursor rule Cursor

Use the pg-aiguide tools and skills when working with PostgreSQL, TimescaleDB, or Tiger Cloud databases.

not rated 1.9k +7 changed 8d ago A 0 tokens original Apache-2.0

cursorrules

08

qinshihu/itops-agent-platform

Cursor rule Cursor

ITops Agent is a one-stop intelligent ops platform. Stack: Node.js + Express + TypeScript + SQLite (backend) / React + Vite + Ant Design + Tailwind (frontend). DDD modules: 24 backend modules + 23 frontend modules. See .trae/rules/architecture.md §1.2.

not rated 941 +1 4d ago A 1,432 tokens

memory

09

matrixorigin/memoria

Cursor rule Cursor

USE WHEN working with Memoria memory tools - storing, retrieving, correcting, purging memories.

not rated 614 +4 yesterday A 2,700 tokens original Apache-2.0

moon

10

dxos/dxos

Cursor rule

Building or testing packages in the monorepo.

not rated 527 today A 10 tokens

thing

11

burugo/one-mcp

Cursor rule Cursor

Cursor rule "thing" from burugo/one-mcp, covering rule name: thing orm usage guide, description, core concept, configuration and basic usage.

not rated 418 +1 1mo ago A 2,541 tokens original MIT

database

12

maccman/ai-monorepo-scaffold

Cursor rule Cursor

Cursor rule "database" from maccman/ai-monorepo-scaffold, covering database, commands, create a new migration, using kysely type helpers and handling jsonb types.

not rated 304 11mo ago A 1,242 tokens original MIT

Kilo-Org/kilo-marketplace

Cursor rule Cursor

Route Snowflake queries to the cortex-code skill for specialized Snowflake expertise via Cortex Code CLI.

not rated 194 +4 17d ago A 425 tokens original Apache-2.0

wasp-lang/vibe-coding-video

Cursor rule Cursor

This document covers how Wasp interacts with the database using Prisma, defines Wasp Entities, and explains the rules for creating and using Wasp Operations (Queries and Actions).

not rated 192 1y ago A 1,914 tokens

write-migration

18

ctxr-dev/llm-wiki-memory

Cursor rule Cursor

Author an idempotent, state-detecting migration under scripts/migrations/ for a breaking llm-wiki-memory change. Use when shipping a breaking change to the engine, or when asked to write a migration / upgrade path. Replaces the retired release-runbook flow.

not rated 129 1mo ago A 56 tokens original MIT

atlas-hcl

19

hiromaily/go-crypto-wallet

Cursor rule Cursor

Rules for modifying HCL (HashiCorp Configuration Language) files (.hcl) in go-crypto-wallet.

not rated 127 +1 5mo ago A 0 tokens original MIT

lerd

20

liberusoftware/real-estate-laravel

Cursor rule Cursor

Lerd local PHP development environment — use the lerd MCP tools to manage sites, services, workers, and PHP/Node runtimes, and to diagnose slow sites (N+1 and slow queries, request timing, slow routes, profiling) from real traffic.

not rated 113 +1 3d ago A 8,014 tokens original MIT

cursorrules

21

SAP-samples/hana-developer-cli-tool-example

Cursor rule Cursor

Cursor rule "cursorrules" from SAP-samples/hana-developer-cli-tool-example, covering hana-cli — ai coding assistant context, about hana-cli, when to use hana-cli, key patterns and connection setup.

not rated 112 4d ago A 656 tokens original Apache-2.0

vincanger/envelope-budgeting-test

Cursor rule Cursor

This document covers how Wasp interacts with the database using Prisma, defines Wasp Entities, and explains the rules for creating and using Wasp Operations (Queries and Actions).

not rated 103 1y ago A 1,914 tokens

neon-typescript-sdk

23

neondatabase/ai-rules

Cursor rule Cursor ✓ vendor

Use these rules to manage your Neon projects, branches, databases, and other resources programmatically using the Neon TypeScript SDK.

not rated 86 4mo ago A 0 tokens original MIT archived

convex

24

waynesutton/promptstack

Cursor rule Cursor

Cursor rule "convex" from waynesutton/promptstack, covering convex guidelines, function guidelines, new function syntax, http endpoint syntax and function registration.

not rated 78 1y ago A 0 tokens original MIT

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: