About
This skill provides a comprehensive, four-phase methodology for troubleshooting FastAPI applications, addressing the specific complexities of Starlette and Pydantic integrations. It guides users through resolving common but tricky issues such as 422 Unprocessable Entity errors, async event loop blocking, CORS configuration mishaps, and database session management. Whether you are facing circular imports on startup or unhandled 500 errors in production, this skill offers structured patterns and code-level examples to identify root causes and implement production-ready fixes using tools like Uvicorn logging, pdb, and custom middleware.