Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

FastAPI Expert

Skill Verifiziert Aktiv

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.

Zweck

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.

Funktionen

  • 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

Anwendungsfälle

  • 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.

Nicht-Ziele

  • Building non-Python APIs.
  • Using synchronous Python frameworks.
  • Implementing basic synchronous database operations.
  • Providing generic API security advice outside the context of FastAPI/Python.

Workflow

  1. Analyze requirements for API endpoints, data models, and authentication needs.
  2. Design Pydantic V2 schemas for data validation.
  3. Implement asynchronous API endpoints using FastAPI and dependency injection.
  4. Secure the API with authentication, authorization, and rate limiting.
  5. Write asynchronous tests using pytest and httpx.
  6. Verify OpenAPI documentation at /docs.

Praktiken

  • API Design
  • Asynchronous Programming
  • Data Validation
  • Authentication
  • Database Operations
  • Code Testing

Voraussetzungen

  • Python 3.7+
  • FastAPI framework
  • Pydantic V2
  • SQLAlchemy
  • asyncio

Installation

Zuerst Marketplace hinzufügen

/plugin marketplace add jeffallan/claude-skills
/plugin install claude-skills@fullstack-dev-skills

Qualitätspunktzahl

Verifiziert
98 /100
Analysiert 1 day ago

Vertrauenssignale

Letzter Commit13 days ago
Sterne9k
LizenzMIT
Status
Quellcode ansehen

Ähnliche Erweiterungen

Python Best Practices

99

Python/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.

Skill
spartan-stratos

Google Docs

100

Interact 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.

Skill
sanjay3290

Python Api Endpoint Creator

99

Creates 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.

Skill
spartan-stratos

Pydantic Validation

99

Python 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.

Skill
bobmatnyc

Sqlalchemy Orm

75

SQLAlchemy Python SQL toolkit and ORM with powerful query builder, relationship mapping, and database migrations via Alembic

Skill
bobmatnyc

X Twitter Scraper

100

Verwenden Sie dies, wenn der Benutzer X (Twitter)-Daten oder durch Bestätigung gesicherte X-Aktionen über Xquik benötigt: Tweet-Suche, Benutzer-Lookup, Follower-Extraktion, Mediendownload, Überwachung, Webhooks, MCP, SDKs, Posting, Likes, DMs und Profilaktualisierungen. Erfordert einen Xquik API-Schlüssel. Fordern Sie niemals X-Login-Materialien an.

Skill
Xquik-dev