What problem does it solve?
Backend FastAPI skill provides a production-ready blueprint for building a secure, multi-tenant FastAPI backend with SQLAlchemy 2.0 async support and PostgreSQL, ensuring data isolation and reliable money arithmetic.
Core Features & Use Cases
- AUTO-TRIGGER rules to detect backend code patterns and migrations, enabling rapid, safe integration.
- The seven hard rules enforce: shop_id filtering on all queries, decimal money handling, async HTTP calls via httpx, atomic stock updates, strict order state transitions, JWT authentication with role checks, and environment-based config via Settings.
- Patterns such as lazy loading optimizations, safe Alembic migrations, AI gateway integration, Celery background tasks, and robust error handling for production-grade apps.
- Typical use cases include building secure, scalable multi-tenant SaaS backends with strong data isolation, predictable money arithmetic, and maintainable deployment practices.
Quick Start
Drop this skill into your project and follow the auto-trigger and rules to bootstrap a secure, multi-tenant FastAPI backend.