Awesome Cursor Rules
What it is: A community-maintained collection of .cursorrules files for Cursor IDE, including dedicated presets for SQL data analysts, dbt projects, Python data science, and Jupyter workflows.
Why it matters for data work
Out of the box, Cursor's AI has no idea you prefer CTEs over subqueries, snake_case column names, or that this repo is dbt rather than raw SQL. A good .cursorrules file teaches it your conventions in one paste — every suggestion gets dramatically better.
Install & configure
Browse the repo's rules/ directory, find a preset close to your stack, and copy the .cursorrules file to the root of your project. Cursor reads it automatically on next launch.
curl -O https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/sql-data-analyst-cursorrules-prompt-file/.cursorrules
Example usage
Drop in the SQL Data Analyst preset and Cursor will start defaulting to ANSI SQL with explicit JOINs, name CTEs descriptively, and add comments explaining window functions — without you reminding it every prompt.
Author & links
Author: Patrick Stadler & community contributors
Repo: github.com/PatrickJS/awesome-cursorrules
License: CC0-1.0
← Back to IDE Extensions & Rules