python-dev
Installation
SKILL.md
Iron Law
NO FASTAPI ENDPOINT WITHOUT A PYDANTIC v2 INPUT MODEL — never trust raw request data; validate at the boundary, always
Python 3.14 Development Skill
Code Conventions
- Use Python 3.14 with type hints everywhere
- FastAPI for REST APIs, Pydantic v2 for validation
- Async by default:
async defendpoints,asyncpgfor PostgreSQL - Use
uvfor package management,rufffor linting,mypyfor types - Folder structure:
api/routes/ → services/ → repositories/ → models/ - Tests: pytest + pytest-asyncio + httpx