What problem does it solve?
This Skill prevents common FastAPI implementation mistakes by enforcing secure, validated, and production-ready patterns for JARVIS FastAPI services.
Core Features & Use Cases
- Async API architecture: Establishes safe application setup, lifespan handling, and robust error handling for async endpoints.
- Strict input validation with Pydantic: Defines patterns for request/response schemas using strict types, validators, and safe serialization.
- Security-first defaults: Provides guidance for auth requirements, ownership/role checks, strict CORS, rate limiting, and mitigations against injection and resource-exhaustion issues.
- WebSocket-ready patterns: Supports WebSocket communication patterns alongside REST CRUD flows and Pydantic modeling.
Quick Start
Use the fastapi skill to generate a FastAPI router with secured CRUD endpoints, strict Pydantic request/response models, strict CORS configuration, and rate limiting for the auth and API routes you’re implementing.