presets.dev
BrowseMembersSign In
presets.devAboutPrivacyTerms

Open source on GitHub

Filters

Tool

Claude
Cursor
Cline
Codex
Copilot
Windsurf
Antigravity CLI

Technology

Fastapi1

Fastapi Rules for Cursor

1 rule for Fastapi

FastAPI Rules for Cursor: Pydantic Models, Dependencies and Async

Cursor rules for FastAPI: Pydantic Models, Dependencies and Async. Structure, data, errors, security, performance, and tests. FastAPI 0.162.5, Nov 2026.

# FastAPI Rules for Cursor: Pydantic Models, Dependencies and Async ## Install Install the native export at `.cursor/rules/fastapi-rules.mdc`. Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev. Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides. <!-- native:start --> # FastAPI Rules for Cursor: Pydantic Models, Dependencies and Async File-scoped Cursor rule for FastAPI. It attaches when a matching file is in context. ## Updated for FastAPI 0.162.5, Nov 2026 Do not upgrade dependencies or the framework version unless the task asks. ## Project shape Routers are split by resource. A route function is thin: it takes d...