Python FastAPI .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-python-fastapiBasic FastAPI guidance with good folder structure but lacks actionable trigger conditions and execution steps
fastapi_best_practices = [ "Use Pydantic models for request and response schemas", "Implement dependency injection for shared resources", "Utilize async/await for non-blocking operations", "Use path operations decorators (@app.get, @app.post, etc.)", "Implement proper error handling with HTTPException", "Use FastAPI's built-in OpenAPI and JSON Schema support", ]
folder_structure = """ app/ main.py models/ schemas/ routers/ dependencies/ services/ tests/ """
additional_instructions = """
Install via CLI
npx mdskills install PatrickJS/cursor-python-fastapiPython FastAPI is a free, open-source AI agent skill. Python FastAPI .cursorrules
Install Python FastAPI with a single command:
npx mdskills install PatrickJS/cursor-python-fastapiThis downloads the skill files into your project and your AI agent picks them up automatically.
Python FastAPI works with Cursor. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.