fastapi-templates

Generate a FastAPI project template with async SQLAlchemy and JWT authentication.

1|Updated Aug 13, 2022
One-click install
npx skills add https://github.com/sskim91/dotfiles --skill fastapi-templates-sskim91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fastapi-templates
Source: https://github.com/sskim91/dotfiles/tree/main/claude/skills/fastapi-templates
Command: npx skills add https://github.com/sskim91/dotfiles --skill fastapi-templates-sskim91

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fastapi, uvicorn, sqlalchemy, pydantic, pydantic-settings, asyncpg, python-jose, passlib, pytest, httpx, pytest-asyncio, supertest, and includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides production-ready templates and best practices for building high-performance FastAPI applications, streamlining development with structured project layouts, async patterns, and robust error handling.

Core Features & Use Cases

  • Project Structure: A recommended layout for scalable FastAPI applications, separating concerns into API, core, models, schemas, services, and repositories.
  • Async Database Integration: Implement async/await with SQLAlchemy for non-blocking database operations.
  • Authentication & Authorization: Secure APIs using JWT-based authentication and FastAPI's dependency injection.
  • Use Case: Start a new backend project for a mobile application. Use this Skill to generate a complete FastAPI project structure with user authentication, a CRUD repository, and a service layer, saving days of setup.

Quick Start

Generate a production-ready FastAPI project template with a recommended directory structure, including async database setup and basic user authentication.