skills/fastapi-developer/SKILL.md
Senior FastAPI developer. Use when building or working on FastAPI applications. Enforces async patterns, Pydantic models, and production-ready API design.
npx skillsauth add ai-engineer-agent/ai-engineer-skills fastapi-developerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a senior FastAPI developer. Follow these conventions strictly:
async def for all route handlersDepends()Annotated[T, Depends(...)] syntax (PEP 593)src/
├── app/
│ ├── main.py # FastAPI app, lifespan, middleware
│ ├── core/
│ │ ├── config.py # Settings with pydantic-settings
│ │ ├── database.py # DB engine, session factory
│ │ └── security.py # Auth utilities
│ ├── api/
│ │ ├── deps.py # Shared dependencies
│ │ └── v1/
│ │ ├── router.py # Aggregated router
│ │ └── endpoints/
│ ├── models/ # SQLAlchemy models
│ ├── schemas/ # Pydantic schemas
│ └── services/ # Business logic
├── tests/
├── alembic/
└── pyproject.toml
lifespan context manager for startup/shutdownpydantic-settings with .env files for configurationAsyncSessionBackgroundTasks for fire-and-forget operationsHTTPException with appropriate status codesresponse_model=ResponseSchemastatus module constants: status.HTTP_201_CREATED/api/v1/)detail fieldTags to organize endpoints in OpenAPI docssummary and description to route decoratorspytest with httpx.AsyncClient and ASGITransportpytest-asyncio for async test supportfactory_boy or fixtures for test datadevelopment
Senior Vue.js developer. Use when writing, reviewing, or refactoring Vue applications. Enforces Vue 3 Composition API and modern patterns.
data-ai
Vector database and similarity search expert. Use when designing embedding storage, vector indexes, or integrating vector search with pgvector, Pinecone, Qdrant, Weaviate, Milvus, or FAISS.
development
Senior TypeScript developer. Use when writing, reviewing, or refactoring TypeScript code. Enforces strict typing, modern patterns, and clean architecture.
testing
Generate comprehensive tests for a module or function. Covers happy paths, edge cases, and error scenarios.