$ skilldirectory
— zsh — registry.skilldirectory.dev
skill library blog

home / API & Integrations / Fastapi Templates Skill by @wshobson

Fastapi Templates Skill by @wshobson

FREE
github stars★ 42,243updatedOct 2026repo@wshobson
$git clone https://github.com/wshobson/agents

The skill is the plugins/api-scaffolding/skills/fastapi-templates folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.

Read the opening of the original SKILL.md
# FastAPI Project Templates

Production-ready FastAPI project structures with async patterns, dependency injection, middleware, and best practices for building high-performance APIs.

## When to Use This Skill

- Starting new FastAPI projects from scratch
- Implementing async REST APIs with Python
- Building high-performance web services and microservices
- Creating async applications with PostgreSQL, MongoDB
- Setting up API projects with proper structure and testing

## Core Concepts

### 1. Project Structure

**Recommended Layout:**

```
app/
├── api/                    # API routes
│   ├── v1/
│   │   ├── endpoints/
│   │   │   ├── users.py
│   │   │   ├── auth.py
│   │   │   └── items.py
│   │   └── router.py
│   └── dependencies.py     # Shared dependencies
├── core/                   # Core configuration
│   ├── config.py
│   ├── security.py
│   └── database.py
├── models/                 # Database models
│   ├── user.py
│   └── item.py
…

Excerpt only, quoted from the author's repository. Open the repository for the complete file.