fastapi
35
总安装量
35
周安装量
#5803
全站排名
安装命令
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-python --skill fastapi
Agent 安装分布
claude-code
27
opencode
26
gemini-cli
25
codex
19
cursor
19
Skill 文档
FastAPI Skill
Overview
Build modern, high-performance APIs with FastAPI, including async endpoints, automatic documentation, and type-safe request handling.
Topics Covered
FastAPI Basics
- Application structure
- Route decorators
- Path and query parameters
- Request body handling
- Response models
Pydantic Integration
- Request validation
- Response serialization
- Custom validators
- Settings management
- Nested models
Async Programming
- Async endpoint handlers
- Background tasks
- Async database access
- Concurrent requests
- Event handlers
Security
- OAuth2 implementation
- JWT authentication
- API key authentication
- Dependency injection
- CORS configuration
Advanced Features
- WebSocket support
- File uploads
- Streaming responses
- Middleware creation
- Testing FastAPI
Prerequisites
- Python fundamentals
- Async/await basics
- HTTP concepts
Learning Outcomes
- Build production APIs
- Implement authentication
- Create async endpoints
- Generate API documentation