$npx skillfedfor your agent

fastapi-templates

This skill provides structured project templates for FastAPI applications, covering directory organization, configuration management, and async database integration. It includes patterns for dependency injection, CRUD repositories, and service layers to establish a scalable foundation for backend API development.

fastapi-templates helps you set up new FastAPI projects with production-ready architecture, async patterns, and dependency injection.

AI-generated summary based on this skill's SKILL.md

86 12 MITupdated by HermeticOrmus

Decision gist · record as of 2026-05-27

fastapi-templates helps you set up new FastAPI projects with production-ready architecture, async patterns, and dependency injection. This skill provides structured project templates for FastAPI applications, covering directory organization, configuration management, and async database integration. It includes patterns for dependency injection, CRUD repositories, and service layers to establish a scalable foundation for backend API development.

manual: git clone https://github.com/HermeticOrmus/LibreUIUX-Claude-Code → cp -r LibreUIUX-Claude-Code/plugins/api-scaffolding/skills/fastapi-templates ~/.claude/skills/fastapi-templates
plugins/api-scaffolding/skills/fastapi-templates/SKILL.md · version 4e4db770

Use it when

  • fastapi-templates demonstrates async database operations and dependency injection patterns essential for high-performance APIs.
  • fastapi-templates includes repository and service layer patterns that abstract database operations.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

HermeticOrmus/LibreUIUX-Claude-Code/fastapi-templates · repository language: Shell

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I structure a FastAPI application?

fastapi-templates provides a structured project layout for FastAPI applications that organizes code into logical layers. The template includes directories for routes, services, repositories, schemas, and models, following production-ready architecture patterns. This organization supports scalability and maintainability as your API grows, with clear separation between business logic, data access, and request handling.

What async patterns does fastapi-templates include?

fastapi-templates demonstrates async database operations and dependency injection patterns essential for high-performance APIs. The templates show how to use SQLAlchemy's async engine, manage database sessions efficiently, and implement async/await throughout your application. These patterns enable FastAPI to handle concurrent requests effectively while maintaining clean, readable code.

How do I use the CRUD repository pattern in fastapi-templates?

fastapi-templates includes repository and service layer patterns that abstract database operations. The repository pattern encapsulates CRUD logic in dedicated classes, while the service layer handles business rules. This separation makes your code testable, reusable, and easier to maintain. The templates show concrete examples of implementing these patterns with async database access.

Does fastapi-templates include authentication and error handling?

fastapi-templates covers authentication using JWT tokens and provides middleware for centralized error handling. The templates demonstrate how to implement authorization checks, validate user credentials, and handle exceptions gracefully. These production-ready patterns help secure your API and provide consistent error responses to clients.

What is included in fastapi-templates for production setup?

fastapi-templates is a production-ready boilerplate that covers project initialization, configuration management, and best practices setup. It includes dependency injection configuration, async database integration with PostgreSQL, structured logging, and middleware setup. The template provides a solid foundation for building scalable backend APIs without starting from scratch.

Can I use fastapi-templates for testing my endpoints?

fastapi-templates includes testing patterns for endpoints and business logic using pytest. The templates demonstrate how to write unit tests for services, integration tests for API routes, and how to mock dependencies. These examples help you establish a testing foundation for your FastAPI application from the start.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

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 │ └──

(truncated - see the full file via the links below)

File tree — 1 file
plugins/api-scaffolding/skills/fastapi-templates/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Set up a new FastAPI project with production architecture and best practices”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

fastapi-patterns
by affaan-m · affaan-m/ECC

Master production-grade FastAPI development through organized project layouts, Pydantic v2 validation, dependency injection patterns, and async request handling. This skill covers authentication, authorization, transactional service layers, and testing strategies to build scalable applications.

MITupdated Jul 2026
★ 234,207repo stars
Fastapi Expert
by martinholovsky · martinholovsky/claude-skills-generator

FastAPI Expert provides deep guidance on building production-grade Python web APIs with async/await, type-safe validation, and security best practices. Get help implementing authentication systems, optimizing database operations, and defending against OWASP vulnerabilities.

Unlicenseupdated Dec 2025
★ 45repo stars
fastapi-templates
by wshobson · wshobson/agents

fastapi-templates provides structured blueprints for launching FastAPI applications with async/await patterns, built-in dependency injection, and organized layouts for routes, models, and business logic. Start new projects with proper separation of concerns and testing infrastructure already in place.

MITupdated Jul 2026
★ 38,308repo stars
Fastapi Coder
by majesticlabs-dev · majesticlabs-dev/majestic-marketplace

FastAPI Coder generates production-grade API endpoints using async/await, type-safe Pydantic models, and dependency injection. It structures projects with clear separation between routes, services, and repositories, plus patterns for authentication, testing, and database integration.

no license declared → metadata onlyupdated May 2026
★ 44repo stars
python-fastapi
by JosiahSiegel · JosiahSiegel/claude-plugin-marketplace

python-fastapi guides you through architecting enterprise-grade FastAPI applications with proven patterns for project layout, schema validation, dependency injection, and authentication. It covers async database integration with SQLAlchemy, JWT security, Docker containerization, and testing strategies to ensure your API runs reliably in production.

MITupdated Jun 2026
★ 49repo stars
supabase-python
by alinaqi · alinaqi/maggy

This skill teaches FastAPI development using Supabase for authentication and storage, paired with SQLAlchemy or SQLModel for database operations. It covers project structure, async session management, JWT validation, and API routes for signup and signin workflows.

MITupdated Jul 2026
★ 703repo stars

More skills Fastapi (unlicensed) · Fastapi Microservices Development (unlicensed) · fastapi-expert (MIT) · fastapi-patterns (Apache-2.0) · Python Backend Expert (unlicensed) · error-handling-patterns (MIT)

Tags
project-scaffoldinglayered-architectureasync-databasejwt-authrepository-patternservice-orientedtype-safetyrest-api-designtesting-frameworkproduction-ready