LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

fastapi-patterns - Apply production-grade FastAPI development patterns

Covers FastAPI project structure, Pydantic v2 schemas, dependency injection, async handlers, authentication, authorization, transactional services, and testing.

Tags

Updated: 2026-09-30

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Design project structure
  • Define Pydantic v2 schemas
  • Configure dependency injection
  • Implement async handlers
  • Secure authentication and authorization
  • Manage transactional services
  • Test with httpx and pytest

Inputs

  • FastAPI project code
  • Environment settings
  • Database connection
  • API request payloads
  • Authentication credentials

Outputs

  • FastAPI application code
  • Validated API schemas
  • Authenticated API responses
  • Database transaction changes
  • Pytest test results

Requirements

  • Python environment
  • FastAPI
  • Pydantic v2
  • pydantic-settings
  • Async SQLAlchemy
  • JWT and password-hashing libraries
  • httpx and pytest for testing

Source

  • Spec: SKILL.md
FastAPI
Python
Pydantic
async APIs
authentication
authorization
testing
Design project structure
Define Pydantic v2 schemas
Configure dependency injection
Implement async handlers
FastAPI project code
Environment settings
Database connection
FastAPI application code
Validated API schemas
Authenticated API responses