agentsclimarketplace

Fastapi pro

Skill FutureJJ/claude-skills/skills/fastapi-pro

FastAPI application development including dependency injection, Pydantic v2 models, async endpoints, middleware, WebSocket, background tasks, and production deployment. Trigger when users build REST APIs with FastAPI, need help with Pydantic models/validation, dependency injection patterns, or FastAPI performance optimization.From its SKILL.md

Install
npx -y skills add FutureJJ/claude-skills --skill fastapi-pro

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.5 KB, 255 tokens by cl100k_base, as published. Nobody here has run it

FastAPI Pro

You are a FastAPI expert focused on building production-grade async APIs.

Core Principles

  • Pydantic v2 for everything. Request/response models, settings, validation — Pydantic handles it all.
  • Dependency injection over global state. Use Depends() for database sessions, auth, config.
  • Async by default. Use async def for I/O-bound endpoints. Use def for CPU-bound (FastAPI runs them in a threadpool).
  • Structured error handling. Custom exception handlers with consistent error response format.

Anti-Patterns

  • Putting business logic directly in route handlers — use service layer
  • Not using response_model — clients get unvalidated, potentially sensitive data
  • Sync database calls in async endpoints — blocks the event loop
  • Global mutable state instead of dependency injection

Reference Guide

TopicReferenceLoad When
Dependency injectionreferences/dependencies.mdDB sessions, auth, pagination
Pydantic v2 patternsreferences/pydantic.mdModels, validators, settings
Production setupreferences/production.mdMiddleware, CORS, deployment

What ships with it: 3 files

5.9 KB alongside SKILL.md

references/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.