All examples

Python FastAPI service, .cursorrules

The FastAPI service rules as a legacy Cursor .cursorrules file: same content.

Composed from the python-fastapi rules pack. Same file from the CLI: aibysitter init --packs python-fastapi --format cursorrules

Written for this site, CC0, scored by this linter, not tested against any agent.

File
.cursorrules, 41 lines
Format
.cursorrules Legacy format
Save as
.cursorrules
Category
Python
Tags
License
CC0 1.0, public domain. No attribution needed.

Download .cursorrules Lint a copy

Aibysitter lint score

100 / 100 — A

Ruleset v4

No deductions.

Badge

Aibysitter lint score: A 100

Markdown for a README:

[![Aibysitter lint score: A 100](https://aibysitting.net/gallery/python-fastapi-cursorrules/badge.svg)](https://aibysitting.net/Gallery/python-fastapi-cursorrules)

.cursorrules

View source

Python FastAPI service

Python 3.12, FastAPI, SQLAlchemy 2.0 (async), PostgreSQL, Alembic. Dependencies and commands run through uv.

Commands

Layout

API

Money

Code style

Tests

Done