python-anti-patterns

Installation
SKILL.md

In this repository

  • Python lives in backend/, services/. After edits run make format and make lint from repo root (see .cursor/commands/lint.md).
  • Async: Do not block the event loop. If blocking is required (e.g. sync RPC), use await asyncio.to_thread(blocking_func, ...); see .cursor/rules/fastapi-python-best-practices.md.
  • Response models: Use Pydantic/SQLModel response schemas (not raw ORM models). In Pydantic v2 use model_validate(orm_object), not from_orm.
  • Full context: .cursor/skills/README.md and .cursor/rules/.

Python Anti-Patterns Checklist

A reference checklist of common mistakes and anti-patterns in Python code. Review this before finalizing implementations to catch issues early.

When to Use This Skill

Installs
1
First Seen
Mar 4, 2026
python-anti-patterns — vimalkodoth/fastapi-cursor-starterkit