FastAPI Expert
技能 已验证 活跃Use when building high-performance async Python APIs with FastAPI and Pydantic V2. Invoke to create REST endpoints, define Pydantic models, implement authentication flows, set up async SQLAlchemy database operations, add JWT authentication, build WebSocket endpoints, or generate OpenAPI documentation. Trigger terms: FastAPI, Pydantic, async Python, Python API, REST API Python, SQLAlchemy async, JWT authentication, OpenAPI, Swagger Python.
To guide developers in building robust, high-performance, and secure asynchronous Python APIs using FastAPI and Pydantic V2, covering the full development lifecycle from schema design to deployment.
功能
- Create REST endpoints with FastAPI
- Define Pydantic V2 validation schemas
- Implement JWT authentication and authorization
- Set up async SQLAlchemy database operations
- Build WebSocket endpoints
- Generate OpenAPI documentation
使用场景
- Building new async Python APIs with FastAPI.
- Refactoring existing APIs to use FastAPI and Pydantic V2.
- Implementing secure authentication flows for Python APIs.
- Setting up robust data validation using Pydantic models.
- Integrating async database operations with SQLAlchemy.
非目标
- Building non-Python APIs.
- Using synchronous Python frameworks.
- Implementing basic synchronous database operations.
- Providing generic API security advice outside the context of FastAPI/Python.
工作流
- Analyze requirements for API endpoints, data models, and authentication needs.
- Design Pydantic V2 schemas for data validation.
- Implement asynchronous API endpoints using FastAPI and dependency injection.
- Secure the API with authentication, authorization, and rate limiting.
- Write asynchronous tests using pytest and httpx.
- Verify OpenAPI documentation at /docs.
实践
- API Design
- Asynchronous Programming
- Data Validation
- Authentication
- Database Operations
- Code Testing
先决条件
- Python 3.7+
- FastAPI framework
- Pydantic V2
- SQLAlchemy
- asyncio
安装
请先添加 Marketplace
/plugin marketplace add jeffallan/claude-skills/plugin install claude-skills@fullstack-dev-skills质量评分
已验证类似扩展
Python Best Practices
99Python/FastAPI coding standards including async patterns, Pydantic v2, SQLAlchemy 2.0, and project structure. Use when writing Python code, reviewing FastAPI projects, or learning FastAPI conventions.
Google Docs
100Interact with Google Docs - create documents, search by title, read content, and edit text. Use when user asks to: create a Google Doc, find a document, read doc content, add text to a doc, or replace text in a document. Lightweight alternative to full Google Workspace MCP server with standalone OAuth authentication.
Python Api Endpoint Creator
99Creates FastAPI endpoints with layered architecture (Router → Service → Repository). Use when creating new API endpoints, CRUD operations, or scaffolding a new domain module in a FastAPI project.
Pydantic Validation
99Python data validation using type hints and runtime type checking with Pydantic v2's Rust-powered core for high-performance validation in FastAPI, Django, and configuration management.
Sqlalchemy Orm
75SQLAlchemy Python SQL toolkit and ORM with powerful query builder, relationship mapping, and database migrations via Alembic
X Twitter Scraper
100当用户需要通过 Xquik 获取 X (Twitter) 数据或执行需要确认的 X 操作时使用:推文搜索、用户查找、关注者提取、媒体下载、监控、Webhook、MCP、SDK、发布、点赞、私信和个人资料更新。需要 Xquik API 密钥。切勿索要 X 登录凭据。